Article ID: 927376 - Last Review: January 10, 2008 - Revision: 3.0 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"SYMPTOMS In SharePoint 3.0 Central Administration, you try to create a Microsoft Windows SharePoint Services 3.0 Web application and then extend the Web application to a Microsoft Internet Information Services (IIS) Web site. When you configure the settings for the Web site, you do not assign a host header name to the Web site. However, when you click OK on the Create New Web Application page, you receive one of the following error messages: Error message 1 The IIS Web Site you have selected is in use by SharePoint. You must select another port or hostname. Error message 2 The directory <directory name> is already being used by another IIS Web Site. Choose a different root directory for your new Web application. CAUSEThis issue occurs if the following conditions are true:
WORKAROUNDTo work around this issue, follow these steps:
MORE INFORMATIONThe issue that is discussed in this article is an expected behavior. When you use Internet Information Services (IIS) Manager instead of SharePoint 3.0 Central Administration to change the settings of an IIS Web site, Windows SharePoint Services 3.0 is not aware of the new settings. When you stop the SharePoint Web Application service, Windows SharePoint Services 3.0 deletes the IIS Web sites from the server. When you then restart the SharePoint Web Application service, Windows SharePoint Services 3.0 re-creates the IIS Web sites based on the settings that Windows SharePoint Services 3.0 was originally aware of. You must reapply any changes to settings that you made outside SharePoint 3.0 Central Administration. These settings include changes to settings such as bindings and certificate assignments. During the design stage for Windows SharePoint Services 3.0, it was expected that these types of changes would occur infrequently. Therefore, additional administration steps were not added to Windows SharePoint Services 3.0 administration. Unfortunately, Windows SharePoint Services 3.0 does not expose the full set of IIS bindings in the Web application creation administration pages. Specifically, Windows SharePoint Services 3.0 does not expose the IP address assignment. The reason is that while other binding are typically identical for all servers in a server farm, the IP binding is almost always unique for each server in a server farm when you want to assign such a binding. This scenario presents an issue in which Windows SharePoint Services 3.0 would have had to include a control to specify what the binding is for each server. However, the control does not fit well with the concept that each server is a clone of every other server in the server farm model. Additionally, if you later decide to add a server to the server farm, Windows SharePoint Services 3.0 would have to provide a way to specify what the binding must be for the new server before Windows SharePoint Services 3.0 creates an IIS Web site for the Web application. During the design stage, some efforts were made to resolve this issue. However, after additional investigation, the solutions that were examined did not significantly improve the experience beyond the manual workarounds.
| Article Translations
|
Back to the top
