2014-07-22 23 views
11

Nie sądzę, aby to pytanie zostało odebrane, przepraszam, jeśli przegapiłem wątek.Błąd SSIS: 0xC00160AE - odmowa dostępu

W skrócie, przeprowadziłem instalację wanilii SQL 2012 i SSIS na moim komputerze lokalnym. Skonfigurowałem SSIS do uruchamiania z kontem NT AUTHORITY \ Local Service (również wypróbowałem mój login lokalny) i uruchamiam SSMS pod moim lokalnym loginem (jestem administratorem lokalnym). Instancja SQL działa jako usługa NT \ MSSQLSERVER.

Mogę uzyskać dostęp do usług integracji w eksploratorze obiektów i uruchomić pakiety przy użyciu GUI. Jednak, dzwoniąc z kodu, otrzymuję następujące informacje:

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.

Każda pomoc jest bardzo doceniana !!

Dzięki z góry,

Rich

+0

Chciałbym przypiąć na to, że dokładnie ten błąd będzie także trafiają jeśli już błędnie nazwę instancji usług integracyjnych ... – mcfea

+1

Run SSMS jako admin. –

Odpowiedz

8

Na wypadek, gdyby strona wskazana przez @richhemmings była niedostępna.

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

Kto by pomyślał, strona wskazana przez @richhemmings * jest * niedostępna. – GSerg

Powiązane problemy