Last post Apr 27, 2005 10:40 PM by cmsjazz
Apr 27, 2005 04:23 PM|cmsjazz|LINK
My hosted website is getting this error when I visit the site.
Can someone give me some ideas on how to troubleshoot ?
Looks like the beginrequest is failing after GetPortalSettings ... a DB issue ?
Many Thanks, CJ
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.
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.
[NullReferenceException: Object reference not set to an instance of an object.]
DotNetNuke.PortalSettings.GetPortalSettings(Int32 TabId, Int32 PortalId) +135
DotNetNuke.PortalSettings..ctor(Int32 tabId, Int32 PortalId) +253
DotNetNuke.Global.Application_BeginRequest(Object sender, EventArgs e) +755
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +87
Apr 27, 2005 08:26 PM|cmsjazz|LINK
I'm getting a little desperate ....
Is there a way to turn on Debugging / trace in .NET ( web.config ) and see where in the DNN code we are failing...
Apr 27, 2005 10:29 PM|ecktwo|LINK
Apr 27, 2005 10:40 PM|cmsjazz|LINK
Appreciate the tip, I will investigate the Permissions on the DNN root web (although I did not get a FileSystemObject access denied type error).
I believe the machinename\ASPNET account and the Network Service Account need permissions need to be checked.
Many thanks, Paul