K
Kenneth Keeley
Hi
I have created a Web.config file with theses settings:
<customErrors mode="RemoteOnly"
defaultRedirect="/errorpages/generic.aspx">
<error statusCode="403" redirect="/errorpages/noaccess.aspx" />
<error statusCode="404" redirect="/errorpages/filenotfound.aspx" />
</customErrors>
If a user tries to go to a folder that does not exist then I get my default
HTML error page for directory not found.
If a user tries to go to an aspx page in a folder that does not exist that
get a horrible error page telling them that of A Runtime Error and that they
should changes the Web.config error mode to off to see the Error. How can I
make it that they go to one of my nice looking Error pages.
Thanks
I have created a Web.config file with theses settings:
<customErrors mode="RemoteOnly"
defaultRedirect="/errorpages/generic.aspx">
<error statusCode="403" redirect="/errorpages/noaccess.aspx" />
<error statusCode="404" redirect="/errorpages/filenotfound.aspx" />
</customErrors>
If a user tries to go to a folder that does not exist then I get my default
HTML error page for directory not found.
If a user tries to go to an aspx page in a folder that does not exist that
get a horrible error page telling them that of A Runtime Error and that they
should changes the Web.config error mode to off to see the Error. How can I
make it that they go to one of my nice looking Error pages.
Thanks