I have an Azure project with a single webrole that I am trying to get to run properly after upgrading to Windows 8 and Visual Studio 2012.
The problem is with any static content, it returns a HTTP 500 Internal Server Error with this text: “The page cannot be displayed because an internal server error has occurred.” This error is presented for any static content (images and javascript), while dynamic content is served fine (all controller actions work fine).
We cannot get IIS to present a detailed error message. The only reference we can find to the error is in the access log, which presents it as a 500 subtype 19 error.
We’ve tried switching between IIS and IISExpress, same error occurs. We’ve tried adding all the “show detailed error messages” options to our web.config and IIS Manager. The same error happens on both HTTP and HTTPS endpoints.
What should be my next steps?
The culprit has been discovered. By comparing a default
web.configwith ourweb.configwe discovered this in ourweb.config:IIS8 has support for the WOFF built in, while IIS 7 did not. Simply moving this line into a transform solved the issue.