Re: DB Maintenance Plan Problems

From: AnthonyThomas (Anthony.Thomas_at_CommerceBank.com)
Date: 12/22/04


Date: Wed, 22 Dec 2004 05:48:30 -0600

The jobs have all the information for executing the sqlmaint tasks; however,
they will also refer to a plan name. This is required because the msdb
maintains a plan databases table that the sqlmaint utility queries for the
list of databases to apply the plan to. Not only is it unlikely that the
same databases exist on the other server, you most certainly do not have the
plan established on the other server, just the jobs one would have
reproduced.

You would be better off using an MSX and target servers.

Sincerely,

Anthony Thomas

-- 
"Re Fo" <xrefox@xnospamxesec.com> wrote in message
news:OnTQhuA6EHA.3416@TK2MSFTNGP09.phx.gbl...
Hi NG,
I created a new maintenance plan with the Maintenance Plan wizard. Verifying
this maintenance plan showed me that it was ok and executed successfully.
Then I generated the scripts for this maintenance plan and tried to apply it
to another SQL-Server. The job was created but executing seems not to work.
I get the following errors:
File 1:
====
Microsoft (R) SQLMaint Utility (Unicode), Version Logged on to SQL Server
'WSZG338' as 'NT AUTHORITY\SYSTEM' (trusted)
[Microsoft SQL-DMO] Error 21268: [SQL-DMO]Row or column specified is outside
the range of the specified query result set.
File 2:
====
Job 'UST-Maintenance-Plan' : Step 1, 'Maintenance Plan' : Began Executing
2004-12-22 10:45:00
Output of sqlmaint.exe
----------------------------------------------------------------------------
----------------------------------------------------------------------------
----------------------------------------------------------------------------
---------------------------
(null)
Microsoft (R) SQLMaint Utility (Unicode), Version 8.00.194
Copyright (C) Microsoft Corporation, 1995 - 1998
(null)
Logged on to SQL Server 'WSZG338' as 'NT AUTHORITY\SYSTEM' (trusted)
[Microsoft SQL-DMO] Error 21268: [SQL-DMO]Row or column specified is outside
the range of the specified query result set.
Msg 22029, Sev 16: sqlmaint.exe failed. [SQLSTATE 42000]
Any suggestions?
Thanks for support, rene


Relevant Pages

  • Re: DB Maintenance Plan Problems
    ... The jobs have all the information for executing the sqlmaint tasks; ... they will also refer to a plan name. ... same databases exist on the other server, you most certainly do not have the ... The job was created but executing seems not to work. ...
    (microsoft.public.sqlserver.server)
  • Re: Working with task durations of minutes
    ... Just tell me I'm responsible for updating the server, everything will be "go" for me to do it starting Tuesday afternoon, and then get out of my way and let me do my job. ... From a project managment perspective it's usually enough for the PM to say "Update Server with Module Package X, 5 hours duration, starting Tuesday 1pm" and leave it up to Joe how he organizaes the details. ... If I'm painting a room and the painter and his assistant will box up the computers in it, move the furniture out, remove fixtures from the wall, mix and apply the paint I'll just list it as one task "Paint the Room." ... On the plan there are about 250 tasks that need ...
    (microsoft.public.project)
  • Re: Backing up SBS 2003 for Disaster Recovery
    ... You will also need a backup with some disaster recover plan on how to use ... Modern backup software gives you specific DR capabilities. ... backup job that backs up the whole server, and then it will provide a CD ... you should test your plan. ...
    (microsoft.public.windows.server.general)
  • Re: [9fans] 9vx and local file systems
    ... For about seven years I had the luxury of running Plan 9 ... I have a second Plan 9 server with a bigger, ... I've used drawterm to connect to it, edit and compile venti, ... doesn't require a cpu server. ...
    (comp.os.plan9)
  • Re: New Hardware and Setup Advice
    ... I have no problems with your plan. ... So if your drives were in trays and the power supply died, ... Join the worlds largest SBS User Group ... Poweredge 830) so if one server dies I can copy the drive image to the ...
    (microsoft.public.windows.server.sbs)