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