After restoring my site to DNN 4.9.2 (after failed 5.1 upgrade) I receive several errors fairly frequently. My host restored the site from a backup taken earlier from the same day they restored it. They had to change the username to the database for some reason, and it was updated in web.config.
Here are the errors (edited to say My Site). It doesn't always happen on video.aspx... happens on pages at random, on different modules at random... (but always on all modules on the page... and then if you go back to the page from the main menu, the page works again).
The main error on the site itself is shown as: Object reference not set to an instance of an object.
Any clue on how to fix this from occuring? The site had worked without this error before restoring... Is there anyplace other than web.config where I might need to change the db username?
AssemblyVersion: 04.09.02
PortalID: 0
PortalName: My Site
UserID: 1
UserName: admin
ActiveTabID: 195
ActiveTabName: Video
RawURL: /Video.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://www.mysite.com/Home.aspx
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.11) Gecko/2009060215 Firefox/3.0.11 (.NET CLR 3.5.30729)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 7b4d73f8-36d3-4e6c-8bf8-0f8c58ae0279
InnerException: Object reference not set to an instance of an object.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: DotNetNuke.UI.Containers.ActionBase.set_PortalModule
StackTrace:
Message: System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.UI.Containers.ActionBase.set_PortalModule(PortalModuleBase Value) at DotNetNuke.UI.Skins.Skin.ProcessActionControls(PortalModuleBase objPortalModuleBase, Control objContainer) at DotNetNuke.UI.Skins.Skin.InjectModule(Control objPane, ModuleInfo objModule, PortalSettings PortalSettings)
Source:
Server Name: WEB22
_________________________
--------------------------------------------
AssemblyVersion: 04.09.02
PortalID: 0
PortalName: My Site
UserID: 1
UserName: admin
ActiveTabID: 195
ActiveTabName: Video
RawURL: /Video.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://mysite.com/Home.aspx
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.11) Gecko/2009060215 Firefox/3.0.11 (.NET CLR 3.5.30729)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 5940b42b-ed3d-4d4a-866e-a9075021f911
InnerException: Unhandled Error:
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Web.HttpResponse.AppendHeader
StackTrace:
Message: System.Exception: Unhandled Error: ---> System.Web.HttpException: Server cannot append header after HTTP headers have been sent. at System.Web.HttpResponse.AppendHeader(String name, String value) at DotNetNuke.HttpModules.Compression.CompressingFilter.WriteHeaders() at DotNetNuke.HttpModules.Compression.GZipFilter.Write(Byte[] buffer, Int32 offset, Int32 count) at System.Web.HttpWriter.Filter(Boolean finalFiltering) at System.Web.HttpResponse.Flush(Boolean finalFlush) at System.Web.HttpResponse.Flush() at System.Web.HttpResponse.End() at System.Web.HttpResponse.Redirect(String url, Boolean endResponse) at DotNetNuke.Services.Exceptions.Exceptions.ProcessPageLoadException(Exception exc, String URL) at DotNetNuke.Framework.PageBase.Page_Error(Object Source, EventArgs e) at System.Web.UI.TemplateControl.OnError(EventArgs e) at System.Web.UI.Page.HandleError(Exception e) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) at System.Web.UI.Page.ProcessRequest(HttpContext context) at ASP.default_aspx.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) --- End of inner exception stack trace ---
Source:
Server Name: WEB22
_________________________
--------------------------------------------
AssemblyVersion: 04.09.02
PortalID: 0
PortalName: My Site
UserID: 1
UserName: admin
ActiveTabID: 195
ActiveTabName: Video
RawURL: /Video.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://mysite.com/Home.aspx
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.11) Gecko/2009060215 Firefox/3.0.11 (.NET CLR 3.5.30729)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 4e2832dd-8801-4e7c-929d-16cab2db22fd
InnerException: Object reference not set to an instance of an object.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: DotNetNuke.UI.Containers.Visibility.get_ModulePath
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.Containers.Visibility.get_ModulePath() at DotNetNuke.UI.Containers.Visibility.get_MinIconLoc() at DotNetNuke.UI.Containers.Visibility.Page_PreRender(Object sender, EventArgs e) at System.Web.UI.Control.OnPreRender(EventArgs e) at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---
Source:
Server Name: WEB22