Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IIS 7.5 Tracing area "...." is not recognized - HTTP Error 500.0 - Internal Server Error

Everything was working fine and all of a sudden I started getting the following error for all my web projects and websites. One thing is for sure that this is IIS issue since the compiler is not even reach the code.

Error Message:

HTTP Error 500.0 - Internal Server Error

Tracing area "Authentication,Security,Filter,StaticFile,CGI,Compression,Cache,RequestNotifications,Module,FastCGI,WebSocket,Rewrite,RequestRouting,iisnode" is not recognized

enter image description here

I've already tried following things one by one but no luck:

  1. Re-install Tracing - 'Turn Windows features on or off',
  2. Re-install IIS,
  3. aspnet_regiis -i (also tried with -u),
  4. Removed ISAPI .DLL

Windows Features:

enter image description here

I'm using Visual Studio 2013 to build a web project (asp.net C#).

I would really appreciate any help/information on this Issue.

like image 796
singhsac Avatar asked Sep 30 '15 20:09

singhsac


2 Answers

I removed below tag from applicationhost.config file located under C:\Users\Sanket\My Documents\IISExpress\config path on windows 7 machine.

<add provider="WWW Server" areas="Authentication,Security,Filter,StaticFile,CGI,Compression,Cache,RequestNotifications,Module,FastCGI,WebSocket,Rewrite,RequestRouting,iisnode" verbosity="Verbose" />

See if this helps.

like image 61
Sanket Avatar answered Sep 24 '22 17:09

Sanket


From Richard Marr's Blog here, following solutions are listed and second solution worked for me.

  1. Using Programs and Features find the Extension that is missing trace areas, right click select REPAIR.
  2. Manually add the trace areas to the Applicationhost.config file as shown below. Remember to add in the "WWW Server" xml Node.

enter image description here

like image 29
Abhinav Galodha Avatar answered Sep 20 '22 17:09

Abhinav Galodha