Solved

Linked Server in Sql server

Posted on 2011-03-15
7
280 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
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 
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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

Suggested Solutions

If you having speed problem in loading SQL Server Management Studio, try to uncheck these options in your internet browser (IE -> Internet Options / Advanced / Security):    . Check for publisher's certificate revocation    . Check for server ce…
In this article I will describe the Backup & Restore method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
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.
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.

911 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