简体   繁体   中英

IIS7 - 500 Error Code

On a Windows Server 2008/IIS 7.5 environment, when I browse to a ASP.NET web site, I get the following error in the IIS log file:

2010-06-28 22:18:46 192.168.50.43 GET /TimeSheet - 443 - 192.168.50.41 Mozilla/4.0+ (compatible;+MSIE+8.0;+Windows+NT+6.1;+WOW64;+Trident/4.0;+SLCC2;+.NET+CLR+2.0.50727;+.NET+CLR+3.5.30729;+.NET+CLR+3.0.30729;+.NET4.0C;+.NET4.0E) 500 0 0 23939

The virtual directory folders have IIS_IUSRS group added to it. Can someone point me on what could be the issue based on the log entry

I used this to solve a problem where the web.config had illegal values (it was trying to override something the apphost.config had locked)

  • Log on to server
  • Add an extra binding to all unassigned IPs, port 81 (or whatever port is free)
  • Turn "Show friendly errors" off in IE
  • Ensure custom errors are off in web.config
  • Browse to localhost:81
  • See detailed error from IIS

Http错误500是内部服务器错误,是由您的代码问题或IIS上的应用程序池引起的,根据上述说明,您可能会在事件日志中找到某些内容,也可以尝试关闭浏览器上的友好错误,可能会看到真正的错误。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM