[技术分享 - RMS 篇] ADRMS/RMS 连不上后台 SQL 服务器
(2011-07-11 14:28:34)
标签:
it |
分类: [技术分享-RMS篇] |
在 ADRMS、RMS 安装过程中,或者后台 SQL 数据库迁移过程中,你可能遇到连不上 SQL 数据库的情况。可能在事件日志中看到如下报错:
Log
Name:
Source:
Date:
Event
ID:
Task Category: None
Level:
Keywords:
User:
Computer:
Description:
Service cannot be started. System.Data.SqlClient.SqlException: Login failed for user ''. The user is not associated with a trusted SQL Server connection.
Event Xml:
遇到类似的问题,请首先检查一下 RMS 服务运行账号是否已经拥有了 SQL 数据库本机/DB 管理员的权限。
如果 RMS 连 SQL 使用的是 CNAME, 尝试下列步骤(需要重启服务器):
在 SQL 服务器上添加下列注册表键值:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa
DWORD:DisableLoopbackCheck
Value:1
在 SQL 服务器和 RMS/ADRMS 服务器上添加下列注册表键值:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanserver\parameters
DWORD: DisableStrictNameCheckin
Value: 1
微软安全支持专家
James Yi