in

SharePoint Blogs

The Best Place for SharePoint-related Blogs

akila's blog

The server instance specified could not be found.Please specify the port and server's address

All that I wanted to do was to move Sharepoint data that involves documents (including versions), risks, issues and other lists data from one sharepoint site to another sharepoint site. The catch here was the sharepoint sites were in different hosts and virtual servers. Note that both the virtual servers had IP Address as All Unassigned. I wrote code using the Sharepoint Object Model and when I ran to check my code, BAM the error pops up. When the source and destination sites are in the same host and virtual server there is no problem but when they are different the issues creeps up.

I tried using stsadm to backup and restore the sites (I was ready to do the manual work) but then to my surprise stsadm also gave me the same error. Back to sqaure one, I tried doing various options given in other blogs. The following are the fixes I tried:

1. Installed SP1 and then force upgraded all the site using the command  stsadm -o upgrade -forceupgrade.

2. Followed the steps in Knowledge base article 832816 : http://support.microsoft.com/?kbid=832816. Since the IP Address was All Unassigned, I tried accessing the site using the virtual servername.

3. Gave anonymous access to the site I'm trying to access. Ran the Application Pool using powered user identity. I impersonated in my code with the same identity but of no use. Created a strong name key for my exe and then registered in the GAC of the server which I'm trying to access as it was mentioned that dll's under the GAC have full trust. Set the trust level in the web.config file of WSS to Full instead of Wss_Minimal.

Well none of the fixes worked out and here is what I did finally,

Created a site using the Sharepoint Object model without applying a template and then created a batch file with smigrate backup and restore commands for all the sites that I wanted to migrate and then ran the batch file. This is just a workaround and will post if I get any other fix for this problem.

Comments

No Comments

Leave a Comment

(required )  
(optional )
(required )  
Add

Need SharePoint Training? Attend a SharePoint Bootcamp!

Posts (c) their respective authors. Everything else (c) 2007 SharePoint Experts