Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

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

Posted on 2012-03-21
3
1,013 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

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

OfficeMate Freezes on login or does not load after login credentials are input.
Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
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 walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…

789 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