I have been trying to create a content mangeable 404 error page. Mostly successful and appears to work locally. On deploying to the server I get a the error Unable to cast object of type 'ASP._404_aspx' to type 'EPiServer.PageBase'.
I have created a custom 404.aspx page at the root of the site, following an article found here: http://labs.episerver.com/en/Blogs/LBi/Dates/2009/9/Creating-Custom-Error-Pages-in-EPiServer-CMS-5/. It's a fairly old article but appears to apply exatly to our setup. Any thing extra I need to do to avoid this error?
Hi,
I have been trying to create a content mangeable 404 error page. Mostly successful and appears to work locally. On deploying to the server I get a the error Unable to cast object of type 'ASP._404_aspx' to type 'EPiServer.PageBase'.
I have created a custom 404.aspx page at the root of the site, following an article found here: http://labs.episerver.com/en/Blogs/LBi/Dates/2009/9/Creating-Custom-Error-Pages-in-EPiServer-CMS-5/. It's a fairly old article but appears to apply exatly to our setup. Any thing extra I need to do to avoid this error?
CMS 5 as in the article.
Cheers,
Henrik