Linked servers SQLNCLI problem. "No transaction is active"
Posted
by Felipe Fiali
on Stack Overflow
See other posts from Stack Overflow
or by Felipe Fiali
Published on 2010-05-28T19:37:15Z
Indexed on
2010/05/28
19:42 UTC
Read the original article
Hit count: 581
Im trying to execute a stored procedure and simply insert its results in a temporary table, and I'm getting the following message:
The operation could not be performed because OLE DB provider "SQLNCLI" for linked server "MyServerName" was unable to begin a distributed transaction. OLE DB provider "SQLNCLI" for linked server "MyServerName" returned message "No transaction is active.".
My query looks like this:
INSERT INTO #TABLE
EXEC MyServerName.MyDatabase.dbo.MyStoredProcedure Param1, Param2, Param3
Exact column number, names, the problem is not the result.
MSDTC is allowed and started in both computers, Remote procedure calling too.
The machines are not in the same domain, but I can execute remote queries from my machine and get the result. I can even execute the stored procedure and see its results, I just can't insert it in another table.
Help, please? :)
© Stack Overflow or respective owner