Hi all,
I'm creating my modules using a blank VS 2010 project pointing to the desktopmodules folder on my local DNN install based on the video series #74.
After I make a code change that requires me to recompile the module, I get the following error after being bounced to the home page:
An error has occurred. 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.UI.Skins.Skin.GetSkin(PageBase page) 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) --- End of inner exception stack trace ---
Normally the error goes away after attempting to the load the page a few more times even though I don't make any other changes.
Below is the log entry.
I understand the error and what it normally means outside of DNN but can't find any missing or incorrectly named controls. Also, why would it throw an error only after any module is recompiled but go away quickly after a refresh or two?
Thanks,
Mark
AssemblyVersion: 6.2.0
PortalID: 0
PortalName: WSFSWeb
UserID: 1
UserName: host
ActiveTabID: 36
ActiveTabName: Extensions
RawURL: /DNN613x2/Default.aspx?tabid=36&error=Object+reference+not+set+to+an+instance+of+an+object.&content=0
AbsoluteURL: /DNN613x2/Default.aspx
AbsoluteURLReferrer:
http://localhost/dnn613x2/Host/Exte...fault.aspx UserAgent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E; .NET CLR 1.1.4322; MS-RTC LM 8; InfoPath.3)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 488eafb0-50dd-48af-9e6e-f4141e869844
InnerException: Object reference not set to an instance of an object.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: DotNetNuke.UI.Skins.Skin.GetSkin
StackTrace:
Message: 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.UI.Skins.Skin.GetSkin(PageBase page) 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) --- End of inner exception stack trace ---
Source:
Server Name: 2OPDW054421