Welcome to MSDN Blogs Sign in | Join | Help

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

http://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 http://support.microsoft.com/?kbid=832816

3) You are using SSL, your code works fine while using http://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

Published Saturday, March 05, 2005 6:03 PM by mjeelani
Filed under:

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

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

Monday, May 23, 2005 7:48 AM by Kurt Yokum
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.

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

Monday, September 26, 2005 7:20 PM by MSprey
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

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

Friday, October 07, 2005 4:37 PM by Ted Eull
Ditto with Kurt. Thanks Mohammed.

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

Friday, January 20, 2006 1:43 PM by Leo B
Reason #1, after installing WSS SP2 - I've been scratching my head all morning until I saw this article. Thank you, Mohammed!!!

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

Saturday, March 04, 2006 7:44 AM by Maher Elian
Ok, I think I have case #2.
Now I modified the IIS according to your description above and it seems working.
Thanks a million.

Only one question about the value that I should fill at the "Host header value"?
What I did that I filled it with the DNS name that I have created for my portal NLB portal.

Please correct me if I am wrong.

Best regards,
And thanks again.

ME.

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

Friday, March 24, 2006 9:05 AM by Ray Frangie
Umm... This happens to me during a Typical Installation of Windows Sharepoint Services w/SP2

Any idea???

# ringtones free

Thursday, June 08, 2006 11:25 PM by ringtones free
Hi! http://www.ringtones-dir.com/get/ ringtones site. ringtones site, Free nokia ringtones here, Download ringtones FREE. From website .

# tuu7474@mail.ru

Thursday, June 08, 2006 11:25 PM by tuu7474@mail.ru
ringtones free

# "The server instance specified was not found. Please specify the server's address and port." Error

Tuesday, June 13, 2006 8:36 AM by Marwan Tarek's Blog

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

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

Monday, July 03, 2006 11:22 PM by pizza
pizza pizza

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

Tuesday, July 18, 2006 12:26 PM by Ramesh Krishnan
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

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

Monday, August 28, 2006 4:13 PM by Carrano
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

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

Wednesday, January 31, 2007 3:52 PM by Blake

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

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

Sunday, February 18, 2007 3:59 AM by Bundio

Thank you for the post.  Solved my problem.

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

Friday, March 16, 2007 8:20 AM by rayees

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 .

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

Thursday, March 29, 2007 7:19 AM by Nisha

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.

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

Tuesday, April 10, 2007 11:07 PM by Swimmer

Thank you very much!!  It was reason #1 for me.  I wish I would have read this article 3 hours ago :)

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

Wednesday, April 11, 2007 3:55 AM by Craig Goodspeed

Wow awesome thank you so much!! much appreciated

# re: Top 3 Reasons

Thursday, April 26, 2007 1:59 PM by Greg Gage

Nice Job.  Our problem was #1... we had been struggling with this for a while!

# Problem with Team Foundation Services

Saturday, May 05, 2007 7:04 AM by Ramana.SV

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....

Leave a Comment

(required) 
required 
(required) 

  
Enter Code Here: Required
 
Page view tracker