简体   繁体   中英

SSIS Deployment Error while deploying packages into SQL Server

I was Trying to deploy SSIS package from Visual studio 2019 into MS SQL Server 2016, I have been facing deployment error as shown below:

"“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.”

After few hours of debugging found that the error is actually from SQL Server. SQL Server is unable to run the stored procedure from SSISDB " [catalog].[check_schema_version] ".

Hence we realized that there are certain privileges for the current service account on which SQL Server is running. Hence we have created a new local admin account and provided all privileges.

• As per Microsoft suggestion, we have added the SQl server service account & SQL server integration service account in the below Configs: o Edited DCOM config properties and provided granted the Local Launch and Local Activation permissions for the below component services

Microsoft SQL Server Integration Services 11.0, Microsoft SQL Server Integration Services 12.0 and Microsoft SQL Server Integration Services 13.0

o Further we extended permissions for both the service accounts as below:

   Log on as a service .
   Permission to write to application event log.
   Impersonate a client after authentication.
   Adjust memory quotas for a process

Below are the two group policies yet to be added:

   Bypass traverse checking 
   Replace a process-level token

I would like to know if this resolves the issue and please suggest anything that we are missing here to resolve the issue.

After adding the New service account to the listed group policies, the deployment got succeeded.

I ran into this problem after a new Security Policy was put in place that broke WinRM (disabled "Allow remote server management through WinRM"). Even after rolling back the change I could not deploy SSIS packages. I finally fixed the problem by running the "Repair" SQL option from the installation disk and then restarting the server. After that deployments worked as normal.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM