Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio web project has IIS configuration warnings

One of the web application projects in my visual studio solution has a blue exclamation mark icon on it and the tool tip shows The Web project <Project.Name.Here> has IIS configuration warnings

I can't see anything in the project Properties pages, or in the web.config file. It started yesterday, and I assumed restrating VS and reloading the project may get rid of the warning, but it has not.

What is this and how do I go about resolving this issue?

Google has not been helpful this morning!

like image 724
Dib Avatar asked Dec 19 '22 19:12

Dib


1 Answers

Try right clicking the solution in the Solution Explorer, the option Resolve Errors should be available.

enter image description here

Selecting this should show you the message behind the icon you're seeing on the project. For me, this was:

ASP.NET 4.0 has not been registered on the Web server. You need to manually configure your Web server for ASP.NET 4.0 in order for your site to run correctly.

If this is the message you're receiving, this MS blog post may help you fix it.

Update

Note that once you've selected this option, the IDE assumes you've resolved the errors and removes the icon and menu option (!). So make sure you read it or restart VS to see it again.

like image 189
Phil Cooper Avatar answered Dec 26 '22 07:12

Phil Cooper