[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1086
  • Last Modified:

HELP!!! Cannot attach content database for SharePoint Foundation 2010...

HELP!!!  I cannot attach the content database for SharePoint Foundation 2010.

I am using the SharePoint 2010 Management Shell on the new server that is running Foundation.

When I type in the following command, I receive a "The server instance specified was not found. Please specify the server's address and port."

stsadm -o addcontentdb -url http://SPServer2 -clearchangelog -databasename WSS_Content -databaseserver SQLServer1\ -databaseuser domain\Administrator -databasepassword xxxxxxx -sitewarning 9000 -sitemax 15000


The SQL Server 2005 database resides on a remote SQL server (SQLServer1) while the Foundation is installed on the server (SPServer2) I am trying to attach/upgrade the content database that is being migrated from my old WSS 3.0 server.


SPServer2 = Server 2008 R2 with SharePoint Foundation 2010
SQLServer1 = Server 2008 R2 with SQL 2005 SP4 x64

I already have the Foundation Server Farm/Site settings configured.  Now I am just trying to attach this content database.  I was successful with a test server migration, but never ran into this issue during the testing phase.

What am I missing?  Any ideas?


Thanks in advance.
0
rsnellman
Asked:
rsnellman
  • 3
1 Solution
 
rsnellmanAuthor Commented:
OK, adding "-databaseserver SQLServer1:1433\" did not work either.
0
 
rsnellmanAuthor Commented:
I know it the firewall is not blocking it because I had a default content database that up until a few moments ago resided on the SQLServer1 system.
0
 
rsnellmanAuthor Commented:
OK, I have it figured out.  Sorry for the freaking out.

Apparently, you have to recreate the SharePoint port 80 web app before you can migrate/upgrade the WSS_Content from WSS 3.0 because it needs to be able to attach to an existing web app.  Duh.

Thanks anyways.
0

Featured Post

Making Bulk Changes to Active Directory

Watch this video to see how easy it is to make mass changes to Active Directory from an external text file without using complicated scripts.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now