Solved

MSSQL Linked Server

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SSRS  - Dropdown with Null 3 23
Webservices in T-SQL 3 30
create an aggregate function 9 31
Sql server, import complete table, using vb.net 9 32
Having an SQL database can be a big investment for a small company. Hardware, setup and of course, the price of software all add up to a big bill that some companies may not be able to absorb.  Luckily, there is a free version SQL Express, but does …
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.

813 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

10 Experts available now in Live!

Get 1:1 Help Now