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

HomeHomeUsing DNN Platf...Using DNN Platf...Upgrading DNN P...Upgrading DNN P...4.9.5 to 5.6.0 Upgrade Issue4.9.5 to 5.6.0 Upgrade Issue
Previous
 
Next
New Post
12/7/2010 11:43 AM
 
I have a 4.9.5 site that I am trying to upgrade to 5.6.0. It does have the ifinity URL master which has caused issues with upgrading sites in the past. For this install, I upgraded the ifinity module to the latest version. After doing so, I made a backup of the site and performed an upgrade. I recieved the following when I did so:

---------------------------------------------

Upgrading DotNetNuke

Current Assembly Version: 05.06.00

Current Database Version: 04.09.05



Upgrade Status Report

00:00:00.031 - Upgrading to Version: 05.06.00
00:00:00.328 -   Executing Script: 05.00.00.SqlDataProvider Error! (see 05.00.00.log.resources for more information)
00:00:05.968 -   Executing Script: 05.00.01.SqlDataProvider Success
00:00:06.406 -   Executing Script: 05.01.00.SqlDataProvider Success
00:00:09.515 -   Executing Script: 05.01.01.SqlDataProvider Success
00:00:09.796 -   Executing Script: 05.01.02.SqlDataProvider Success
00:00:09.812 -   Executing Script: 05.01.03.SqlDataProvider Success
00:00:09.843 -   Executing Script: 05.01.04.SqlDataProvider Success
00:00:09.843 -   Executing Script: 05.02.00.SqlDataProvider Success
00:00:28.703 -   Executing Script: 05.02.01.SqlDataProvider Success
00:00:28.781 -   Executing Script: 05.02.02.SqlDataProvider Success
00:00:28.797 -   Executing Script: 05.02.03.SqlDataProvider Success
00:00:28.812 -   Executing Script: 05.03.00.SqlDataProvider Success
00:00:29.218 -   Executing Script: 05.03.01.SqlDataProvider Success
00:00:29.218 -   Executing Script: 05.04.00.SqlDataProvider Success
00:00:29.531 -   Executing Script: 05.04.01.SqlDataProvider Success
00:00:29.547 -   Executing Script: 05.04.02.SqlDataProvider Success
00:00:29.562 -   Executing Script: 05.04.03.SqlDataProvider Success
00:00:29.609 -   Executing Script: 05.04.04.SqlDataProvider Success
00:00:29.609 -   Executing Script: 05.05.00.SqlDataProvider Success
00:00:31.515 -   Executing Script: 05.05.01.SqlDataProvider Success
00:00:31.515 -   Executing Script: 05.06.00.SqlDataProvider Error! (see 05.06.00.log.resources for more information)
00:00:32.093 -   Executing Application Upgrades: 05.00.00 Success
00:00:39.984 -   Executing Application Upgrades: 05.00.01 Success
00:00:40.000 -   Executing Application Upgrades: 05.01.00 Error!
00:00:42.281 -   Executing Application Upgrades: 05.01.01 Success
00:00:42.344 -   Executing Application Upgrades: 05.01.02 Success
00:00:42.344 -   Executing Application Upgrades: 05.01.03 Success
00:00:42.625 -   Executing Application Upgrades: 05.01.04 Success
00:00:42.625 -   Executing Application Upgrades: 05.02.00 Success
00:00:42.750 -   Executing Application Upgrades: 05.02.01 Success
00:00:42.750 -   Executing Application Upgrades: 05.02.02 Success
00:00:42.750 -   Executing Application Upgrades: 05.02.03 Success
00:00:42.750 -   Executing Application Upgrades: 05.03.00 Error!
00:00:44.359 -   Executing Application Upgrades: 05.03.01 Success
00:00:44.359 -   Executing Application Upgrades: 05.04.00 Success
00:00:44.531 -   Executing Application Upgrades: 05.04.01 Success
00:00:44.531 -   Executing Application Upgrades: 05.04.02 Success
00:00:44.531 -   Executing Application Upgrades: 05.04.03 Success
00:00:44.547 -   Executing Application Upgrades: 05.04.04 Success
00:00:44.547 -   Executing Application Upgrades: 05.05.00 Success
00:00:44.859 -   Executing Application Upgrades: 05.05.01 Success
00:00:44.859 -   Executing Application Upgrades: 05.06.00 Error!
00:00:44.984 -   Cleaning Up Files: 05.00.00 Success
00:00:45.062 -   Cleaning Up Files: 05.00.01 Success
00:00:45.078 -   Cleaning Up Files: 05.01.00 Success
00:00:45.140 -   Cleaning Up Files: 05.01.01 Success
00:00:45.140 -   Cleaning Up Files: 05.01.02 Success
00:00:45.140 -   Cleaning Up Files: 05.01.03 Success
00:00:45.140 -   Cleaning Up Files: 05.01.04 Success
00:00:45.140 -   Cleaning Up Files: 05.02.00 Success
00:00:45.140 -   Cleaning Up Files: 05.02.01 Success
00:00:45.140 -   Cleaning Up Files: 05.02.02 Success
00:00:45.140 -   Cleaning Up Files: 05.02.03 Success
00:00:45.140 -   Cleaning Up Files: 05.03.00 Success
00:00:45.140 -   Cleaning Up Files: 05.03.01 Success
00:00:45.140 -   Cleaning Up Files: 05.04.00 Success
00:00:45.140 -   Cleaning Up Files: 05.04.01 Success
00:00:45.140 -   Cleaning Up Files: 05.04.02 Success
00:00:45.140 -   Cleaning Up Files: 05.04.03 Success
00:00:45.140 -   Cleaning Up Files: 05.04.04 Success
00:00:45.140 -   Cleaning Up Files: 05.05.00 Success
00:00:45.140 -   Cleaning Up Files: 05.05.01 Success
00:00:45.140 -   Cleaning Up Files: 05.06.00 Success
00:00:45.140 -   Updating Config Files: 05.00.00 Success
00:00:45.140 -   Updating Config Files: 05.00.01 Success
00:00:45.140 -   Updating Config Files: 05.01.00 Success
00:00:45.140 -   Updating Config Files: 05.01.01 Success
00:00:45.140 -   Updating Config Files: 05.01.02 Success
00:00:45.140 -   Updating Config Files: 05.01.03 Success
00:00:45.140 -   Updating Config Files: 05.01.04 Success
00:00:45.140 -   Updating Config Files: 05.02.00 Success
00:00:45.140 -   Updating Config Files: 05.02.01 Success
00:00:45.156 -   Updating Config Files: 05.02.02 Success
00:00:45.156 -   Updating Config Files: 05.02.03 Success
00:00:45.156 -   Updating Config Files: 05.03.00 Success
00:00:45.156 -   Updating Config Files: 05.03.01 Success
00:00:45.156 -   Updating Config Files: 05.04.00 Success
00:00:45.156 -   Updating Config Files: 05.04.01 Success
00:00:45.156 -   Updating Config Files: 05.04.02 Success
00:00:45.156 -   Updating Config Files: 05.04.03 Success
00:00:45.156 -   Updating Config Files: 05.04.04 Success
00:00:45.156 -   Updating Config Files: 05.05.00 Success
00:00:45.156 -   Updating Config Files: 05.05.01 Success
00:00:45.156 -   Updating Config Files: 05.06.00 Success
00:00:45.156 - Performing General Upgrades
00:00:45.203 - Installing Optional Modules:
00:00:45.219 -   Installing Package File HTML_Community_05.06.00_Install:  Success
00:00:52.890 -   Installing Package File Messaging_05.06.00_Install:  Success
00:00:52.937 -   Installing Package File Taxonomy_05.06.00_Install:  Success
00:00:53.640 -   Installing Package File Telerik_05.06.00_Install:  Success
00:00:54.172 - Installing Optional Skins:
00:00:54.172 - Installing Optional Containers:
00:00:54.172 - Installing Optional Languages:
00:00:54.172 - Installing Optional Providers:
00:00:54.172 -   Installing Package File AspNetMembershipProvider_05.06.00_Install:  Success
00:00:54.219 -   Installing Package File CorePermissionProvider_05.06.00_Install:  Success
00:00:54.234 -   Installing Package File CoreSitemapProvider_5.6.0.0_Install:  Success
00:00:54.437 -   Installing Package File DatabaseLoggingProvider_05.06.00_Install:  Success
00:00:54.484 -   Installing Package File DNNMembershipProvider_05.06.00_Install:  Success
00:00:54.531 -   Installing Package File DNNMenuNavigationProvider_05.06.00_Install:  Success
00:00:54.562 -   Installing Package File DNNTreeNavigationProvider_05.06.00_Install:  Success
00:00:54.594 -   Installing Package File FckHtmlEditorProvider_02.00.04_Install:  Success
00:01:00.734 -   Installing Package File FileBasedCachingProvider_05.06.00_Install:  Success
00:01:00.781 -   Installing Package File FileModuleCachingProvider_05.06.00_Install:  Success
00:01:00.844 -   Installing Package File MemoryModuleCachingProvider_05.06.00_Install:  Success
00:01:00.875 -   Installing Package File SchedulingProvider_05.06.00_Install:  Success
00:01:00.891 -   Installing Package File SearchIndexProvider_05.06.00_Install:  Success
00:01:00.953 -   Installing Package File SearchProvider_05.06.00_Install:  Success
00:01:01.609 -   Installing Package File SolpartMenuNavigationProvider_05.01.00_Install:  Success
00:01:01.656 -   Installing Package File TelerikEditorProvider_05.06.00_Install:  Success
00:01:01.844 - Installing Optional AuthSystems:
00:01:01.844 -   Installing Package File LiveID_01.00.01_Install:  Success
00:01:01.906 -   Installing Package File OpenID_02.00.00_Install:  Success
00:01:01.984 - Installing Optional Packages:

