Posted on: 9/3/2013 8:55:20 AM | Views : 843

Hi, 
I have disabled the listing directory in my project, but when I try to access to a folder I get the error message 403.14 instead of the redirecting to the error page, despite of I am capturing these errors in Web.config:
<customErrors mode="On" defaultRedirect="~/Error/Error.aspx" redirectMode="ResponseRedirect"> <error statusCode="403" redirect="~/Error/Error.aspx"/> <error statusCode="404" redirect="~/Error/Error.aspx"/> <error statusCode="500" redirect="~/Error/Error.aspx"/> </customErrors> I can not define "403.14" as a status code due to the types difference.
...

Go to the complete details ...