Hi All,
I have a linked server to transport data from SQL2005 to SQL2000.
When I use a transaction in a try catch block and RAISERROR to log error into windows event log, it throws me an error stated as MSDTC has cancelled the transaction.
When I dont use the transaction it does not throw me an error and logs the error into event log. But because of this I have to manually rollback transactions in case of errors.
Is there some better way to achieve this?
Thanks in Advance...