Unable to use IIS7 with Visual Studio 2010, MVC2.0 and NET4

Posted by nachid on Stack Overflow See other posts from Stack Overflow or by nachid
Published on 2010-04-29T14:53:28Z Indexed on 2010/04/29 14:57 UTC
Read the original article Hit count: 420

Filed under:
|

Here is my environment Windows7, Visual Studio 2010, MVC2.0 and NET4 My default web site is configured to use ASP.NET v4.0 application pool.

Here is an easy way to reproduce my problem

Create a new MVC2 application Open the properties Window Go to the Web tab Check "Use IIS Local Web Server" Click on "Create Virtual Directory" button

I get this error message

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

In addition, you must run visual Studio in the context of an Administrator account
For more information, press F1

Notice the blank line after "...the following IIS components:"

I am running VS2010 as administrator Pressing F1 does not bring any help

© Stack Overflow or respective owner

Related posts about windows7

Related posts about VS2010