我刚在Windows 2003 Server上安装了SQL Server 2008 R2 Enterprise试用版,并尝试在我的数据库上实现透明数据加密(TDE)。它失败了,错误:
透明数据加密在此SQL Server的版本中不可用
这是我做的和结果:
USE master;
CREATE MASTER KEY ENCRYPTION BY PASSWORD = 'some_password';
--Result: Completed successfully
CREATE CERTIFICATE MyCert WITH SUBJECT = 'My Certificate';
--Result: Completed successfully
USE mydatabase;
CREATE DATABASE ENCRYPTION KEY
WITH ALGORITHM = AES_256
ENCRYPTION BY SERVER CERTIFICATE MyCert
--Result: Msg 33117, Level 16, State 1, Line 2
Transparent Data Encryption is not available in the edition of this SQL Server instance.
Microsoft是否限制在试用版上使用TDE?
答案 0 :(得分:1)
解决。事实证明,在安装Enterprise试用版之前我没有正确卸载Express版本,因此服务器仍在Express模式下运行。我做了一次完整的服务器大修,从头开始重新安装Enterprise试用版,并让TDE工作。