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.
rsnellmanIT ManagerAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

rsnellmanIT ManagerAuthor Commented:
OK, adding "-databaseserver SQLServer1:1433\" did not work either.
0
rsnellmanIT ManagerAuthor 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
rsnellmanIT ManagerAuthor 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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft SharePoint

From novice to tech pro — start learning today.