http status code 404 - iis 7 /asp.net doesn't obey error pages settings on .net4 web site -


I have just seen in my logs if there is a "." At the end of the URL that does not exist on a .NET 4 integrated AppPool, IIS 7.5 does not display its preset 404 URL, but does not get the page default.

I have my custom 404 URL on both IIS and asp.net settings it works just fine with any other URL which does not exist.

The site uses the .net 4 route with asp.net webforms. As far as I know it is in no way related to the result of a random url like in the result "site.com/djfdhfhgfhgfggfff." The behavior does not change.

Anyone experienced something like this?

eror looks like coming from asp.net. It reads

  Server error '/' No resource found in the application. Description: HTTP 404. The resource you are looking for (or one of its dependencies) could be renamed, or temporarily unavailable, please review the following URL and make sure it is spelled correctly URL: / etc   

Update:. Only one of the trace enters and looks like Global.asax is throwing it

  MODULE_SET_RESPONSE_ERROR_STATUS ModuleName Global.asax Notification 1 HttpStatus 404 HttpReason not found HttpSubStatus 0 ErrorCode 0 ConfigExceptionInfo Notification BEGIN_REQUEST ErrorCode operation successfully completed Originally receiving a 404 code from ASP.NET instead of your ISA (0x0)    

. Your web To use your custom page for 404 errors via the section in the config, say a simple fix to asp.net See examples in this link ...

Comments

Popular posts from this blog

qt - switch/case statement in C++ with a QString type -

python - sqlite3.OperationalError: near "REFERENCES": syntax error - foreign key creating -

Python's equivalent for Ruby's define_method? -