Upgrade Complete


-----------------------------------------

I checked the logs and for the 3 errors I recieved, the logs had the following:

05.01.00_Application.log.resources:

Error: Violation of UNIQUE KEY constraint 'IX_ModuleDefinitions'. Cannot insert duplicate key in object 'dbo.ModuleDefinitions'.
The statement has been terminated.   at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
   at System.Data.SqlClient.SqlInternalConnection.OnError(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.SqlDataReader.ConsumeMetaData()
   at System.Data.SqlClient.SqlDataReader.get_MetaData()
   at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
   at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)
   at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)
   at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
   at System.Data.SqlClient.SqlCommand.ExecuteScalar()
   at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteScalar(SqlConnection connection, CommandType commandType, String commandText, SqlParameter[] commandParameters)
   at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteScalar(String connectionString, CommandType commandType, String commandText, SqlParameter[] commandParameters)
   at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteScalar(String connectionString, String spName, Object[] parameterValues)
   at DotNetNuke.Data.SqlDataProvider.AddModuleDefinition(Int32 DesktopModuleId, String FriendlyName, Int32 DefaultCacheTime, Int32 createdByUserID)
   at DotNetNuke.Entities.Modules.Definitions.ModuleDefinitionController.SaveModuleDefinition(ModuleDefinitionInfo moduleDefinition, Boolean saveChildren, Boolean clearCache)
   at DotNetNuke.Services.Upgrade.Upgrade.AddModuleDefinition(String DesktopModuleName, String Description, String ModuleDefinitionName, String BusinessControllerClass, Boolean IsPortable, Boolean Premium, Boolean Admin)
   at DotNetNuke.Services.Upgrade.Upgrade.AddModuleDefinition(String DesktopModuleName, String Description, String ModuleDefinitionName, Boolean Premium, Boolean Admin)
   at DotNetNuke.Services.Upgrade.Upgrade.UpgradeToVersion_510()
   at DotNetNuke.Services.Upgrade.Upgrade.UpgradeApplication(String strProviderPath, Version version, Boolean writeFeedback)


