I have attempted an upgrade to 4.3 on my test machine in anticipation of upgrading our production environment.
My upgrade was/is from V3.2 to V4.3. I did the requisite mods on web.config. I changed the web site to be based upon .Net 2.0. When the upgrade is triggered by calling the site, I hang with the following error message:
Server Error in '/DNN' Application.
Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.
Source Error:
Line 73:
Line 74: 'Determine the Upgrade status and redirect to Install.aspx
Line 75: Select Case GetUpgradeStatus()
Line 76: Case Globals.UpgradeStatus.Install, Globals.UpgradeStatus.Upgrade
Line 77: If AutoUpgrade Then
|
Source File: C:\Inetpub\wwwroot\DNN3.1.0\App_Code\Global.asax.vb Line: 75
Stack Trace:
[NullReferenceException: Object reference not set to an instance of an object.]
DotNetNuke.Common.Utilities.Config.GetConnectionString(String name) +47
DotNetNuke.Common.Utilities.Config.GetConnectionString() +78
DotNetNuke.Data.SqlDataProvider..ctor() +83
[TargetInvocationException: Exception has been thrown by the target of an invocation.]
System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck) +0
System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache) +103
System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache) +261
System.Activator.CreateInstance(Type type, Boolean nonPublic) +66
DotNetNuke.Framework.Reflection.CreateObject(String TypeName, String CacheKey, Boolean UseCache) +232
DotNetNuke.Framework.Reflection.CreateObject(String ObjectProviderType, String ObjectProviderName, String ObjectNamespace, String ObjectAssemblyName, Boolean UseCache) +571
DotNetNuke.Data.DataProvider.CreateProvider() +39
DotNetNuke.Data.DataProvider..cctor() +13
[TypeInitializationException: The type initializer for 'DotNetNuke.Data.DataProvider' threw an exception.]
DotNetNuke.Common.Globals.GetUpgradeStatus() +65
DotNetNuke.Common.Global.CheckVersion() in C:\Inetpub\wwwroot\DNN3.1.0\App_Code\Global.asax.vb:75
DotNetNuke.Common.Global.Application_Start(Object Sender, EventArgs E) in C:\Inetpub\wwwroot\DNN3.1.0\App_Code\Global.asax.vb:252
|
BTW: Please ignore the path name with "DNN3.1.0". It is the proper path. I have not wanted to risk creating errors with renaming the folder.