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
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...
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:
Windows Features
In Windows Vista, open Control Panel and then click Programs and Features.
In the right pane, click Turn Windows features on or off. The Windows Features dialog box opens.
Select the Internet Information Services check box.
NOTE: Certain necessary related features will automatically be selected when others are selected
Double-click (or expand) Web Management Tools, double-click IIS 6 Management Compatibility, and then select the
IIS 6 Metabase and IIS 6 Configuration Compatibility check box.
Double-click (or expand) World Wide Web Services, double-click Application Development Features, and then select the
ASP.NET check box.
Double-click (or expand) Security, and then select the Windows Authentication check box. (this step may not be necessary depending on your security needs).
vii. Click OK
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.
"c:\Windows\Microsoft.NET\Framework\v3.0\Windows Communication Foundation\ServiceModelReg.exe" –i
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.
Phew!
UPDATE (9/2/2007): Added the second step in the lower section to register svcutil.exe as this would otherwise crash too.
Marked as answer by olaamigos on Mar 05, 2008 06:27 PM
olaamigos
4 Posts
Unable to Publish Web Application on the Local IIS
Mar 04, 2008 03:43 PM|LINK
Hello,
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)
ASP.NET
http://img141.imageshack.us/img141/5629/iisaj1.jpg
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
johnkaplar
4 Posts
Re: Unable to Publish Web Application on the Local IIS
Mar 04, 2008 07:58 PM|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...
johnkaplar
4 Posts
Re: Unable to Publish Web Application on the Local IIS
Mar 04, 2008 10:07 PM|LINK
Ok, I found the solution...thanks to Arian Kulp's blog: http://www.ariankulp.com/archive/2007/08/30/2473.aspx
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:
NOTE: Certain necessary related features will automatically be selected when others are selected
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. Phew!
UPDATE (9/2/2007): Added the second step in the lower section to register svcutil.exe as this would otherwise crash too.
olaamigos
4 Posts
Re: Unable to Publish Web Application on the Local IIS
Mar 05, 2008 06:26 PM|LINK
Nice article, I got it works, thanks John for the information