Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...errors after site restore: usually Object reference not set to an instance of an object.errors after site restore: usually Object reference not set to an instance of an object.
Previous
 
Next
New Post
7/7/2009 12:39 PM
 

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

 
New Post
7/8/2009 12:03 PM
 

Strange -- the errors don't  seem to be occuring as often today. Maybe was a temporary problem with the host.

 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...errors after site restore: usually Object reference not set to an instance of an object.errors after site restore: usually Object reference not set to an instance of an object.


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out