Object reference not set to an instance of an object.
Hello,
I am new to Sitefinity. I am starting to integrate a static HTML template into a Sitefinity template. I stripped down the HTML of the old site's existing home page template. I copied over the the asp tags with the content areas, but then I get the following error when I try to access the published stage site. Note that I can use "preview" links from the Sitefinity admin and see the page just fine.
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.
Source Error:
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.
Stack Trace:
[NullReferenceException: Object reference not set to an instance of an object.]
Telerik.Sitefinity.Web.PageRouteHandler.AddRequiredControls(Page page, PageSiteNode data) +290
System.Web.UI.Page.OnInit(EventArgs e) +104
System.Web.UI.Control.InitRecursive(Control namingContainer) +132
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean
includeStagesAfterAsyncPoint) +1969
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272
Hello,
There seems to be something wrong with template. Can you share its actual code?
Greetings,