user603007
user603007

Reputation: 11794

IIS Express option unavailable in Visual Studio 2010

rightclicking on website project

How do I enable the option to use IIS Express for a website project in my solution?

I have installed IIS Express but it does not show up as an option? I would like to use this because at the moment I cannot use IIS on my machine.

Upvotes: 2

Views: 1408

Answers (3)

Ian G
Ian G

Reputation: 5526

I had this problem because I opened the site through IIS. The only way to see that the project was opened through IIS is the lack of this button and the title of the Web Site project looks like: http://localhost/x rather than http://localhost:1111.

To get the ability to use IIS Express, you have to remove the Web Site project from the solution and use Add Existing Web Site then choose the file system.

Upvotes: 1

vikomall
vikomall

Reputation: 17539

As 'Mystere Man' said you need VS 2010 service pack (SP1) to see IIS Express option in VS. If you are sure that you have SP1 installed, did you check if IIS Express exists in the installation folder? (%programfiles%\IIS Express or %programfiles(x86)\IIS Express)

If it is not installed, you can install it from http://www.microsoft.com/en-us/download/details.aspx?id=1038

Upvotes: 1

Erik Funkenbusch
Erik Funkenbusch

Reputation: 93444

Do you have Visual Studio 2010 SP1 installed? SP1 is required to get the IIS Express option in the Web tab of your project properties. (don't forget to also do a windows update) Also, you should install the Visual Studio 2010 Web Standards Update as well.

Upvotes: 1

Related Questions