Solved

MSSQL Linked Server

Posted on 2016-08-04
4
46 Views
Last Modified: 2016-08-08
Hello,
we had 2 databases 'abc' and 'xyz' on server 'A'. we used to execute trigger on 'xyz' server(if insert data to a table) and inside trigger we used to execute proc  'proc1' on 'abc' server . 'proc1' used to call another proc in 'abc' database which inserts some data on 'abc' database

Now 'abc' and 'xyz' are moved to 2 different servers . Inside trigger on 'xyz' server I am executing proc with linked server . But now I am receiving "linked server unable to begin distributed transactions. Oledb provider for linked server returned message the transaction manager has disabled its support for remote\network transactions"
0
Comment
Question by:vijay11
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 5

Accepted Solution

by:
Brian Chan earned 500 total points
ID: 41743662
Someone has gone through this before, this sounds like your problem:

The transaction manager has disabled its support for remote/network transactions

Linked Server relies on MS DTC, so make sure the service is set up properly and enable for the linked server to work on both SQL servers
0
 

Author Comment

by:vijay11
ID: 41747741
Thanks for the reply. Please let me know if is possible to rewrite the query with out enabling this.
0
 
LVL 5

Assisted Solution

by:Brian Chan
Brian Chan earned 500 total points
ID: 41748090
@vijay11

Well, since your transaction spans across different SQL servers, MS DTC services is required to coordinate the remote transaction. In other words, change the code would not help to workaround.
0
 

Author Closing Comment

by:vijay11
ID: 41748197
Thanks
0

Featured Post

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
Viewers will learn how the fundamental information of how to create a table.

691 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question