Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Administration
 Job execution problem (SQLSERVER 2012)

Author  Topic 

sbra001
Starting Member

3 Posts

Posted - 2014-08-31 : 04:23:59
I am facing a problem to execute a backup job with the following error :

Date 8/31/2014 8:47:16 AM
Log Job History (FULL_BACKUP.ALL_DATABASES_FULL_BACKUP)

Step ID 1
Server HMDSQL1
Job Name FULL_BACKUP.ALL_DATABASES_FULL_BACKUP
Step Name ALL_DATABASES_FULL_BACKUP
Duration 00:00:01
Sql Severity 0
Sql Message ID 0
Operator Emailed
Operator Net sent
Operator Paged
Retries Attempted 0

Message
Executed as user: NT Service\SQLSERVERAGENT. Microsoft (R) SQL Server Execute Package Utility Version 11.0.2100.60 for 64-bit Copyright (C) Microsoft Corporation. All rights reserved. Started: 8:47:16 AM Error: 2014-08-31 08:47:17.08 Code: 0xC00291EC Source: {F41A6B08-0AA9-4ABB-B201-ED358E46130E} 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: 2014-08-31 08:47:17.08 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: 2014-08-31 08:47:17.09 Code: 0xC0024104 Source: {DEABC372-83E5-42ED-AE18-33F218E8F26F} Description: The Execute method on the task returned error code 0x80131904 (Login failed for user 'sa'.). The Execute method must succeed, and indicate the result using an "out" parameter. End Error Warning: 2014-08-31 08:47:17.09 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: 8:47:16 AM Finished: 8:47:17 AM Elapsed: 0.468 seconds. The package execution failed. The step failed.

I am asking the experts a help to solve this issue.

Thank you.
Saadeddine

gbritton
Master Smack Fu Yak Hacker

2780 Posts

Posted - 2014-08-31 : 08:23:51
The problem is in the message:

"Failed to acquire connection "Local server connection". Connection may not be configured correctly or you may not have the right permissions on this connection."

This is also a clue:

"Login failed for user 'sa'"

Are you trying to run this job as use 'sa'? If so, check the password you are using. If not, the problem is in your connection definition. check the connection string and verify that it works from the server and account running the agent job

Go to Top of Page

sbra001
Starting Member

3 Posts

Posted - 2014-08-31 : 10:32:27
Thank you for your help.

The "local server connection" and the sa password was correct. I made some corrections to backup maintenance plan and it's ok.

Saadeddine.
Go to Top of Page
   

- Advertisement -