IIS 7 and Above
Unable to Publish Web Application on the Local IIS
Last post Mar 05, 2008 06:26 PM by olaamigos
Mar 04, 2008 03:43 PM|olaamigos|LINK
I just installed the IIS version 6.0 on the Microsoft Vista machine, when I click on the IIS Manager, it opens the IIS console but when I try to create a new web site in VS05 under the IIS or try to publish my web application on the Local IIS. I didn't
open the Local IIS window and the error message showing: To access local IIS Web sites, you must install all the following Windows components:
Internet Information Service
IIS 6 Metabase and IIS 6 configuration Compatibility (Not sure if it installs or not)
The IIS is already installed in the Vista machine but not sure if the IIS 6 Metabase and IIS 6 configuration Compatibility and ASP.NET is install or not when install IIS. How do I check whether all these requirement
are meet or not. If not, how do I install it? Thanks
Mar 04, 2008 07:58 PM|johnkaplar|LINK
I'm receiving the same error, however I'm using IIS 7.0 with Visual Studio 2008 Team Edition. I created a new web application in VS, went to the properties, selected "Use IIS Server", checked "Overide Application URL", and tried to save. I got the same
error message that you received. Which is odd, since i'm using IE 7, and I'm running VS as the administrator. This definitely seems like a security issue with IE7. Does anyone have any insight on this? Thanks in advance...
Mar 04, 2008 10:07 PM|johnkaplar|LINK
Ok, I found the solution...thanks to Arian Kulp's blog:
See if this solves your problem as well...
Basically, you have to do the following to get this to work:
After spending too many hours trying to deploy from Visual Studio to IIS on Vista using Visual Studio 2008, I thought I'd pass along what I learned.
Even if you have IIS installed (it probably isn't by default, you must also install ASP.NET and IIS 6 management tools. The IIS 6 tools allow you to do the FrontPage integration stuff that Visual Studio uses for publishing. Follow these instructions to
make these configuration changes:
Once the features are installed, you also need to fix a problem with an assembly signing validation failure. It doesn't mention "iisresolver.dll", but this fixes it. The final, ServiceModelReg.exe step is to be sure that WCF is properly integrated with
the ASP.NET installation.
From a Visual Studio 2008 Beta 2 Command Prompt, execute the following commands
to properly configure ASP.NET for WCF:
You must also run Visual Studio as Administrator (my VS 2008 shortcut seems to be setup that way as default though...). If you follow all of these steps, you should be able to create Web sites or WCF services using the local IIS instance using Visual Studio.
UPDATE (9/2/2007): Added the second step in the lower section to register svcutil.exe as this would otherwise crash too.
Mar 05, 2008 06:26 PM|olaamigos|LINK
Nice article, I got it works, thanks John for the information