Visual Studio 2015 IIS Express 500 Error

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

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

When I try to use IIS Express for debugging 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

This tells me that IIS Express does not have the installed module that I need. I thought it was possible that the ARR and Rewrite URLs were not installed, so I installed them unchanged.

My ApplicationPool in production uses PreWarmCache technology to launch and avoid “first hit” delays and other one-time launches.

Help getting IIS Express to launch the site will be very helpful.

+6
source share
2 answers

If you have such a line in the web.config file, can you delete 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" /> 
0
source

It is also possible to get a blank page and 500 errors due to a problem with the migration of the Visual Studio project. Closing the solution and deleting the .vs folder may fix this.

0
source

All Articles