troubleshooting Question

SQL Server 2005: Database migration from one server to another

Avatar of TREOS
TREOS asked on
Microsoft SQL Server
11 Comments2 Solutions1133 ViewsLast Modified:
Hi,

I have been having trouble migrating a SQL2005 database from one server to another. What I am trying to do is setup a test server for the database that's already on the production server. So, I backed up the database on the production server. Then I copied the backup to an external hard drive and then plugged the external hard drive to the test server. Moved the file over to the test server and then, tried to restore it thru SQL Server Mgt studio. I got an error message when I tried to do this.

ERROR:

System.Data.SqlClient.Error: The operating system returned the error '5(Access is denied.)' while attempting 'OpenForRestore' on 'D:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\FTData\ix_STS_BP-NY-DC-01_1\SQL.HDR'. (Microsoft.SqlServer.Smo)

Production server and the test server are in 2 different locations. Production server is on a domain whereas the test server is standalone. I am not sure if it even matters.

I'd really appreciate your help on this problem.

Thanks,
treost
ASKER CERTIFIED SOLUTION
Nightman
CTO

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 2 Answers and 11 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 11 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros