Rebuild index scheduled on maintenance plan fails

Rukayya LY 0 Reputation points
2023-02-03T11:34:18.07+00:00

After scheduling index rebuild and reorganize, the job failed with the below error. Kindly assist

Message

Executed as user: . Microsoft (R) SQL Server Execute Package Utility Version 13.0.6300.2 for 64-bit Copyright (C) 2016 Microsoft. All rights reserved. Started: 12:32:04 PM Error: 2023-02-03 12:32:05.28 Code: 0xC00291EC Source: {C2F00662-E4DC-46F8-9319-D7366D40A9BA} 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: 2023-02-03 12:32:05.28 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: 2023-02-03 12:32:05.29 Code: 0xC0024104 Source: Rebuild Index Task Description: The Execute method on the task returned error code 0x80131904 (Login failed. The login is from an untrusted domain and cannot be used with Windows authentication.). The Execute method must succeed, and indicate the result using an "out" parameter. End Error Warning: 2023-02-03 12:32:05.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: 2023-02-03 12:32:05.30 Code: 0xC0024104 Source: {C279CD38-3793-4EC3-A8D0-00A4C6086743} Description: The Execute method on the task returned error code 0x80131904 (Login failed. The login is from an untrusted domain and cannot be used with Windows authentication.). The Execute method must succeed, and indicate the result using an "out" parameter. End Error Warning: 2023-02-03 12:32:05.30 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: 12:32:04 PM Finished: 12:32:05 PM Elapsed: 0.922 seconds. The package execution failed. The step failed.

Windows Server 2016
Windows Server 2016
A Microsoft server operating system that supports enterprise-level management updated to data storage.
2,371 questions
0 comments No comments
{count} votes