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...No Login after upgrade up to DNN9No Login after upgrade up to DNN9
Previous
 
Next
New Post
1/17/2017 4:30 AM
 

Hello!
I'm newbie at DNN. I need to upgrade site from 4.9 to latest version. I had downloaded an upgrade package, read instructions and started an upgrade. Several exceptions occurred during upgrade. List of exceptions are below:

05.01.00_Application.log.resources
Error: Object reference not set to an instance of an object.   at DotNetNuke.Services.Installer.Packages.PackageController.DeleteExtensionPackage(PackageInfo package)
   at DotNetNuke.Services.Upgrade.Upgrade.RemoveCoreModule(String desktopModuleName, String parentTabName, String tabName, Boolean removeTab)
   at DotNetNuke.Services.Upgrade.Upgrade.UpgradeToVersion510()
   at DotNetNuke.Services.Upgrade.Upgrade.UpgradeApplication(String providerPath, Version version, Boolean writeFeedback)

05.06.00_Application.log.resources
Error: The given key was not present in the dictionary.   at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
   at DotNetNuke.Services.Upgrade.Upgrade.UpgradeToVersion560()
   at DotNetNuke.Services.Upgrade.Upgrade.UpgradeApplication(String providerPath, Version version, Boolean writeFeedback)

06.01.00_Application.log.resources
Error: The UPDATE statement conflicted with the FOREIGN KEY constraint "FK_dnn_DesktopModules_dnn_Packages". The conflict occurred in database "DotNetNuke", table "dbo.dnn_Packages", column 'PackageID'.
The statement has been terminated.   at System.Data.SqlClient.SqlConnection. (SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
   at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
   at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption)
   at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest)
   at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)
   at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)
   at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
   at PetaPoco.Database.Execute(String sql, Object[] args)
   at DotNetNuke.Data.PetaPoco.PetaPocoHelper.ExecuteNonQuery(String connectionString, CommandType type, Int32 timeout, String sql, Object[] args)
   at DotNetNuke.Data.SqlDataProvider.ExecuteNonQuery(String procedureName, Object[] commandParameters)
   at DotNetNuke.Entities.Modules.DesktopModuleController.SaveDesktopModule(DesktopModuleInfo desktopModule, Boolean saveChildren, Boolean clearCache, Boolean saveTerms)
   at DotNetNuke.Services.Upgrade.Upgrade.AddModuleCategories()
   at DotNetNuke.Services.Upgrade.Upgrade.UpgradeToVersion610()
   at DotNetNuke.Services.Upgrade.Upgrade.UpgradeApplication(String providerPath, Version version, Boolean writeFeedback)

06.02.00_Application.log.resources
Error: Object reference not set to an instance of an object.   at DotNetNuke.Services.Upgrade.Upgrade.UpgradeToVersion620()
   at DotNetNuke.Services.Upgrade.Upgrade.UpgradeApplication(String providerPath, Version version, Boolean writeFeedback)

07.00.00_Application.log.resources
Error: Object reference not set to an instance of an object.   at DotNetNuke.Services.Installer.Packages.PackageController.DeleteExtensionPackage(PackageInfo package)
   at DotNetNuke.Entities.Modules.DesktopModuleController.DeleteDesktopModule(String moduleName)
   at DotNetNuke.Services.Upgrade.Upgrade.UpgradeToVersion700()
   at DotNetNuke.Services.Upgrade.Upgrade.UpgradeApplication(String providerPath, Version version, Boolean writeFeedback)

07.01.01_Application.log.resources
Error: Object reference not set to an instance of an object.   at DotNetNuke.Services.Installer.Packages.PackageController.DeleteExtensionPackage(PackageInfo package)
   at DotNetNuke.Entities.Modules.DesktopModuleController.DeleteDesktopModule(String moduleName)
   at DotNetNuke.Services.Upgrade.Upgrade.UpgradeToVersion711()
   at DotNetNuke.Services.Upgrade.Upgrade.UpgradeApplication(String providerPath, Version version, Boolean writeFeedback)

07.02.00_Application.log.resources
Error: Object reference not set to an instance of an object.   at DotNetNuke.Services.Installer.Packages.PackageController.DeleteExtensionPackage(PackageInfo package)
   at DotNetNuke.Entities.Modules.DesktopModuleController.DeleteDesktopModule(String moduleName)
   at DotNetNuke.Services.Upgrade.Upgrade.UpgradeToVersion720()    at DotNetNuke.Services.Upgrade.Upgrade.UpgradeApplication(String providerPath, Version version, Boolean writeFeedback)

But after login I can't log in to admin. There no access to login page. I tried an url - http://mysite.com/Default.aspx?ctl=login. Here is a result:


System requirements:
* Windows 8.1 (also I had tried an upgrade on Windows Server 2012 R2);
* .NET Framework 4.6.1
* MS SQL 2014 Developer Edition

My questions are:
1) Do and how I need to fix something in my existing website to avoid these exceptions during upgrade?
2) How can I access a login page after upgrade?

Thank you

 
New Post
1/17/2017 3:03 PM
 
it looks like security module did not upgrade properly, the errors indicate problems upgrading DNN metadata.
A direct upgrade from that very old version might fail and you need to upgrade in multiple steps, following the suggested upgrade path in DNN Wiki.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
1/18/2017 6:04 AM
 

Thank you, Sebastian, suggested upgrade path helped. No exceptions on upgrade. But I still can't login. Last successful login was on v. 7.03.02. Which version do you recommend to use on production or better solution is to create site from scratch, using latest stable version (currently, it is 9.0.0)?

Thank you

 
New Post
1/18/2017 10:44 AM
 
DNN 9 is still very new and there are a number of challenges upgrading sites, I would wait for 9.1.0 or 9.1.1.
You should be able to upgrade to 7.4.2 and maybe 8.0.4, be aware that DNN 8 introduced a couple of breaking changes, which will require 3rd party modules to be upgraded.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
1/18/2017 1:13 PM
 

Sebastian, thank you for your recommendations and advice!

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Upgrading DNN P...Upgrading DNN P...No Login after upgrade up to DNN9No Login after upgrade up to DNN9


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