SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Maintenance Jobs Fail After Changing sa Password


Maintenance Jobs Fail After Changing sa Password

Author
Message
hayden_jones
hayden_jones
SSC-Addicted
SSC-Addicted (431 reputation)SSC-Addicted (431 reputation)SSC-Addicted (431 reputation)SSC-Addicted (431 reputation)SSC-Addicted (431 reputation)SSC-Addicted (431 reputation)SSC-Addicted (431 reputation)SSC-Addicted (431 reputation)

Group: General Forum Members
Points: 431 Visits: 257
On a number of different instances of various SQL versions, Including
SQL2005 and 2008, I am having Maint jobs failing with connection errors
after changing the sa password.

The agent is run by a Domain id.

Agent connection properties show windows authentication.

Recreating the job new works around the problem, but it is time consuming.

I can log into ssms as sa or with windows authentication and change the
maintenance plan, but I CANNOT DELETE IT. I CANNOT RENAME IT.
If I try I am met with a message saying "login failed for sa".

There are no properties of the maint plan or the job associated that
reference sa and it's password.

This is not an isolated problem. Several instances have behaved this way.

I know I am not the only person to have this problem, but I Haven't found
an explanation or fix on the web, short of recreating all of the plans that fail.
This is not a good use of my time. And, I can only address the problem
reactively. Sometimes, I only know because a log fills up a drive.
Geoff A
Geoff A
SSCrazy
SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)

Group: General Forum Members
Points: 2512 Visits: 1808
are the connections to the local instance using 'sa'?
if they are, you will have to update the connections properties to use the new sa password.
hayden_jones
hayden_jones
SSC-Addicted
SSC-Addicted (431 reputation)SSC-Addicted (431 reputation)SSC-Addicted (431 reputation)SSC-Addicted (431 reputation)SSC-Addicted (431 reputation)SSC-Addicted (431 reputation)SSC-Addicted (431 reputation)SSC-Addicted (431 reputation)

Group: General Forum Members
Points: 431 Visits: 257
I'm not sure what is meant by "the connections to the local instance ". Maintenance
plans don't connect, except that they run a job via the SQL Agent. The properties
of the agent don't show a dependency on the sa account.
Geoff A
Geoff A
SSCrazy
SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)

Group: General Forum Members
Points: 2512 Visits: 1808
an account must be specified to "connect" to the instance that the plan runs on.
in the Maintenance plan designer, look up the top for a tab that says "Manage Connections..."
hayden_jones
hayden_jones
SSC-Addicted
SSC-Addicted (431 reputation)SSC-Addicted (431 reputation)SSC-Addicted (431 reputation)SSC-Addicted (431 reputation)SSC-Addicted (431 reputation)SSC-Addicted (431 reputation)SSC-Addicted (431 reputation)SSC-Addicted (431 reputation)

Group: General Forum Members
Points: 431 Visits: 257
Getting closer. If found the Manage Connections tab. There are two choices.
1. Local Server Connection.
This has sa as the id and a blank password. If I try to type in a password
and click OK, I get "Failed to connect to server servername" (servername is the name of the
server).
2. Add New connection.
This allows me to name a connection name and a server name.
Well, no matter what I do and whether I try Windows auth or
put in SQL auth and sa and the new sa password, it fails.
Can't connect. Exact message varies with the for of the attempt.
jamessdba
jamessdba
SSC-Addicted
SSC-Addicted (459 reputation)SSC-Addicted (459 reputation)SSC-Addicted (459 reputation)SSC-Addicted (459 reputation)SSC-Addicted (459 reputation)SSC-Addicted (459 reputation)SSC-Addicted (459 reputation)SSC-Addicted (459 reputation)

Group: General Forum Members
Points: 459 Visits: 1185
Hi,

In one of our servers(sqlserver 2005 ent edi) all maintenance plans(scheduled db backups) running under sa login & pwd

we have changed the sa password

now all maintenance jobs are failed

could you please suggest to solution.
Summer90
Summer90
SSCertifiable
SSCertifiable (7.3K reputation)SSCertifiable (7.3K reputation)SSCertifiable (7.3K reputation)SSCertifiable (7.3K reputation)SSCertifiable (7.3K reputation)SSCertifiable (7.3K reputation)SSCertifiable (7.3K reputation)SSCertifiable (7.3K reputation)

Group: General Forum Members
Points: 7295 Visits: 3831
jamessdba (9/24/2012)
Hi,

In one of our servers(sqlserver 2005 ent edi) all maintenance plans(scheduled db backups) running under sa login & pwd

we have changed the sa password

now all maintenance jobs are failed

could you please suggest to solution.


Yes, in 2005 and newer versions you have to open up each Maint plan and edit the connections and retype in the new password.
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search