Article ID: 832816 - Last Review: September 26, 2007 - Revision: 3.3 "The server instance specified was not found" error message when you perform an operation on a virtual server in Windows SharePoint ServicesSYMPTOMSIn Microsoft Windows SharePoint Services, when you use the
Stsadm.exe command-line tool to perform an operation on a virtual server by
using its host name, or when you create a custom Web application that uses the
Windows SharePoint Services object model to perform an operation on a virtual
server by using its host name, you may receive the following error message:
The server instance specified was not found. Please
specify the server's address and port. SPSite testSite = new SPSite("http://SiteName");
String strURL = oSite.Url.ToString (); CAUSEThis problem may occur if the virtual server is assigned a
specific IP address in Microsoft Internet Information Services (IIS) and the
host name of the virtual server is mapped in DNS. In this situation, the host
name is not mapped in the metabase, and Windows SharePoint Services does not
query DNS to resolve the host name. RESOLUTIONTo resolve this issue, do one of the following, as
appropriate to your situation:
MORE INFORMATIONFor additional information about the Stsadm.exe command-line
utility, see the Microsoft Windows SharePoint Services 2.0 Administrator's Guide. To obtain the Microsoft Windows SharePoint Services 2.0 Administrator's Guide, visit the following Microsoft Web site: http://www.microsoft.com/downloads/details.aspx?FamilyID=a637eff6-8224-4b19-a6a4-3e33fa13d230&displaylang=en
(http://www.microsoft.com/downloads/details.aspx?FamilyID=a637eff6-8224-4b19-a6a4-3e33fa13d230&displaylang=en)
For additional information about the Windows SharePoint Services
object model, see the Microsoft Windows SharePoint Services Software
Development Kit (SDK). To obtain the Windows SharePoint Services SDK, visit the
following Microsoft Web site: http://www.microsoft.com/downloads/details.aspx?familyid=1c64af62-c2e9-4ca3-a2a0-7d4319980011&displaylang=en
(http://www.microsoft.com/downloads/details.aspx?familyid=1c64af62-c2e9-4ca3-a2a0-7d4319980011&displaylang=en)
For more information about Windows SharePoint Services, visit the
following Microsoft Web site: http://technet.microsoft.com/windowsserver/sharepoint/default.aspx
(http://technet.microsoft.com/windowsserver/sharepoint/default.aspx)
| Article Translations
|
Back to the top
