DNN error with stack trace
Last Post 01/30/2015 10:26 AM by Joseph Craig. 2 Replies.
Author Messages
Martin Zajicek
Posts:


--
01/29/2015 10:28 AM  
Hi,

i need help with this problem, i moved my local website to live site over mywindowshosting.com
i uploaded all files, attached database and edited connection string which seems to be working because i tried it on my local instance and site worked fine, i tried to find answer what could be problem that im getting DNN error page but cant find solution
this is stack trace from log file when i access site

2015-01-29 07:38:39,393 [Win5081][Thread:51][FATAL] DotNetNuke.Framework.PageBase - An error has occurred while loading page.
System.NullReferenceException: Object reference not set to an instance of an object.
at DotNetNuke.Framework.DefaultPage.InitializePage()
at DotNetNuke.Framework.DefaultPage.OnInit(EventArgs e)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
2015-01-29 07:38:39,393 [Win5081][Thread:51][ERROR] DotNetNuke.Services.Exceptions.Exceptions - ~/Default.aspx?error=terminate
System.NullReferenceException: Object reference not set to an instance of an object.
at DotNetNuke.Framework.DefaultPage.InitializePage()
at DotNetNuke.Framework.DefaultPage.OnInit(EventArgs e)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
2015-01-29 07:38:39,440 [Win5081][Thread:51][ERROR] DotNetNuke.Services.Exceptions.Exceptions - DotNetNuke.Services.Exceptions.PageLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at DotNetNuke.Framework.DefaultPage.InitializePage()
at DotNetNuke.Framework.DefaultPage.OnInit(EventArgs e)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoin)
--- End of inner exception stack trace ---t


anyone has idea what is the problem and how to fix it ? thanks in advance, im really clueless and desparete

Joseph Craig
DNN MVP
Posts:11667


--
01/30/2015 10:24 AM  
Have you been running a DNN installation on this host?

Some things to look at:

Did you also edit the PortalAlias table in the database to include the correct domain?

It does appear that the website is "working" as the error messages are coming from DNN, but do check the IIS settings to make sure that everything is ok.

Also, check file permissions.

If this works on your local site, but not on the host, then there are some problems on the host, assuming that everything is copied over ok. So, if all else fails, delete everything and recopy the installation.

Joe Craig, Patapsco Research Group
Complete DNN Support
Joseph Craig
DNN MVP
Posts:11667


--
01/30/2015 10:26 AM  
Also, make sure that the application pool your website is residing in is using same version of ASP.Net and pipeline mode.

Joe Craig, Patapsco Research Group
Complete DNN Support


---