I have just built a site on Umbraco, but I do not see the 404 page like on my other (5) installations.
I have not changed any config files...
UmbracoSettings.config still says "<error404>1</error404>"
404handlers.config still says "<notFound assembly="umbraco" type="handle404"/>"
Anyone have any ideas what the problem could be?
Thanks, Andy
Server Error in '/' Application.
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.] umbraco.requestHandler..ctor(XmlDocument _umbracoContent, String url) +2796 umbraco.UmbracoDefault.Page_PreInit(Object sender, EventArgs e) +903 System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35 System.EventHandler.Invoke(Object sender, EventArgs e) +0 System.Web.UI.Page.OnPreInit(EventArgs e) +8698254 System.Web.UI.Page.PerformPreInit() +31 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +282
Version Information: Microsoft .NET Framework Version:2.0.50727.3603; ASP.NET Version:2.0.50727.3614
Just before xPath query (False, '/root/node [@urlName = "what"] | /root/node/node [@urlName = "what"]')
0.000227824159930116
0.000028
umbracoRequestHandler
pageXPathQueryStart: '/root'
0.00025181976357036
0.000024
Unhandled Execution Error
Object reference not set to an instance of an object. at umbraco.requestHandler..ctor(XmlDocument _umbracoContent, String url) at umbraco.UmbracoDefault.Page_PreInit(Object sender, EventArgs e) at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) at System.EventHandler.Invoke(Object sender, EventArgs e) at System.Web.UI.Page.OnPreInit(EventArgs e) at System.Web.UI.Page.PerformPreInit() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
I am assuming in your install you already have published 404 page? What is the id of that page? I would take that id and set it in the UmbracoSettings.config error404 node.
Standard 404 page - Object reference not set
Hi guys,
I have just built a site on Umbraco, but I do not see the 404 page like on my other (5) installations.
I have not changed any config files...
UmbracoSettings.config still says "<error404>1</error404>"
404handlers.config still says "<notFound assembly="umbraco" type="handle404"/>"
Anyone have any ideas what the problem could be?
Thanks, Andy
Server Error in '/' Application.
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:
Version Information: Microsoft .NET Framework Version:2.0.50727.3603; ASP.NET Version:2.0.50727.3614
Request Details
Trace Information
Object reference not set to an instance of an object.
at umbraco.requestHandler..ctor(XmlDocument _umbracoContent, String url)
at umbraco.UmbracoDefault.Page_PreInit(Object sender, EventArgs e)
at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)
at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
at System.EventHandler.Invoke(Object sender, EventArgs e)
at System.Web.UI.Page.OnPreInit(EventArgs e)
at System.Web.UI.Page.PerformPreInit()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Andy,
I am assuming in your install you already have published 404 page? What is the id of that page? I would take that id and set it in the UmbracoSettings.config error404 node.
Regards
Ismail
is working on a reply...