Solved

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

Posted on 2012-03-21
3
1,007 Views
Last Modified: 2012-03-21
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
Comment
Question by:rsnellman
  • 3
3 Comments
 

Author Comment

by:rsnellman
ID: 37750125
OK, adding "-databaseserver SQLServer1:1433\" did not work either.
0
 

Author Comment

by:rsnellman
ID: 37750135
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
 

Accepted Solution

by:
rsnellman earned 0 total points
ID: 37750271
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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Note:  There are two main ways to deploy InfoPath forms:  Server-side and directly through the SharePoint site.  Deploying a server-side InfoPath form means the form is approved by the Administrator, thus allowing greater functionality in the form. …
This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
This tutorial will give a an overview on how to deploy remote agents in Backup Exec 2012 to new servers. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as connecting to a remote Back…
This tutorial will show how to configure a new Backup Exec 2012 server and move an existing database to that server with the use of the BEUtility. Install Backup Exec 2012 on the new server and apply all of the latest hotfixes and service packs. The…

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question