troubleshooting Question

SQL Server 2008R2 Copy Database fails trying to create a domain login

Avatar of dcadler
dcadler asked on
Microsoft SQL ServerMicrosoft SQL Server 2008Windows Server 2008SSIS
4 Comments2 Solutions2156 ViewsLast Modified:
I have an existing SQL Server 2008R2 server on Domain_A and a new SLQ Server 2008R2 on Domain_B. I am trying to use the Copy Database SSIS method to copy an existing database from Domain_A to Domain_B. I am using SQL authentication on both accounts to get around untrusted domain issues.

In to Copy Database Wizard, on the "Select Server Objects" page, I removed the Logins object from the "Select related objects" field because I want to re-create logins form Domain_B once the database is copied.

However, the copy database wizard fails with an Event ID 12550 in the destination server application event log (source: SQLISPackage100), stating the following;

Message: Error: Error code= -1073548784  description = Executing the query "Create user [Domain_A\IUSR_MA3] for login [Domain_A\IUSR_MA3] failed with the following error: Windows NT user or group "Domain_A\IUSR_MA3" not found.

It appears that it is trying to create a login for the database on the destination server, even though I explicitly removed the "logins" from the Selected server objects list.

Any ideas?

Thanks,

Dave
ASKER CERTIFIED SOLUTION
Join our community to see this answer!
Unlock 2 Answers and 4 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 4 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