次の方法で共有


Top 3 Reasons for the "The server instance specified was not found. Please specify the server's address and port." Error

The easiest way to install web parts is probably to use this utility from Microsoft called Install Assemblies - very simple and intuitive interface, takes care of creating the Safe Control entries and even creating DWPs for your web part assemblies.

Install Assemblies internally uses STSADM.EXE - more than often you will face the infamous "The server instance specified was not found. Please specify the server's address and port." error. There can be many reasons why you will face this problem, here are top three reasons I've seen in the field either while installing web parts or while using Object Model code -

1) WSS SP1 not installed on all components

Diagnosis: Go to SharePoint Central Administration -> Click Windows SharePoint Services -> Click Extend or Upgrade a Virtual Server (Second Link) -> In the virtual servers listed, do you see "Upgrade" next to your SharePoint virtual server.

Resolution: Upgrade all your components to SP1 using the STSADM.EXE util -> follow steps listed in this KB article

https://support.microsoft.com/?kbid=871149

2) You receive the above error when using SharePoint Object Model code and using the Hostname/Fully Qualified Domain Name (FQDN).

Resolution: Follow this support article https://support.microsoft.com/?kbid=832816

3) You are using SSL, your code works fine while using https://sitename but not https://sitename

Resolution: Use the IP address with https:// instead of the sitename (eg SPSite testSite = new SPSite("https://65.12.12.12");

- Mohammed Jeelani

Comments

  • Anonymous
    May 22, 2005
    For us, it was reason #1 whereas all the googling in the world will point you to reason #2. Thank you for the post, you saved me and my deployment team a great deal of pain&suffering at the hands of our management. My question is, though: How did you make the connection between #1 and the problem? I see nothing that would link the two.

  • Anonymous
    September 26, 2005
    add #4:
    "If the Default Web Site in IIS is set to a port other than port 80, the Typical Installation for Windows SharePoint Services may end without creating a site."

    from http://www.microsoft.com/resources/documentation/wss/2/all/adminguide/en-us/stsi01.mspx

  • Anonymous
    October 07, 2005
    Ditto with Kurt. Thanks Mohammed.

  • Anonymous
    January 20, 2006
    The comment has been removed

  • Anonymous
    March 03, 2006
    The comment has been removed

  • Anonymous
    March 24, 2006
    Umm... This happens to me during a Typical Installation of Windows Sharepoint Services w/SP2

    Any idea???

  • Anonymous
    June 08, 2006
    Hi! http://www.ringtones-dir.com/get/ ringtones site. ringtones site, Free nokia ringtones here, Download ringtones FREE. From website .

  • Anonymous
    June 08, 2006
    ringtones free

  • Anonymous
    June 13, 2006

    Me and my team were working on SharePoint solution very fine and every day we were deploying webparts...

  • Anonymous
    July 03, 2006
    pizza pizza

  • Anonymous
    July 18, 2006
    Hi,

    We have service that use .Net WebClient class to call https://spsites.testserver.com/sites/yukonbp/_vti_bin/owssvr.dll?Cmd=GetUsageBlob&BlobType=Current to get blob data for site Yokonbp. When SSL is enabled (required) I'm getting "The server instance specified was not found.  Please specify the server's address and port." If SSL is not enabled it works fine without any issue


    The SSL matches the FQDN.
    Do you happen to know why it is giving this error or can you please point to someone who can help find a solution for this?

    I would appreciate the help

  • Anonymous
    August 28, 2006
    Hi.

    I've tryed to follow these steps and no one of them solved my problem. WSS was it running very nice on my local machine, then i removed the application and installed again, and this error come to broke my patience. I still not have the suficient knowlege to solve by my self! So i would be greatful if someone could help me! andremcarrano@hotmail.com

    Thanks

  • Anonymous
    January 31, 2007
    Great blog post, ours was due to #1... thanks for saving us loads and loads of time researching!

  • Anonymous
    February 17, 2007
    Thank you for the post.  Solved my problem.

  • Anonymous
    March 16, 2007
    guys guys guys .. im stuck big time .. jus mail me at rayeeswani@gmail.com. im not able to upload a file to the shrepoint.I think im having problems with the url im giving in Dim Site As SPWeb = New spSite(destFolderUrl).OpenWeb. help if you can .

  • Anonymous
    March 28, 2007
    Just to share i just faced this issue and I found that these three were not the only issue. I faced this issue twice and none of the time, the issue os was any of three.

  1. First time, appPool was configured corrcetly. It was set diff in ISS and diff in central admin site.
  2. Second time, default site in ISS was deleted.
  • Anonymous
    April 10, 2007
    Thank you very much!!  It was reason #1 for me.  I wish I would have read this article 3 hours ago :)

  • Anonymous
    April 10, 2007
    Wow awesome thank you so much!! much appreciated

  • Anonymous
    April 26, 2007
    Nice Job.  Our problem was #1... we had been struggling with this for a while!

  • Anonymous
    May 04, 2007
    hi, i am using win2k3 server, in that i have install Team Soundaion server, in the installation time its asking install Share point services2.0 with sp2 then i installed and also giving error like remove MSDE and then re-install share point service2.0 , i removed MSDE, and also giving like that only pls help any one about this....

  • Anonymous
    August 31, 2010
    I have a Windows Server 2003 SP2 with Sharepoint Portal Server SP2 and WSS 2.0 SP3.  In 2006, I had installed several custom web parts to the GAC using the Stsadm tool. The virtual server may need to be upgraded, based on the version number I am seeing in Central Administration. Now, I tried to install another custom web part using the same tool, but I get the error message "The server instance specified was not found. Please specify the server's address and port." The Virtual Server is configured with an IP address of "(All Unassigned)". I tried specifying an -url parameter to Stsadm with the server name, server IP address and port 80, but nothing works. I can enumerate the existing web parts with the Stsadm tool. I don't know where to proceed from here. Can you please help?

  • Anonymous
    March 13, 2011
    I found this was caused by another issue. I've blogged about it here: spfarm.blogspot.com/.../stsadm-server-instance-specified-was.html Thanks Howard

  • Anonymous
    June 21, 2013
    i wat answer this (If not please specify reason for not working)

  • Anonymous
    April 10, 2014
    The comment has been removed