Problem opening IISHost sample from 04-DataPortal-11054

Problem opening IISHost sample from 04-DataPortal-11054

Old forum URL: forums.lhotka.net/forums/t/10671.aspx


Jav posted on Saturday, September 10, 2011

When trying to open the IISHost sample, first I get the following error (which is understandable)

---------------------------
Microsoft Visual Studio
---------------------------
The local IIS URL http://localhost:10947/ specified for Web project IISHost has not been configured. In order to open this project the virtual directory needs to be configured. Would you like to create the virtual directory now?
---------------------------
Yes   No  
---------------------------

When I click Yes, I get the following error.

---------------------------
Microsoft Visual Studio
---------------------------
Creation of the virtual directory http://localhost:10947/ failed with the error: Could not find the server 'http://localhost:10947' on the local machine. Creating a virtual directory is only supported on the local IIS server.
---------------------------
OK  
---------------------------

Jav replied on Saturday, September 10, 2011

There may be a problem with my ServicePack 1 installation.  Investigating.

RockfordLhotka replied on Sunday, September 11, 2011

You have IIS Express installed and VS10 configured to work with IIS Express right?

If so, it sounds like your machine has some problem with the IIS Express install.

Copyright (c) Marimer LLC