I am trying to add a 404 page to my site, but I am not able to see the preview of that file. I also am getting a 500 error when I am trying to run it locally. I have tried to clear the App_Data cache and done configuring in my web.config file with no effect. This should be straight forward. Can anyone shed some light on it for me? Thanks
Have you tried looking for the 500 error in the Umbraco Log Viewer? I'm curious about the cause of this error. Does the error appear in the logs at all?
I checked the error log and it gave me this error:
An unhandled exception occurred
System.Web.HttpCompileException (0x80004005): D:\local\Temporary ASP.NET Files\root\fb1b27b6\79b53e6c\AppWebpagenotfound.cshtml.65a2d1ee.sa7tx0sw.0.cs(36): error CS1646: Keyword, identifier, or string expected after verbatim specifie
can not preview page not found content
I am trying to add a 404 page to my site, but I am not able to see the preview of that file. I also am getting a 500 error when I am trying to run it locally. I have tried to clear the App_Data cache and done configuring in my web.config file with no effect. This should be straight forward. Can anyone shed some light on it for me? Thanks
Hi DTS17,
Have you tried looking for the 500 error in the Umbraco Log Viewer? I'm curious about the cause of this error. Does the error appear in the logs at all?
Im not 100% sure, but it looks like the 404 you're using is the default iis/404 page and not the Umbraco 404 page you have created.
In the Umbracosettings.config you can supply an ID or a GUID of the 404 page you'd like to use.
Yes I did put the ID into the error404 tag 1487
Also, when I make the 404 page and I try to use this link:
it goes to this page:
there used to be a 404 link on this page, but I don't know where it went. If that helps.
I checked the error log and it gave me this error:
An unhandled exception occurred
System.Web.HttpCompileException (0x80004005): D:\local\Temporary ASP.NET Files\root\fb1b27b6\79b53e6c\AppWebpagenotfound.cshtml.65a2d1ee.sa7tx0sw.0.cs(36): error CS1646: Keyword, identifier, or string expected after verbatim specifie
is working on a reply...