Solved

Linked Server in Sql server

Posted on 2011-03-15
7
283 Views
Last Modified: 2012-06-27
I have two instances of Sql server - Sql 2005 and Sql 2000.  Sql 2005 is configured to work under Windows authentication  running under Domain account.
and Sql2000 is configured for windows and Sql authentication and running under system account.

I have configured sql2000 as linked server under sql 2005 instance. I am able to run the stored procedure stored in sql 2000 instance. but when i try to insert locally from linked server procedure i am getting the following error.

OLE DB provider "SQLNCLI" for linked server "blrds" returned message "The partner transaction manager has disabled its support for remote/network transactions.".
Msg 7391, Level 16, State 2, Line 1
The operation could not be performed because OLE DB provider "SQLNCLI" for linked server "blrds" was unable to begin a distributed transaction.

Can some expert help me to overcome this error

Thanks in advance


0
Comment
Question by:venkataramanaiahsr
7 Comments
 
LVL 9

Expert Comment

by:kaminda
ID: 35136465
I think this will help you to sort out your problem

http://support.microsoft.com/kb/306212
0
 
LVL 17

Expert Comment

by:k_murli_krishna
ID: 35136471
Please go through these:

The partner transaction manager has disabled its support for remote/network transactions
http://social.msdn.microsoft.com/Forums/en-US/adodotnetdataproviders/thread/7172223f-acbe-4472-8cdf-feec80fd2e64

MSDTC Troubleshooting
http://www.sqlwebpedia.com/content/msdtc-troubleshooting
0
 

Author Comment

by:venkataramanaiahsr
ID: 35136531
I followed the instructions mentioned in the link http://www.sqlwebpedia.com/content/msdtc-troubleshooting in the sql2005 server .

i am trying to run the qry from sql 2005 server qry analyzer  to the linked server (sql2000 server) . Still the same problem . Do i have to do the same changes in Sql 2000 server also.
0
VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

 
LVL 2

Accepted Solution

by:
Darran Brown earned 500 total points
ID: 35136781
Hi,
You shouldn't need run any queries just yet, i've just had to change the same settings yesterday. k_murli_krishna has the correct link:
http://social.msdn.microsoft.com/Forums/en-US/adodotnetdataproviders/thread/7172223f-acbe-4472-8cdf-feec80fd2e64
1.      Go to "Administrative Tools > Component Services"
2.      On the left tree, go to "Component Services > Computers > My Computer
3.      Right click on "My Computer", select "Properties"
4.      Select "MSDTC" tab
5.      Click "Security Configuration"
6.      Check "Network DTC Access", "Allow Remote Client", "Allow Inbound/Outbound"

It will be your 2000 server that needs changing but check both. You may get a couple more erros when you try and use the linked server but we can sort those as they occurr, just post any new errors, it depends how your server is set up.
0
 

Author Comment

by:venkataramanaiahsr
ID: 35145788
Thanks Mr_B.   Actually MSDTC change mentioned in the link http://www.sqlwebpedia.com/content/msdtc-troubleshooting to be done in both the servers. After doing these changes , my problem got resolved. I have given No authentication required at both ends under MSDTC security configuaration.  Is it Ok or no authentication  will cause any security issues?


0
 
LVL 2

Expert Comment

by:Darran Brown
ID: 35147833
Hi
It's a bit hard to confirm without knowing your exact set up but ideally you want mutual Authentication.
If the msdtc security settings weren't set before we could say that nothing else is using them but if you have anything else on the servers apart from SQL you might want to double check. I'm also presuming there in the same domain.

0
 

Author Comment

by:venkataramanaiahsr
ID: 35295674

Thanks  MR_B .your solution worked. I am really sorry for not accepting the solution earlier as i had tied up with some other priority activities
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

Suggested Solutions

So every once in a while at work I am asked to export data from one table and insert it into another on a different server.  I hate doing this.  There's so many different tables and data types.  Some column data needs quoted and some doesn't.  What …
This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

773 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