SQL Server Performance Forum – Threads Archive
Error while updating table through view on 2 srvrsI am facing the below error : "Unable to start a nested transaction for OLE DB provider ‘SQLOLEDB’. " While working through an application and connecting to the federated servers
(2 SQL servers) having the partitioned views and other updatable views used
to update data in tables on other SQL server. The error is encountered when I am updating a table on the other server through a view on this server with the same name as of table on that server.
I also suppose that the application uses cursors to update data in the tables of the database. Can we use "BEGIN DISTRIBUTED TRANSACTION" in view? If yes, how?
MSDTC is started on both the servers.
ANSI NULLS, ANSI WARNINGS, XACT_ABORT are ON the database.
Thanks in advance.
PLEASE DO NOT DUPLICATE YPUR POSTS!! —————————————-
I think you have posted this for the third time Madhivanan Failing to plan is Planning to fail
We understand the problem is really big at your end, but posting multiple (duplicate) posts will not get you quick answers. Rather it will create confusion for you to refer the various answers in different posts.<br /><br />Please adhere to the forum policies.[<img src=’/community/emoticons/emotion-1.gif’ alt=’‘ />]<br />HTH<br /><br /><hr noshade size="1"><b>Satya SKJ</b><br />Microsoft SQL Server MVP<br />Contributing Editor & Forums Moderator<br /<a target="_blank" href=http://www.SQL-Server-Performance.Com>http://www.SQL-Server-Performance.Com</a><br /><center><font color="teal"><font size="1">This posting is provided â€œAS ISâ€ with no rights for the sake of <i>knowledge sharing.</i></font id="size1"></font id="teal"></center>