Advertisement

05.08.2008 at 06:44AM PDT, ID: 23385986
[x]
Attachment Details

Error while fetching data thru Linked servers

Asked by COANetwork in MS SQL Server

Tags: sql server, 2005

My scenario is like this:
Upstream server [U] --> Regional servers [R] --> Local server [L] (3 different servers)
regarding permissions:
I have select permissions on [U] and execute permissions on [R] and [L]

########### Errors #############
Error 1:
Msg 18452, Level 14, State 1, Line 0
Login failed for user '(null)'. Reason: Not associated with a trusted SQL Server connection.
Msg 10054, Level 16, State 1, Line 0
TCP Provider: An existing connection was forcibly closed by the remote host.

Error 2:
OLE DB provider "SQLNCLI" for linked server "premierprw" returned message "The 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 "premierprw" was unable to begin a distributed transaction.

##############################

I have created a linked server to fetch data from [U] to [R] (APGCUAT) and [R] to [L] (PREMIERPRW)
so my linked servers exist in [R] is (APGCUAT) and [L] is (PREMIERPRW) with all the necessary permissions.

##My workaround is:
~~~~~~~~~~~~~~~~~
AIM: To fetch data from [U] to [L] thru linkes servers...
when i am trying to execute a sp with the linked server (Premierprw) from [L] i am getting an error:
###
Msg 18452, Level 14, State 1, Line 0
Login failed for user '(null)'. Reason: Not associated with a trusted SQL Server connection.
Msg 10054, Level 16, State 1, Line 0
TCP Provider: An existing connection was forcibly closed by the remote host.
###

2. if i try to execute linked server in [R] to fetch data from [U] it is working fine and after this instantly if i execute the linked server (Premierprw) from [L] then the error message is occurred like this:
###
OLE DB provider "SQLNCLI" for linked server "premierprw" returned message "The 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 "premierprw" was unable to begin a distributed transaction.
###Start Free Trial
 
 
[+][-]05.08.2008 at 06:48AM PDT, ID: 21524628

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.08.2008 at 09:24PM PDT, ID: 21530384

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.17.2008 at 09:22PM PDT, ID: 21591582

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: MS SQL Server
Tags: sql server, 2005
Sign Up Now!
Solution Provided By: COANetwork
Participating Experts: 1
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628