Re: Error 22029 on Maintenance Plan
From: Andrew J. Kelly (sqlmvpnooospam_at_shadhawk.com)
Date: 12/10/04
- Next message: David Gugick: "Re: SQL Profiler - Reads and Writes"
- Previous message: REMOVE_BEFORE_REPLYING_dportas_at_acm.org: "Re: Security question .."
- In reply to: John Steen: "Re: Error 22029 on Maintenance Plan"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 10 Dec 2004 14:23:48 -0500
Even someone with an open connection in EM will prevent this.
-- Andrew J. Kelly SQL MVP "John Steen" <moderndads(nospam)@hotmail.com> wrote in message news:80AEC9F1-27DF-4131-BA5B-F2CF6469594F@microsoft.com... > Thanks, Andrew, I'll give that a try. But there are no users in the DB > when > the maintenance plan kicks off, so it should be able to place the DB in > single-user mode as needed. > > John > > "Andrew J. Kelly" wrote: > >> Check the MP and you should find a checkbox that tells the plan to >> "Repair >> any minor Errors". When this is checked it will attempt to place the db >> in >> single user mode at the beginning of the check. If there are users in >> the >> db it will fail. This is an option that should never be used anyway , so >> just turn it off and you should be good to go. I suspect there was a >> slight >> difference in the way 7.0 and 2000 handle this. >> >> -- >> Andrew J. Kelly SQL MVP >> >> >> "John Steen" <moderndads(nospam)@hotmail.com> wrote in message >> news:F25F51BA-4BF6-4171-8EB5-349461F14763@microsoft.com... >> > Setup: >> > - SQL Server 2000 (SP3 w/cumulative patch MS03-031) running on Win2K >> > (SP3) >> > - Standard merge replication for one DB among three servers >> > >> > I have two maintenance plans. Maintenance plan 1 is for user databases >> > and >> > also backs up transaction logs, and maintanance plan 2 is for system >> > databases (master, distribution, etc.) and does not do log backups. >> > >> > I've been getting error 22029 (unable to put DB in single-user mode) >> > during >> > the "Check Data and Index Linkage" ever since I switched over from SQL >> > 7.0 >> > to >> > SQL 2000 (new install on a new server, not an upgrade). There are no >> > errors >> > on maintenance plan 2, just on maintenance plan 1, and it affects only >> > two >> > of >> > the seven DBs. One is being merge replicated with identical DBs on two >> > remote subscriber servers, the other is not. >> > >> > A Backup Exec SQL agent is used to backup the live databases, but it >> > runs >> > an >> > hour later than the maintenance plan. I made sure there are no other >> > scheduling conflicts and that no other process have connections to the >> > databases. >> > >> > DBCC CHECKDB came back fine, and I've ruled out everything on >> > Microsoft's >> > website havnig to do with this error. >> > >> > I'm at a dead end here and could really use some help. >> > >> > Thanks, >> > John Steen >> > remove (nospam) from e-mail address to send me a message >> >> >>
- Next message: David Gugick: "Re: SQL Profiler - Reads and Writes"
- Previous message: REMOVE_BEFORE_REPLYING_dportas_at_acm.org: "Re: Security question .."
- In reply to: John Steen: "Re: Error 22029 on Maintenance Plan"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|