I have try using the instructions from these sites:
http://www.iis.net/configreference/system.webserver/httperrors and
http://forums.asp.net/t/1742125.aspx/2/10?Custom+Error+Pages+don+t+show+
and nothing worked. I have tried all errorModes and none of them work neither. Did i do something wrong?
Below is what i have in my Web.config file:
<system.webServer>
<httpErrors errorMode="DetailedLocalOnly">
<remove statusCode="404"/>
<error statusCode="404" path="FileNotFound.aspx" responseMode="ExecuteURL" />
</httpErrors>
..
</system.webServer>
...
Go to the complete details ...