[Solved] The Web Application project ‘MyWebApp’ is configured to use IIS error

  • Sharebar

“The Web Application project ‘MyWebApp’ is configured to use IIS.

To access local IIS Web sites, you must install the following IIS components

IIS 6 Metabase and IIS 6 Configuration Compatibility Authentication”

This happens when a project created using Visual Studio 2008 is imported opened using Visual Studio 2010. To solve this issue do the following

1) Open your CSProj file in a text editor

2) Replace the following lines


<UseIIS>True</UseIIS>

with

<UseIIS>False</UseIIS>

and

<IISUrl>http://localhost/site</IISUrl>

with

<CustomServerUrl> http://localhost/site </CustomServerUrl>
This entry was posted in Programming and tagged , , . Bookmark the permalink.
  • Dev Warsi

    Thanks. It worked