Ok, I've been avoiding an upgrade for my development machine for about a year now. I finally tried to do an upgrade to DNN 4.5.3 yesterday from 4.2. I copied the files over the existing files and reconfigured my web.config from the development.config file (Actually I just used the development config and changed the database, assemblies and encryption hash.) I ran the solution and the database upgraded, with one error:
00:00:01.125 - Executing Script: 04.04.00.SqlDataProvider Error! (see 04.04.00.log for more information)
At this point, I can no longer run the application. IE opens, it flashes some urls in the status bar then gives me a DNS error. I can modify the url to point to http://localhost:1782/DotNetNuke/admin and see the contents of the directory, so I know I still have the correct port. Any clue what I did wrong?
I also tried http://localhost:1782/DotNetNuke/Default.aspx?portalid=0 and got the following error:
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:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. |
Stack Trace:
[NullReferenceException: Object reference not set to an instance of an object.]
DotNetNuke.Entities.Portals.PortalSettings.GetPortalSettings(Int32 TabId, PortalAliasInfo objPortalAliasInfo) +216
DotNetNuke.Entities.Portals.PortalSettings..ctor(Int32 tabId, PortalAliasInfo objPortalAliasInfo) +98
DotNetNuke.HttpModules.UrlRewriteModule.OnBeginRequest(Object s, EventArgs e) +3385
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64
|