Server Error in '/YAF-Trial' Application.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: /yaf-trial/Error.aspx
Server Error in '/YAF-Trial' Application.
<customErrors defaultRedirect="Error.aspx" mode="On"/>
<customErrors defaultRedirect="/Yaf/Error.aspx" mode="Off"/>[/code] in your web.config. The error message should then work.
Because Yaf is not a folder in YAF-Trial,