Solved

MSSQL Linked Server

Posted on 2016-08-04
4
35 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
  • 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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

In this article—a derivative of my DaytaBase.org blog post (http://daytabase.org/2011/06/18/what-week-is-it/)—I will explore a few different perspectives on which week today's date falls within using Microsoft SQL Server. First, to frame this stu…
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.
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

758 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now