Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsEventsEventsError upgrading Events from 05.00.03 to 05.02.01 - DNN 6 (06.01.02)Error upgrading Events from 05.00.03 to 05.02.01 - DNN 6 (06.01.02)
Previous
 
Next
New Post
1/10/2012 10:13 PM
 

Hi all!

The install fails as so:
-----------------------------------------------------------------------------------------------------------
Start jobb    Starter Installering
Info    Starter Installering - DNN_Events
Info    Starter Installering - Script
Info    Start Sql-kjøringen
Info    Oppretter backup for tildligere versjoner
Info    Opprettet
Info    Utfører05.01.00.SqlDataProvider
Info    Start Sql-kjøringen: 05.01.00.SqlDataProvider filen
Feil    Sql-kjøringen årsaket følgende unntak: System.Data.SqlClient.SqlException: Cannot insert the value NULL into column 'TabID', table 'DotNetNuke_1.dbo.dnn_EventsNotification'; column does not allow nulls. UPDATE fails. The statement has been terminated. at System.Data.SqlClient.SqlConnection. (SqlException exception, Boolean breakConnection) at System.Data.SqlClient.SqlInternalConnection. (SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async) at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe) at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at DotNetNuke.Data.SqlDataProvider.ExecuteADOScript(String SQL) at DotNetNuke.Data.SqlDataProvider.ExecuteScript(String Script, Boolean UseTransactions) UPDATE dbo.dnn_EventsNotification SET TabID = (Select top 1 TabID from dbo.dnn_TabModules where ModuleID = dbo.dnn_EventsNotification.ModuleID) WHERE TabID = 1 /************************************************************/ /************************************************************/ /***** *****/ /***** Add new fields to EventsSignups table *****/ /***** *****/ /************************************************************/ /************************************************************/ /* Add NoEnrolees to EventsSignups Table */ if not exists (select * from information_schema.columns where table_name = 'dnn_EventsSignups' and column_name = 'NoEnrolees') BEGIN ALTER TABLE dbo.dnn_EventsSignups WITH NOCHECK ADD NoEnrolees INT NULL DEFAULT 1 END
Info    Avslutt Sql-kjøringen: 05.01.00.SqlDataProvider filen
Info    Fullført Sql-kjøringen
Feil    Installasjonen feilet - Script
Info    Installasjonen feilet - DNN_Events
Info    Slettet midlertidig instalasjonsmappe
Avslutt jobb    Installasjonen feilet
 ________________________________________________________

Please help with correcting this.

Regards Arnt


Arnt O. Kvannefoss Software Consult AS Microsoft Certified Partner www.SwcWeb.net www.pamelding.net www.softwareconsult.no
 
New Post
1/11/2012 4:46 AM
 

I think this means you have a deleted module instance in the recycle bin. Could you go and remove any that are there.

Preferably you should restore from back, empty the recycle bin, the re-run the upgrade. If you can't do that, let me know and I'll see if I can help.

Cheers
Roger


DNN MVP
Events - Get the latest version - Upgrade now!!
Feedback 6.4.2 - Now available - Give it a go!
Find us on Codeplex - DNN Events, DNN Feedback
Requirements/Bugs - Please submit them on Codeplex
 
New Post
1/11/2012 1:23 PM
 

Hi Roger,

I think I have now deleted all modules and pages from the recycle bin for all portals having deleted Events modules in my host install.

When I now run the two quries below they both returns zero lines.
--------------------------------------------------------------------------------------------------------
/* --- */
/* ModuleDefID for Events = 96 */
SELECT
    dnn_Modules.PortalID,
    dnn_Modules.ModuleID,
    dnn_Modules.ModuleDefID,
    dnn_Modules.IsDeleted AS ModuleDeleted,
    'http://' + dnn_PortalAlias.HTTPAlias + '/tabid/' + CONVERT(VARCHAR, dnn_Tabs.TabID) + '/Default.aspx' AS WebAddress,
    dnn_Tabs.IsDeleted AS PageDeleted
   
 FROM dnn_Modules INNER JOIN dnn_TabModules
    ON dnn_Modules.ModuleID = dnn_TabModules.ModuleID INNER JOIN dnn_Tabs
    ON dnn_TabModules.TabID = dnn_Tabs.TabID INNER JOIN dnn_Portals
    ON dnn_Tabs.PortalID = dnn_Portals.PortalID INNER JOIN dnn_PortalAlias
    ON dnn_Portals.PortalID = dnn_PortalAlias.PortalID
    
WHERE dnn_Modules.ModuleDefID = 96 and dnn_Tabs.IsDeleted = 1

ORDER BY WebAddress
----------------------------------------------------------------------------
/* --- */
/* ModuleDefID for Events = 96 */
SELECT
    dnn_Modules.PortalID,
    dnn_Modules.ModuleID,
    dnn_Modules.ModuleDefID,
    dnn_Modules.IsDeleted AS ModuleDeleted,
    'http://' + dnn_PortalAlias.HTTPAlias + '/tabid/' + CONVERT(VARCHAR, dnn_Tabs.TabID) + '/Default.aspx' AS WebAddress,
    dnn_Tabs.IsDeleted AS PageDeleted
    
 FROM dnn_Modules INNER JOIN dnn_TabModules
    ON dnn_Modules.ModuleID = dnn_TabModules.ModuleID INNER JOIN dnn_Tabs
    ON dnn_TabModules.TabID = dnn_Tabs.TabID INNER JOIN dnn_Portals
    ON dnn_Tabs.PortalID = dnn_Portals.PortalID INNER JOIN dnn_PortalAlias
    ON dnn_Portals.PortalID = dnn_PortalAlias.PortalID
    
WHERE dnn_Modules.ModuleDefID = 96 and dnn_Modules.IsDeleted = 1

ORDER BY WebAddress   
----------------------------------------------------------------------------------------

I think this should prove that there is no deleted pages with the Events module and no deleted Evnets modules on non deleted pages. Do you agreee?

I think it is to late for restoring a backup now and the the install still gives the same error.

Please help asap :)


Arnt O. Kvannefoss Software Consult AS Microsoft Certified Partner www.SwcWeb.net www.pamelding.net www.softwareconsult.no
 
New Post
1/11/2012 1:47 PM
 
If you can mail me offline at webmaster at he domain in my profile with host login details I'll investigate tomorrow. Unfortunately I am busy tonight UK time.

Cheers
Roger

DNN MVP
Events - Get the latest version - Upgrade now!!
Feedback 6.4.2 - Now available - Give it a go!
Find us on Codeplex - DNN Events, DNN Feedback
Requirements/Bugs - Please submit them on Codeplex
 
New Post
1/11/2012 8:42 PM
 

Roger, I have sent you an email

Thanks you.


Arnt O. Kvannefoss Software Consult AS Microsoft Certified Partner www.SwcWeb.net www.pamelding.net www.softwareconsult.no
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsEventsEventsError upgrading Events from 05.00.03 to 05.02.01 - DNN 6 (06.01.02)Error upgrading Events from 05.00.03 to 05.02.01 - DNN 6 (06.01.02)


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out