For anything under the Scripts or Content folders in my ASP.NET MVC application, I am getting the following error:
The page cannot be displayed because an internal server error has occurred
That’s the response in its entirety (excepting the headers) – nothing else. I am hosting this on GoDaddy, and have not had problems with this application before. What did I do to screw this up?! Working on 4 hours of sleep isn’t helping matters…
This would be appropriate here:
So, when struggling to get a Flash-based, JavaScript-configured component to work in my web app, I added a staticContent node to my web.config, with a mimeMap node as a child:
When I commented-out the entire staticContent node, everything worked just fine. I didn’t know that adding a mimeMap here would cause all of the default mimeMaps (specified within the server’s ApplicationHost.config) to be overridden, because that seems to be exactly what is going on…Then again, I am merely guessing – either way, not very easy to figure out.
Thank you to everyone that responded, I appreciate it!