troubleshooting Question

Encrypted Database Mirror Error

Avatar of vbplayer
vbplayer asked on
Microsoft SQL Server 2008
1 Comment1 Solution2016 ViewsLast Modified:
I'm using MS SQL 2008 Version 10.0.1600.22 RTM Enterprise Edition (64-bit). I can mirror a database with a witness server without an issue. But, when I try and mirror a database that has TDE encryption on I receive the following error. I can mirror it fine before the encryption but not after the encryption. There is nothing about the error in the SQL logs for event logs.

An error occurred while starting mirror.
  Alter failed for Database 'test2'. (Microsoft.SqlServer.Smo)
     Alter failed for DatabaseEncryptionKey 'Microsoft.SqlServer.Management.Smo.ObjectkeyBase',
  (Microsoft.SqlServer.Smo)
     An exception occurred while executing a Transact-SQL Statement or batch. (Microsoft.Sqlserver.ConnectionInfo)
     Database 'test2' cannot be opened. It is in the middle of a restore. (Microsoft SQL Server, Error: 927)

ASKER CERTIFIED SOLUTION
vbplayer

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

Join our community to see this answer!
Unlock 1 Answer and 1 Comment.
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 1 Answer and 1 Comment.
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