Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio 2015 IIS Express 500 Error

I have an ASP.Net website project that I am migrating to .Net 4.6.1 .

I have installed Visual Studio 2015 Community, and I have successfully compiled and built both the website and its component DLL.

When I try to use IIS Express to debug with F5, I get a 500 error...

HTTP Error 500.0 - Internal Server Error Tracing area "Authentication,Security,Filter,StaticFile,CGI,Compression,Cache,RequestNotifications,Module,FastCGI,Rewrite,RequestRouting" is not recognized

That says to me that IIS Express does not have a module installed that I need. I thought it might be that ARR and URL Rewrite were not installed, so I installed these, no change.

My ApplicationPool in production uses PreWarmCache technology to start up and avoid 'first hit' delays, and do other one-time startup work.

Help with getting IIS Express to run the site would be very useful.

like image 697
Steve Hibbert Avatar asked Dec 11 '15 17:12

Steve Hibbert


1 Answers

If you have a line like this in your web.config file, can you remove it and try to run it again?

<add provider="WWW Server"
    areas="Authentication,Security,Filter,StaticFile,CGI,Compression,Cache,RequestNotifications,Module,FastCGI,Rewrite,RequestRouting" 
    verbosity="Verbose" />
like image 98
Cahit Avatar answered Sep 27 '22 22:09

Cahit