Solved

Linked Server in Sql server

Posted on 2011-03-15
7
275 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
Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

 
LVL 2

Accepted Solution

by:
Mr_B 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:Mr_B
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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

I am showing a way to read/import the excel data in table using SQL server 2005... Suppose there is an Excel file "Book1" at location "C:\temp" with column "First Name" and "Last Name". Now to import this Excel data into the table, we will use…
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 video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

760 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

19 Experts available now in Live!

Get 1:1 Help Now