IIS 7.5, ASP.NET MVC. HTTP Error 500 (Internal Server Error): An unexpected condition was encountered while the server was attempting to fulfil

拜拜、爱过 提交于 2019-12-10 20:41:36

问题


I have a MVC3 web site, which works well on IIS Express, but after publishing to IIS 7.5 I got that weird error. The full error message is:

HTTP Error 500 (Internal Server Error): An unexpected condition was encountered while the server was attempting to fulfill the request.

I published using 'File system' method, for web site I created a separate site in IIS, separate application pool with .NET 4.0 and Integrated mode.

Can you help me diagnose that problem?


回答1:


I assume you're using Chrome as your web browser? This is the default error page Chrome displays when it receives a 500 HTTP response from the server with no content.

You need to find the cause of this error. Open the Event Viewer (Win+R, type "eventvwr.msc", click OK). Expand "Windows Logs" and click "Application". Look for an error or warning that relates to IIS, W3SVC or similar. It's likely an error that's occurring before the request reaches the .NET pipeline.



来源:https://stackoverflow.com/questions/17188930/iis-7-5-asp-net-mvc-http-error-500-internal-server-error-an-unexpected-cond

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!