Tuesday, September 1, 2009

Error:The IIS Web Site you have selected is in use by SharePoint

Error message when you try to create a Windows SharePoint Services 3.0 Web application in SharePoint 3.0 Central Administration: "The IIS Web Site you have selected is in use by SharePoint"
See Microsoft KB 927376

To work around this issue, follow these steps:
In SharePoint 3.0 Central Administration, assign a host header name to each Web application that you create that uses the same port. The host header name differentiates each Web site on the port. To assign a host header name when you create a Web application, follow these steps:
  • Start SharePoint 3.0 Central Administration.

  • Click Application Management, and then click Create or extend Web application under SharePoint Web Application Management.

  • On the Create or Extend Web Application page, click Create a Web Application.

  • On the Create a New Web Application page, specify the settings that you want for the Web application. In the IIS Web Site area, make sure that you specify the host header name in the Host Header box.

  • Click OK.

After the Web site is created in IIS, use Internet Information Services (IIS) Manager to remove the host header name. Then, assign an IP address to the Web site. To do this, follow these steps:

  • Start Internet Information Services (IIS) Manager.

  • Expand ServerName, and then expand Web Sites.

  • Right-click the Web site that you want to configure, and then click Properties.

  • Click the Web Site tab, and then click Advanced.

  • In the Advanced Web Site Identification dialog box, click the entry for the Web site, and then click Edit.

  • Remove the host header name that appears in the Host header value box, and then assign the IP address that you want in the IP address box.

  • Click OK three times.

No comments: