2014-07-22 266 views
11

我不認爲這個問題已被回答,道歉,如果我錯過了一個線程。SSIS錯誤:0xC00160AE - 訪問被拒絕

總之,我在本地機器上執行了一個SQL 2012和SSIS的香草安裝。 我已經配置SSIS與NT AUTHORITY \ Local服務帳戶(也嘗試我的本地登錄)運行,並在我本地登錄(我是本地管理員)下運行SSMS。 SQL實例作爲NT Service \ MSSQLSERVER運行。

我可以在對象瀏覽器中訪問Integration Services並使用GUI運行包。但是,從代碼調用時,我得到以下內容:

Could not load package "\MSDB\FileLoad\CustomerMaster_Customer" because of error 0xC00160AE. Description: Connecting to the Integration Services service on the computer "UKLT-RHE-1" failed with the following error: "Access is denied."

By default, only administrators have access to the Integration Services service. On Windows Vista and later, the process must be running with administrative privileges in order to connect to the Integration Services service. See the help topic for information on how to configure access to the service.

任何幫助,非常感謝!

由於提前,

豐富

+0

我想銷到這一點,這個確切的錯誤也會拋出,如果你拼錯了你的集成服務,例如... – mcfea

+1

運行SSMS作爲管理員的名稱。 –

回答

8

以防由@richhemmings指示的頁面不可用。

To grant access to the Integration Services service

1.Run Dcomcnfg.exe. Dcomcnfg.exe provides a user interface for modifying certain settings in the registry.

2.In the Component Services dialog, expand the Component Services > Computers > My Computer > DCOM Config node.

3.Right-click Microsoft SQL Server Integration Services 11.0, and then click Properties.

4.On the Security tab, click Edit in the Launch and Activation Permissions area.

5.Add users and assign appropriate permissions, and then click Ok.

6.Repeat steps 4 - 5 for Access Permissions.

7.Restart SQL Server Management Studio.

8.Restart the Integration Services Service.

+0

誰會想到,由@richhemmings *指定的頁面*不可用。 – GSerg