05.03.00_Application.log.resources

Error: Object reference not set to an instance of an object.   at DotNetNuke.Entities.Tabs.TabController.AddAllTabsModules(TabInfo objTab)
   at DotNetNuke.Entities.Tabs.TabController.AddTabInternal(TabInfo objTab, Boolean includeAllTabsModules)
   at DotNetNuke.Entities.Tabs.TabController.AddTab(TabInfo objTab, Boolean includeAllTabsModules)
   at DotNetNuke.Entities.Tabs.TabController.DeserializeTab(XmlNode nodeTab, TabInfo objTab, Hashtable hTabs, Int32 PortalId, Boolean IsAdminTemplate, PortalTemplateModuleAction mergeTabs, Hashtable hModules)
   at DotNetNuke.Services.Upgrade.Upgrade.UpgradeToVersion_530()
   at DotNetNuke.Services.Upgrade.Upgrade.UpgradeApplication(String strProviderPath, Version version, Boolean writeFeedback)


05.06.00_Application.log.resources

Error: The given key was not present in the dictionary.   at System.ThrowHelper.ThrowKeyNotFoundException()
   at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
   at DotNetNuke.Services.Upgrade.Upgrade.UpgradeToVersion_560()
   at DotNetNuke.Services.Upgrade.Upgrade.UpgradeApplication(String strProviderPath, Version version, Boolean writeFeedback)


After the upgrade, the site seems to be working, but with these errors, I am not sure I should continue with this site and restore the backups. Does anyone have any ideas what may have caused these errors?
 
New Post
7/26/2011 2:29 AM
 
Im also getting the same error.. highly appreciated if some dnn expert could give us some visibility on how we can resolve this issues.

thanks,
Pradhap
 
New Post
7/26/2011 2:30 AM
 
Im also getting the same error.. highly appreciated if some dnn expert could give us some visibility on how we can resolve this issues.

thanks,
Pradhap
 
New Post
7/26/2011 2:31 AM
 
Im also getting the same error.. highly appreciated if some dnn expert could give us some visibility on how we can resolve this issues.

thanks,
Pradhap
 
New Post
7/26/2011 2:36 AM
 
Im also getting the same error.. highly appreciated if some dnn expert could give us some visibility on how we can resolve this issues.

thanks,
Pradhap
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Upgrading DNN P...Upgrading DNN P...4.9.5 to 5.6.0 Upgrade Issue4.9.5 to 5.6.0 Upgrade Issue


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