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

Can't delete the Maintenanceplans Expand / Collapse
Author
Message
Posted Monday, July 2, 2012 12:13 AM
SSC Veteran

SSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC Veteran

Group: General Forum Members
Last Login: Monday, November 10, 2014 8:16 PM
Points: 250, Visits: 751
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.
Post #1323641
Posted Monday, July 2, 2012 12:36 AM
SSC Veteran

SSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC Veteran

Group: General Forum Members
Last Login: Monday, November 10, 2014 8:16 PM
Points: 250, Visits: 751
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.
Post #1323647
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse