Home > Not Working > Custom Error Redirect Not Working

Custom Error Redirect Not Working


Requested URL: /foo/bar Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.33440 Not exactly friendly, is it? Browse other questions tagged asp.net iis-6 custom-errors redirectmode or ask your own question. Still can't find what was the actual error in error.aspx that causes the problem. A question on the terminal in ubuntu Delimiters around Array How do I make an alien technology feel alien? http://seesbg.com/not-working/notifydatasetchanged-not-working-custom-adapter.html

While testing, If i had a defaultRedirect error page access Session and if the customErrors was set to use redirectMode="ResponseRewrite" then upon accessing a missing page, i got the standard 404 Join them; it only takes a minute: Sign up IIS 404 Custom Error not working as expected up vote 10 down vote favorite I'm working on IIS6, ASP.NET, VS2008. I have gotten custom errors to work many times in the past, so why can I no longer do so??? The resource cannot be found. http://stackoverflow.com/questions/615829/iis-404-custom-error-not-working-as-expected

Custom Error Redirect Not Working

Description: HTTP 404. The code change is very small, but highly effective:

1 protectedvoidPage_Load(objectsender, EventArgs e)
2 {