2015-12-09 177 views
3

我想部署一个SSDT 2012 SSIS项目使用部署选项。但我得到以下错误:SSDT 2012 - ssis部署错误

TITLE: SQL Server Integration Services

A .NET Framework error occurred during execution of user-defined routine or aggregate "deploy_project_internal": System.ComponentModel.Win32Exception: A required privilege is not held by the client System.ComponentModel.Win32Exception: at Microsoft.SqlServer.IntegrationServices.Server.ISServerProcess.StartProcess(Boolean bSuspendThread) at Microsoft.SqlServer.IntegrationServices.Server.ServerApi.DeployProjectInternal(SqlInt64 deployId, SqlInt64 versionId, SqlInt64 projectId, SqlString projectName) . (Microsoft SQL Server, Error: 6522)

For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft%20SQL%20Server&ProdVer=11.00.5058&EvtSrc=MSSQLServer&EvtID=6522&LinkId=20476

任何想法为什么这个错误?下面是错误的屏幕截图。

enter image description here

回答

0

该错误往往意味着SQL Server代理帐户的地方缺少权限。在这种情况下,“所需的特权不由客户端持有”意味着调用SQL Agent帐户来执行某些操作,但不允许执行某些操作。

要尝试的一件事是使用SQL Server配置管理器作为管理员重置SQL Server代理(可能还有SQL Server本身)的帐户。如果您有足够的权利,这将恢复所需的权限。

我曾见过组策略禁止将服务帐户分配给操作系统级需要的权限,这真的会产生问题。

例子:http://blogs.msdn.com/b/dataaccesstechnologies/archive/2012/08/20/error-while-deploying-ssis-2012-project-from-ssdt-to-ssis-catalog-system-componentmodel-win32exception-a-required-privilege-is-not-held-by-the-client.aspx