Can't delete the Maintenanceplans

  • Hi,

    I'm not able to delete the maintenance plans.

    When I'm trying to delete the maintenance plans,facing the below error.

    "A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) (Microsoft SQL Server, Error: 53)"

    When I'm trying to delete the job,facing the below error.

    The DELETE statement conflicted with the REFERENCE constraint "FK_subplan_job_id". The conflict occurred in database "msdb", table "dbo.sysmaintplan_subplans", column 'job_id'.

    The DELETE statement conflicted with the REFERENCE constraint "FK_subplan_schedule_id". The conflict occurred in database "msdb", table "dbo.sysmaintplan_subplans", column 'schedule_id'.

    The statement has been terminated.

    The statement has been terminated. (Microsoft SQL Server, Error: 547)

    Please advise.

    Thanks and Regards,

    Ravi.

  • Hi All,

    Please ignore this post..as it's resoved.

    http://sqlrx.wordpress.com/2011/07/13/remove-maintenance-plans-left-after-a-server-rename/

    Thanks and Regards,

    Ravi.

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply