Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Maintenance Jobs Fail After Changing sa Password Expand / Collapse
Author
Message
Posted Monday, April 16, 2012 12:31 PM
SSC Rookie

SSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC Rookie

Group: General Forum Members
Last Login: Tuesday, July 15, 2014 2:02 PM
Points: 46, Visits: 237
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.



Post #1284396
Posted Monday, April 16, 2012 12:59 PM


Mr or Mrs. 500

Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500

Group: General Forum Members
Last Login: Tuesday, June 24, 2014 12:24 PM
Points: 514, Visits: 1,717
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.
Post #1284423
Posted Monday, April 16, 2012 1:03 PM
SSC Rookie

SSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC Rookie

Group: General Forum Members
Last Login: Tuesday, July 15, 2014 2:02 PM
Points: 46, Visits: 237
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.
Post #1284425
Posted Monday, April 16, 2012 1:06 PM


Mr or Mrs. 500

Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500

Group: General Forum Members
Last Login: Tuesday, June 24, 2014 12:24 PM
Points: 514, Visits: 1,717
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..."
Post #1284430
Posted Monday, April 16, 2012 1:30 PM
SSC Rookie

SSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC Rookie

Group: General Forum Members
Last Login: Tuesday, July 15, 2014 2:02 PM
Points: 46, Visits: 237
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.

Post #1284453
Posted Monday, September 24, 2012 3:46 AM
SSC Journeyman

SSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC Journeyman

Group: General Forum Members
Last Login: Yesterday @ 12:18 AM
Points: 78, Visits: 1,014
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.
Post #1363389
Posted Wednesday, September 26, 2012 8:06 AM


Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Today @ 9:28 AM
Points: 1,233, Visits: 2,737
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.



Post #1364711
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse