Portal Engine
Version 2.x > Portal Engine > Error.aspx not found View modes: 
User avatar
Member
Member
czapata - 12/7/2006 7:59:51 PM
   
Error.aspx not found
I'm getting this error as a result of including a custom webPart in a template:

The resource cannot be found.
Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.

Requested URL: /perpetuo/CMSMessages/error.aspx

The webpart reads information fom a table created for a BizForm and binds the resulting dataset to a webgrid.



User avatar
Guest
admin - 12/8/2006 1:33:27 PM
   
Re: Error.aspx not found
Hello,

Thank you for your message. I'm sorry, this was a bug in 2.0 and 2.0a - they contained an invalid error handler in the web.config file. You may need to change the customErrors section in your web.config like this:

<customErrors mode="RemoteOnly">
<error statusCode="404" redirect="CMSMessages/error404handle.aspx"/>
</customErrors>

Best Regards,