While running the DecommissionPublicationTarget Core Service method on a well-used Publication Target I received the following error. The same code worked fine on a less-used Publication Target. I am using SQL Server 2013 and Tridion 2013 SP1:
A database error occurred while executing Stored Procedure "EDA_SYSTEM_DECOMMISSIONPUBLICATIONTARGET". Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding. The wait operation timed out
Any ideas?
The method I am using is:
client.DecommissionPublicationTarget("tcm:0-1-65537");
exec sp_updatestats
on your MS SQL Server DB or the equivalent on Oracle?