Error : SSIS Transactions

Rahul Polaboina 181 Reputation points
2022-05-27T19:33:08.19+00:00

Hello , To enable transactions in SSIS, I did the following

  1. Set "TransactionOption" to Required on package level
  2. Set "transactionOption" to supported on container level
  3. set retain connection to true for all connection managers

When I run the package, it is throwing the error message - Failed to acquire connection.Connection may not be configured correctly or you may not have right permissions on this connection.

Am I missing anything here ??

Can anyone help in fixing this error,thanks

SQL Server Integration Services
SQL Server Integration Services
A Microsoft platform for building enterprise-level data integration and data transformations solutions.
2,704 questions
Developer technologies | Transact-SQL
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Olaf Helper 47,441 Reputation points
    2022-05-30T05:56:38.473+00:00

    Am I missing anything here ??

    Nearly everything, like providing informations about the connection you use in SSIS package and much more details, which we can't guess.

    1 person found this answer helpful.

  2. ZoeHui-MSFT 41,491 Reputation points
    2022-05-30T06:09:54.2+00:00

    Hi @Rahul Polaboina ,

    Are you running the package from Visual Studio or SQL agent job?

    Please have a check if you could connect to the connection manager successfully.

    Also ensure that you have given the necessary permissions to the SQL Agent account if you run in job.

    Regards,

    Zoe


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.

  3. Tom Phillips 17,771 Reputation points
    2022-05-31T16:56:02.177+00:00

    This error occurs when DTC is not running or configured correctly.

    Please see:
    https://stackoverflow.com/questions/15771134/ssis-enabling-transactions-causes-database-connection-to-fail


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.