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
What helped me to resolve this error is setting allowAbsolutePathsWhenDelegated to true.
Go to IIS > Configuration Editor > in Section type: system.webServer/httpErrors
and Set allowAbsolutePathsWhenDelegated to true. Reset IIS for good measure.