Article ID: 928574 - Last Review: May 9, 2007 - Revision: 1.1 You may receive an error message when you try to create a new Web site project or publish a ClickOnce application in Visual Studio 2005 on a Windows Vista-based computerOn This PageSYMPTOMSWhen you try to create a new Web site project or publish a ClickOnce application in Microsoft Visual Studio 2005 on a Windows Vista-based computer, you may receive one or more of the following error messages: Error message 1 Error HRESULT E_FAIL has been returned from a call to a COM component Error message 2 You must be a member of the Administrators group on the local computer to access the IIS metabase. Therefore, you cannot create or open a local IIS Web site. If you have Read, Write, and Modiy permissions for the folder where the files are located, you can create a file system Web site that points to the folder in order to edit the files. CAUSEYou receive error message 1 because of increased security in Windows Vista. You receive error message 2 because the IIS Metabase and IIS 6 configuration compatibility option is not enabled. RESOLUTIONTo resolve this problem, use one of the following methods, depending on the error message that you receive. Error message 1Run Visual Studio 2005 as an administrator. To do this, follow these steps:
Error message 2Enable the IIS Metabase and IIS 6 configuration compatibility option for Microsoft Internet Information Services (IIS). To do this, follow these steps:
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section. MORE INFORMATIONBy default, IIS is not installed on Windows Vista. By default, when you select Internet Information Services in the Turn Windows features on or off item in Control Panel, the IIS Metabase and IIS 6 configuration compatibility check box is not selected. REFERENCESFor more information about Visual Studio on Windows Vista, visit the following Microsoft Developer Network (MSDN) Web site: http://msdn2.microsoft.com/en-us/vstudio/aa948853.aspx
(http://msdn2.microsoft.com/en-us/vstudio/aa948853.aspx)
| Article Translations
|
Back to the top
