For one of my projects I have to use a Vista pc with VS2008 to develop a website and webservices. I want to use the local IIS server instead of the Visual Studio Development Server to debug my project.
Steps to be taken:
Steps to be taken:
- In visual studio, go to the properties of your website project. From the diffferent tabs (Application, compile,...) choose Web.
- Under 'Servers', select 'Use local IIS server'.
- the default project url is http://localhost/myproject . Click the 'Create virtual directory' button.
- This message pops up : you need to install the "IIS Metabase and IIS6 Configuration Compatibility" feature under Internet Information Services-Web Management Tools-IIS 6 Management Capability to get the IIS6 ADSI provider installed.It means that IIS is not installed or not fully configured on this pc.
- Close Visual Studio
- Open Configuration panel , select Add/Remove programs. On the left you have a link to 'Turn Windows features on or off'. Click this link.
- In the dialog box scroll to 'Internet Information services' / 'Web management and enable 'IIS Metabase and IIS6 Configuration Compatibility'.
- Next you need to enable ASP.NET under the same 'Internet Information services' select Developer functions and check ASP.NET.
- Click OK. this will take some minutes.
- Open the visula studio project again and in the Web properties, click on the Create Virtual Directory. this should work now.
No comments:
Post a Comment