Solved

Cross-Server MS SQL RPC call works but fails when posting data into a table?

Posted on 2011-09-09
3
453 Views
Last Modified: 2012-05-12
I have a Stored Procedure that selects data from a remote SQL Server, and inserts this data into a temporary table. I then step through the temp table to update the local server.

When I run the Select * From [RemoteDB].[Table] there is a long (10 second) delay, and my network card utilisation hits 100%.

So I put the Select into a Stored Brocedure on the remote server, and run EXEC [RemoteDB].[SP]. The results return immediately, and network utilisation is low.

BUT when I try:
INSERT INTO [LocalTable]
EXEC [RemoteDB].[SP]

I get the error below:

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

I have checked MSDTC is running on the remote server.

Please could someone cast light on overcoming this.

Other relevent info; the servers are stand-alone (no domain). Both are running Win 2k8 (the local server is Standard and the remove R2). SQL is running using the same username on both servers (with the same password). The machines are physically next to each other on the same switch.
0
Comment
Question by:Bird757
  • 2
3 Comments
 
LVL 8

Accepted Solution

by:
Forefront_Data_Solutions earned 500 total points
ID: 36514950
Please review this article from Microsoft:
http://support.microsoft.com/kb/906701

There are several MSDTC items that need to be configured.
0
 

Author Comment

by:Bird757
ID: 36515832
Thanks, but this article is very specific to Great Plains. In the article it specified following the steps below:
 
Make sure that the eConnect object is running under a specific account:
Click Start, click Control Panel, click Administrative Tools, and then click Component Services.
Expand Component Services, expand Computers, expand My Computer, and then expand COM+ Applications.
Right-click eConnect 8 for Great Plains, and then click Properties.

On my server the COM+ Applications area has no "Application" that relates to SQL Server so I am lost as to how I need to proceed.
0
 

Author Closing Comment

by:Bird757
ID: 37284693
The solution was very specific to Great Plains and could not be extended to apply generally. I made a comment to that effect but there was no further communication.
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
You might have come across a situation when you have Exchange 2013 server in two different sites (Production and DR). After adding the Database copy in ECP console it displays Database copy status unknown for the DR exchange server. Issue is strange…
This tutorial will give a an overview on how to deploy remote agents in Backup Exec 2012 to new servers. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as connecting to a remote Back…
This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…

867 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