Sql server agent error on server 2016

MUGISA GODFREY 1 Reputation point
2021-06-08T09:26:58.567+00:00

Greeting , am kindly seeking you advise . my scheduled sql backups are failed with the below error . kindly advise on needs to be fixed

error
Executed as user: xxxxx. Microsoft (R) SQL Server Execute Package Utility Version 11.0.7507.2 for 64-bit Copyright (C) Microsoft Corporation. All rights reserved. Started: 7:30:00 PM Error: 2021-06-06 19:30:02.23 Code: 0xC00291EC Source: {632E3ADB-7039-4793-9245-F4892E8A8D1E} Execute SQL Task Description: Failed to acquire connection "Local server connection". Connection may not be configured correctly or you may not have the right permissions on this connection. End Error Warning: 2021-06-06 19:30:02.23 Code: 0x80019002 Source: OnPreExecute Description: SSIS Warning Code DTS_W_MAXIMUMERRORCOUNTREACHED. The Execution method succeeded, but the number of errors raised (1) reached the maximum allowed (1); resulting in failure. This occurs when the number of errors reaches the number specified in MaximumErrorCount. Change the MaximumErrorCount or fix the errors. End Warning Error: 2021-06-06 19:30:02.29 Code: 0xC0024104 Source: Back Up Database Task Description: The Execute method on the task returned error code 0x8007007E (Could not load file or assembly 'System.EnterpriseServices.Wrapper.dll' or one of its dependencies. The specified module could not be found.). The Execute method must succeed, and indicate the result using an "out" parameter. End Error Warning: 2021-06-06 19:30:02.29 Code: 0x80019002 Source: Subplan_1 Description: SSIS Warning Code DTS_W_MAXIMUMERRORCOUNTREACHED. The Execution method succeeded, but the number of errors raised (2) reached the maximum allowed (1); resulting in failure. This occurs when the number of errors reaches the number specified in MaximumErrorCount. Change the MaximumErrorCount or fix the errors. End Warning Error: 2021-06-06 19:30:02.31 Code: 0xC0024104 Source: {6B7F7B80-9E90-424B-B288-F2CC4357BD63} Description: The Execute method on the task returned error code 0x8007007E (Could not load file or assembly 'System.EnterpriseServices.Wrapper.dll' or one of its dependencies. The specified module could not be found.). The Execute method must succeed, and indicate the result using an "out" parameter. End Error Warning: 2021-06-06 19:30:02.31 Code: 0x80019002 Source: OnPostExecute Description: SSIS Warning Code DTS_W_MAXIMUMERRORCOUNTREACHED. The Execution method succeeded, but the number of errors raised (2) reached the maximum allowed (1); resulting in failure. This occurs when the number of errors reaches the number specified in MaximumErrorCount. Change the MaximumErrorCount or fix the errors. End Warning DTExec: The package execution returned DTSER_FAILURE (1). Started: 7:30:00 PM Finished: 7:30:02 PM Elapsed: 1.703 seconds. The package execution failed. The step failed.

SQL Server | Other
SQL Server | Other

Additional SQL Server features and topics not covered by specific categories

0 comments No comments

2 answers

Sort by: Most helpful
  1. Alberto Morillo 35,506 Reputation points MVP Volunteer Moderator
    2021-06-08T15:46:14.363+00:00

    Please enable .NET Framework 3.5 on that server using the following command:

    dism /online /enable-feature /featurename:NetFx3 /source:d:\sources\sxs
    

    More ways to enable it can be found here.

    You can also copy the following 2 DLLs System.EnterpriseServices.dll and System.EnterpriseServices.Wrapper.dll to C:\WINDOWS\Microsoft.NET\assembly\GAC_32\System.EnterpriseServices\v4.0_4.0.0.0__????????????. You may find them using command prompt "C:\> DIR /s" and copy them or on another server also.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments

  2. AmeliaGu-MSFT 14,016 Reputation points Microsoft External Staff
    2021-06-09T05:58:46.367+00:00

    Hi Mugisa,

    Welcome to Microsoft Q&A.
    Please make sure the SQL Server agent service have permissions to connect to database.
    And please try to update your windows version to newest one.
    Here is a similar thread which might help.

    Best Regards,
    Amelia

    Was this answer helpful?

    0 comments No comments

Your answer

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