Setup: Windows 7, IIS7. I am working on an app that is being viewed through the local IIS server, not the built in debugging web server. So my app url is http://localhos
I've been dealing with this issue for the last few days and found the solution. A Web.Config file is likely specifying an absolute path for one of the error pages. This may not be the Web.Config of the application you are testing. For me, it was the website's Web.Config file.
If you find the offending Web.Config file you can remove the absolute path and the problem should be fixed.
A much easier solution would be to alter your ApplicationHost.Config file to set the allowAbsolutePathsWhenDelegated
property to true
: