DotnetDude
DotnetDude

Reputation: 11807

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

Upvotes: 2

Views: 2782

Answers (2)

fiat
fiat

Reputation: 15971

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

Upvotes: 1

Iain
Iain

Reputation: 6452

Http error 500 is internal server error, caused by a problem with you code, or your app pool on IIS, as per the notes above you may find something in your event log, you could also try turning off friendly errors on your browser, you may see the real error.

Upvotes: 0

Related Questions