Maintenance Plan Issue in SQL 2005

Hi All,
In SQL 2005 server maintenance plans are not active. If we execute maintenance plan manually, it will show as success but actually it is not running and history also not recording.
Server Details:
Product version: 9.00.1399.06
Product Level: RTM
Product Edition: Developer Edition
OS: Windows server 2003 with SP2, Enterprise Edition
We are able to create maintenance plans, also SQL agent jobs are running fine.
But maintenance plans are not working.
Can anyone please suggest, what will be the problem.
Thanks in advance.

Hi Ashwin,
Thanks for your immediate reply.
Sure will apply SP4 asap.
Maintenance plan created to take backups, when I right click and execute maintenance plan, it will show as success but backups are not happening, also in view history nothing is recording.
Actually no maintenance plan is working on this server.
If I modify any maintenance plan while saving modifications, it is showing bellow message. But changes are reflecting in maintenance plan
Message:
Guid should contain 32 digits with 4 dashes ( xxxxxxxx-xxxx-xxxx-xxxxxxxxxxxx)
Ex: Right clicked on backup maintenance plan and selected modify.
then added one more database name in backup list and while saving changes, we are getting above message.

Similar Messages

  • SQL Server Maintenance Plan Issue

    SQL Server Version:
    Microsoft SQL Server 2005 - 9.00.5000.00 (Intel X86) 
    Dec 10 2010 10:56:29 
    Copyright (c) 1988-2005 Microsoft Corporation 
    Enterprise Edition on Windows NT 5.2 (Build 3790: Service Pack 2)
    Issue : Maintenance Plan - DB backup plan & TRN Log backup plan skipped / some times not deleting the old backup files.
    Error : Failed to retrieve date for this request (Microsoft.SqlServer.SmoEnum)
    Additional Informaiton
    An exception occurred while executing a Transact-SQL statement or batch.
    (Microsoft.SqlServer.ConnectionInfo)
    A Server error occurred on the current command.
    The results, if any should be discarded (Microsoft Sql Server)
    Any experts can help me to resolve this issue.
    Thanks
    drmrpush
    MRVSFLY

    Hello,
    Same issue reported here:
    https://social.msdn.microsoft.com/Forums/sqlserver/en-US/601fd83c-c49f-4bf8-b69d-95431197652d/maintenance-plan-is-not-opening-on-sql-server-2005-sp2?forum=sqlkjmanageability
    Please check solution on :
    https://social.msdn.microsoft.com/Forums/sqlserver/en-US/3e53ba8b-ea23-4629-98db-43c80ba9888e/cannot-save-maintenance-plans?forum=sqltools
    This problem occurs if some of the stored procedures while installing SP2 has not been applied successfully. So manually run the script below and it may resolve
    your issue. It resolved ours and we went throught exact same process of re-installing several times.
                    1)     
     First go to the folder Install . The default location is this = “C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Install “ .
    Please post back still your issue not resolves.
    2)     
    Then in this folder find this “sysdbupg.sql” .
    3)     
    Please open this script with a nodepad.
    4)     
    Then copy the
    whole script and then paste it in the Query window of the Management studio.
    5)     
    Then execute this script.
    6)     
    Once this script has been successfully executed, The issue should be resolved.
    Regards, Pradyothana DP. Please Mark This As Answer if it solved your issue. Please Mark This As Helpful if it helps to solve your issue. ========================================================== http://www.dbainhouse.blogspot.in/

  • Database updates statistics maintenance plan issue.

    Hi team,
    We are configured one job through maintenance plan that job name is “database update statistics” and database size is 280 Gb, this job executing 13 to 15 hours but job was not finished  still it’s continually running.
    This same job I am running through below script it’s executing within 2 hours.
    Use database
    Go
    Exec sp_updatestats
    What is the main problem if this maintenance plan.
    Note: on this server no jobs and no traffic, only abc_update subpaln1 Job.

    Hello,
    Updating stats for whole database which is 280 G will always result in problem.It is better to run update statistics for tables and indexes which are changed frequently.
    Now to your question few points which sp_Updatestas list in BOL
    http://technet.microsoft.com/en-us/library/ms173804.aspx
    sp_updatestats updates statistics on disabled nonclustered indexes and does not update statistics on disabled clustered indexes.
    sp_updatestats updates only the statistics that require updating based on the rowmodctr information in the sys.sysindexes catalog view, thus avoiding unnecessary updates of statistics
    on unchanged rows.
    Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers

  • Maintenance Plan Issue

    Dear All,
    I have maintained Strategy with Offset as 6 12 36 76 & 84 Months & no cycle length for the same .
    As i wanted to get order only for specific months , now as i schedule the plan the system is creating order for past dates dates also which i don't want .
    Tasklist Key Date - 01.01.2006 as we want to upload back date data.
    E.g Start date 01.01.2008
    1     29.06.2008                                   HF     New start  Save to call
    2     26.12.2008                                   Y     Scheduled  Save to call
    3     16.12.2010                                   3Y     Scheduled  Save to call
    4     25.11.2014     25.11.2014                 7Y     Scheduled  Hold
    Please suggest what setting i have to change.
    Thanks & regards
    Ajay

    Hi,
    1. If u dont want past dates then u can enter restart and enter present /future date ..in start date of the Maintenance Plans ..,IP10 ..
    2. If ur using offset then on scheduling system first calculates planned dates as per offset cycle for each package then goes to the cycle length of the packages .
    3. You can use Hirerachy in strategies in IP11 if u want to avoid unwanted calls , Like 6month call if u do not want to generate on 12th month then hirerachy will be helpful , in this for 12th month u can H2, 6th -H1,same for other packages also
    4. If ur looking for something different u can explore user exit :-IPRM0002 Determine planned date info for maintenance plan
    regards
    pushpa

  • Case sensitive issue CF7 & SQL 2005

    I had to rebuild a database from a backup recently. Now I am having a case sensitive issue in my queries that I did not have before.
    The following use to work with Rockmart in lowercase even though Rockmart was in the table as all uppercase like so ROCKMART.
    <cfquery name="updateAreas" datasource="mySource">
       UPDATE Property
       SET AR = 3610
       WHERE  City = 'Rockmart'
    </cfquery>
    The above has stopped working now the query must specify ROCKMART because it is in the table in all upper case.
    My database option is set to SQL_Latin1_General_CP1_CI_AS
    Any ideas.
    Many thanks for you help.
    Brian

    A collation can be specified at the server, database, and column level in SQL server.  The column collation will take precedence over the database collation.  Check that the collation for the column is case-insensitive.  You can use the query below to get the column's collation.
    SELECT COLUMN_NAME, COLLATION_NAME
    FROM INFORMATION_SCHEMA.COLUMNS
    WHERE TABLE_NAME = 'Property'
        AND COLUMN_NAME = 'City'
    You can get info on the collations supported by SQL Server at:
    http://msdn.microsoft.com/en-us/library/ms144250%28SQL.90%29.aspx
    You can change a column's collation if you need to, but you should be sure that this will not affect any other applications which query the same data.  Another option is to specify the desired collation in your query as suggested by glynjackson.
    http://msdn.microsoft.com/en-us/library/ms190920%28SQL.90%29.aspx

  • SQL 2012 SP2 - Cannot open Maintenance Plans in SQL Management Studio

    Hello...
    We have a number of SQL 2012 SP2 instances running on Server 2012 R2 where we cannot open any Maintenance Plans via the SQL Management Studio.
    At times we've received an error message screen when attempting to open the Plan, but most of the time just nothing happens when you try to open the Plan. 
    I cannot get any of them to display the error now to even provide more information there.
    This happens even after a reboot and/or restarting SQL server.
    Everything else seems to be working and we can examine the individual pieces under the SQL Server Agent -> Jobs, but we cannot open the Maintenance Plan itself.
    We can even create new Plans via the "Maintenance Plan Wizard" but not from "New Maintenance Plan" and once a Plan exists, we can't open it.
    As a test, I tried connecting from a SQL 2008 R2 server and am able to open the plans, so it appears to be a SQL 2012 Management Studio issue rather than the Plans.
    Any thoughts would be appreciated.
    Thank you...

    Hello,
    Once you modify and save a maintenance plan with a greater version of SSMS (let’s say SSMS 2014) you cannot modify it again
    with an earlier version of SSMS again ( SSMS 2012 or earlier). That may be a possibility.
    If you did not modify the maintenance plan with SSMS 2014, then try to repair SQL Server 2012, apply the latest service
    pack (SP2), or try to uninstall only SSMS and reinstall it again.
    If you have Visual Studio installed, please apply the latest update.
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • SSRS 2012 rendering issue/Enabling Anonymous access - Upgraded SSRS from SQL 2005 to SQL 2012.

    Hi,
    I just recently upgraded SQL 2005 SSRS to SQL 2012 SSRS. Everything is working great other than small issue.
    Sounds like some authentication issue. SQL 2005 SSRS - IIS, we enabled anonymous access and we never had this problem. SQL 2012 SSRS /WIN 2008 R2 -  I am not sure how to enable anonymous access.
    If anyone can help me on this? I really appreciate your help.
    Thanks,
    Vel
    Vel Thavasi

    Hi Vel,
    According your description, you want to know how the enable anonymous access to SSRS 2012. Right?
    In SSRS 2008 or later version, we are not using IIS any more. If we want to configure the authentication, we need to configure in RSReportServer.config. This file locate at:
    <drive>:\Program Files\Microsoft SQL Server\MSRS12.MSSQLSERVER\Reporting Services\ReportServer
    However, in SSRS 2012, Anonymous authentication is not supported on report server. Please see:
    Authentication with the Report Server
    In this scenario, we need to custom an authentication type to achieve the "Anonymous" goal. Please refer to the link:
    Configure Custom or Forms Authentication on the Report Server
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • Bad Performance on SQL 2005 multiserver installation

    We have upgraded our server environment from  a single server solution with SQL 2000 and are now running on a multiserver solution with one DB server with SQL 2005 and two applictionservers.
    And now we are experience a much slower performance in our new environment on all EVDRE reports. Is there anyone who know about any issue with a multiserver environment or SQL 2005 that makes the reports slower?
    In our more advanced report with "expand by sheet" that took about 1 minute to expand on our old environment can take up to 10 minutes to expand in our new environment.
    Both servers are running BPC 5.1 SP5 patch 1

    The SQL Server version is very good and the performance problems should not come from there.
    Please make sure you check the document from sd regarding
    SAP_BPC_Performance_Tuning_Guide.doc to be sure you have the right configuration for OLAP and SQL and also application server.
    Can you please provide an information regarding what kind of configuration do you have into this multiserver environment?
    It is important also nr. of processors and memory for each server.
    Do you have a maintenance plan for your SQL server database?
    If you don't have that can cause again a big problem regarding performances.
    Please run into management studio exec sp_updatestats for you database to be sure that you have at least update statistics.
    So all these things mentioned before should be managed carefully to be sure that you have good performances into system.
    From application point of view make sure that you schedule lite optimize to be sure that you don't have more than 40000 rows into wb table.
    Regards
    Sorin Radulescu

  • SQL 2005 Distributed Transactions from WCF

    Hello,
    I've been redirected here from the Transaction Programming forum becuase I have e peculiar issue with SQL 2005 running INSERT stored procs from multiple WCF services all withing a TransactionScope.
    The original post is http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=2720665&SiteID=1&mode=1
    The story goes, I have SRVC A with starts a TransactionScope which in turn calls SRVC B & C in sequence based on processing rules.
    SRVC A is a Sequential Workflow which Starts and Completes the TransactionScope
    SRVC B Creates a new Customer into the database
    SRVC C Creates new Accounts for that Customer and Initialises the accounts with funds
    The DB Tables underneath are Customer, Account and AccountLog
    DDL
    Code Block
    CREATE TABLE [Member].[Customers](
    [CustomerId] [int]
    IDENTITY(1,1) NOT NULL,
    [Name] [varchar](32) NOT NULL,
    [CreatedUtc] [datetime] NOT NULL ,
    CONSTRAINT [PK_Customer] PRIMARY KEY CLUSTERED
    [CustomerId]
    ASC
    CREATE TABLE [Bank].[Accounts](
    [AccountId] [int]
    IDENTITY(1,1) NOT NULL,
    [CustomerId] [int] NOT NULL,
    [CurrentBalance] [money] NOT NULL,
    [LastUpdateDate] [datetime] NULL,
    [CreatedDate] [datetime] NOT NULL,
    [timestamp] [timestamp] NOT NULL,
    CONSTRAINT [PK_Bank_Account] PRIMARY KEY CLUSTERED
    [AccountId]
    ASC
    ) ON [PRIMARY]
    GO
    ALTER TABLE [Bank].[Accounts] WITH CHECK ADD CONSTRAINT [FK_Account_Customer] FOREIGN KEY([CustomerId])
    REFERENCES [Member].[Customers] ([CustomerId])
    CREATE TABLE [Bank].[AccountLog](
    [AccountLogId] [int]
    IDENTITY(1,1) NOT NULL,
    [AccountId] [int] NOT NULL,
    [Amount] [money] NOT NULL,
    [UtcDate] [datetime] NOT NULL,
    CONSTRAINT [PK_Bank_AccountLog] PRIMARY KEY CLUSTERED
    [AccountLogId]
    ASC
    ) ON [PRIMARY]
    GO
    ALTER TABLE [Bank].[AccountLog] WITH CHECK ADD CONSTRAINT [FK_AccountLog_Account] FOREIGN KEY([AccountId])
    REFERENCES [Bank].[Accounts] ([AccountId])
    NB. I've removed most fields not essential for this example.
    So from SRVC A I invoke SRVC B and the Customer is created, however when I get to SRVC C and the accounts are to be created I get a lock.  Only when the Transaction aborts due to timeout, do I see in SQL Profiler that the call to the SP that created the Account is executed but eventually rolls back as it is part of the distributed transaction.
    Now, If I set the Isolation level in the TransactionScope to ReadUncommitted (urgh) the problem remains.  When I set the IsolationLevel to Read Uncommitted in the SP that creates the account the problem remains but when I remove the FK constraint the problem disappers.  The other curious thing is that with the Customer -> Account FK removed and when SRVC C calls to insert funds into the AccountLog which also updates an aggregated total in the Account from within the same transaction scope and with Account -> AccountLog FK constraints in place there is no locking even with Isolation Serializable.
    I'm quite at a loss as to what could be causing these issues.  If anyone has any suggestions I would greatly appreciate any help.
    Thanks
    Andy
     

    Andy,
    Is this still an issue?
    Thanks!
    Ed Price, Power BI & SQL Server Customer Program Manager (Blog,
    Small Basic,
    Wiki Ninjas,
    Wiki)
    Answer an interesting question?
    Create a wiki article about it!

  • What is the best practice in order to create flow in a single maintenance plan?

    Hi All,
    What is the best practice in order to create flow in a single maintenance plan.
    1st Check Database Integrity (Check DB)
    2nd Rebuild Index 
    or 
    1st Rebuild Index
    2nd Check Database Integrity (Check DB)
    Grateful to your time and support. Regards, Shiva

    Use the Maintenance Plan Wizard to create a maintenance plan:
    "This topic describes how to create a single server or multiserver maintenance plan using the Maintenance Plan Wizard in SQL Server 2012. The Maintenance Plan Wizard creates a maintenance plan that Microsoft SQL Server Agent can run on a regular
    basis. This allows you to perform various database administration tasks, including backups, database integrity checks, or database statistics updates, at specified intervals."
    LINK: http://technet.microsoft.com/en-us/library/ms191002.aspx
    Kalman Toth Database & OLAP Architect
    SELECT Video Tutorials 4 Hours
    New Book / Kindle: Exam 70-461 Bootcamp: Querying Microsoft SQL Server 2012

  • SQL 2000 Database Maintenance Plan drop downs for days, weeks, months, not displaying

    When setting up a SQL 2000 Database Maintenance Plan the drop down for Remove files older than is not populating with hours, days, weeks, or months. It is just blank. The version is  Microsoft SQL Server  2000 - 8.00.2039 (Intel X86)  
    May  3 2005 23:18:38   Copyright (c) 1988-2003 Microsoft Corporation  Desktop Engine on Windows NT 5.2 (Build 3790: Service Pack 2). Is there a fix for this issue?

    This also works. All the credit goes to a user named eyechart.  Great directions provided as well.
    http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=47575
    sqlmaint.exe
    was missing from MSDE 2000, but that was fixed in SP1 I think. Since this is SP3
    you probably have a missing registry value for the backup directory.
    I
    had to fix a similar problem last year on a bunch of laptops. They were all
    missing a registry value. Anyway, here is the fix:
    1. Fire up regedit and
    look under HKLM\SOFTWARE\Microsoft\MSSQLServer\MSSQLServer
    2. Ensure you have
    a string value called BackupDirectory. The value for this should be the path to
    your backup dir. The default value is C:\Program Files\Microsoft SQL
    Server\MSSQL\BACKUP
    btw, this fix assumes you have a default instance
    installed. A named instance will have slightly different registry location and
    filesystem path.
    -ec
    Edited by -
    eyechart on 03/25/2005 21:04:27

  • "Value cannot be null" error when trying to edit or create Maintenance Plan in SQL Server 2008

    I have SQL Server 2008 installed on Windows Server 2008 64bit, every time I try to open or create a new Maintenance Plan I receive the error:
    Value cannot be null.
    Parameter name: component (System.Design)
    Program Location:
       at System.ComponentModel.Design.DesignerHost.System.ComponentModel.Design.IDesignerHost.GetDesigner(IComponent component)
       at Microsoft.DataTransformationServices.VsIntegration.DtsDesignerService.OpenDesigner(String connectionString, Object connection, String objectUrn)
       at Microsoft.SqlServer.Management.DatabaseMaintenance.MaintDesignerMenuHandler.Invoke()
    And in the Design view screen
    "Microsoft SQL Server Management Studio is unable to load this document: Could not load type 'Microsoft.SqlServer.Dts.runtime.Wrapper.IDTSPackageSigning100' from assembly 'Microsoft.SqlServer.DTSRunTimeWrap, Version=10.0.0.0, Culture=neutral'. 
    I have searched for a possible solution and have tried some suggestions of registering the msxml6.dll but and have installed VS2008 SP1 but I'm not in a position where I can do a full reinstall of SQL Server right now. Any help is appreciated. My SQL server
    environment information is below. 
    Microsoft SQL Server Management Studio
    10.0.1600.22 ((SQL_PreRelease).080709-1414 )
    Microsoft Analysis Services Client Tools
    2007.0100.1600.022 ((SQL_PreRelease).080709-1414 )
    Microsoft Data Access Components (MDAC)
    6.0.6002.18005 (lh_sp2rtm.090410-1830)
    Microsoft MSXML 3.0 4.0 5.0 6.0 
    Microsoft Internet Explorer 8.0.6001.18943
    Microsoft .NET Framework 2.0.50727.4206
    Operating System 6.0.6002

    I digged a little deeper and figured out it was a missing directory/file in %TEMP%. Seems some CleaningTool removes all files/directories in %Temp% and after that SSMS was not working any longer. The missing file is actually not needed, but the
    missing directory causes the "Value cannot be null" error.
    My missing file name was:
    C:\Users\<username>\AppData\Local\Temp\2\6vvdaozf.tmp
    But the file name changes on every startup.
    So my missing directory name was:
    C:\Users\<username>\AppData\Local\Temp\2
    After creating a empty directory with the name "2" in %TEMP% all went back to work fine for me.
    I'm not sure the directory name is every time the same, but you can discover your missing file with the process monitor from Sysinternal Tools and filters to "Process Name is ssms.exe" and "Path contains AppData\Local\Temp"
    Hope this helps other people to solve their issues too.
    Thank you!! When I run %temp% it takes me to "C:\Users\Admin ...~\AppData\Local\Temp\some random number". At first the random number was 3, after I logged off and back on it was 2. My temp variable in enviromental variables is correct. I looked on another machine
    running SQL2008 and temp is correct there. If I try to rename the numbered folder SSMS stops working. Any idea?

  • SQL 2005 & SQL 2000 Issue

    hey,
    I have three servers, lets say Svr1, Svr2 & Svr3. On all three i have sql2000 & sql 2005. On Svr1 & Svr2 sql2005 is default and sql2000 is an instance and they work perfect.
    However on Svr3 I have sql2000 as default and sql2005 as an instance, It seems to work fine but there is an issue when trying to create a new management plan in sql2005, i get an error saying
    ===================================
    Cannot show requested dialog.
    ===================================
    Unable to execute requested command.
    Program Location:
       at Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.ToolsMenuItem.OnCreateAndShowForm(IServiceProvider sp, XmlDocument doc)
       at Microsoft.SqlServer.Management.SqlMgmt.RunningFormsTable.RunningFormsTableImpl.ThreadStarter.StartThread()
    ===================================
    Method not found: 'Void Microsoft.SqlServer.Management.DatabaseMaintenance.TaskUIUtils..ctor()'. (Microsoft.SqlServer.Management.MaintenancePlanWizard)
    Program Location:
       at Microsoft.SqlServer.Management.MaintenancePlanWizard.MaintenancePlanWizardForm..ctor(XmlDocument doc, IServiceProvider serviceProvider)
    Has anyone else come accross this problem ?
    Any help would be fantastic,
    Thanks,
    Karl.

    Karl,
    Do you still need help with this?
    Thank you!
    Ed Price, Power BI & SQL Server Customer Program Manager (Blog,
    Small Basic,
    Wiki Ninjas,
    Wiki)
    Answer an interesting question?
    Create a wiki article about it!

  • SQL Server Maintenance Plan does not run DEL command in .BAT

    Hello,
    I have a T-SQL Statement task in my Maintenance Plan that runs a .BAT file and it runs OK when manually executed.  The .BAT file has a del d:\backups\*.* command in it. However, when the plan runs automatically at a scheduled time, the .BAT file does
    not delete files.  Could this be a permissions issue?
    Paul

    Hi Paul,
    This looks like a permission issue.  Make sure the account SQL instance is running has delete permissions on the folder from which you are trying to delete and also make sure the account has execute permission on that batch file.
    Thanks,
    Bhanu

  • SQL maintenance plan job problem - cannot remove a job

    Hi,
    I have a SQL 2008 R2 server running SP2. I changed the start time  to hour A on a maintenance job under maintenance plan, a few weeks later I changed it back (hour B). The maintenance job still runs at the changed start time (hour A). I even completly
    deleted the job, and I do not see that job under SQL maintenance plan and agent job anymore.  But somehow SQL still tries to start the job at the changed time (hour A), and sends out error messages saying the job fails. 
    I have restarted the entire server also. Same issue.
    The job is not a special one. Just a db index optimize script that ran fine within the maintenance job before I changed the time. Actually, now I just set it up as a SQL agent job, not a maintenance job, and it runs fine. 
    Any advice?
    Thanks in advance.

    Martians!  That is the sign of computer invasion by martians!
    Did you try to delete the maintenance plan (not the job!) and recreate it?
    The following query may be helpful:
    select * from msdb.dbo.sysjobschedules ORDER BY job_id;
    schedule_id job_id next_run_date next_run_time
    1 1016 28EC0B2D-6BA2-4CC7-B99C-03DF945A3763 20140121 124000
    2 1013 ED3E89DF-0ED6-4D1B-9A6E-100E04412E2B 20140120 32700
    Kalman Toth Database & OLAP Architect
    SQL Server 2014 Database Design
    New Book / Kindle: Beginner Database Design & SQL Programming Using Microsoft SQL Server 2014

Maybe you are looking for