I try to execute a stored procedure and just paste its results into a temporary table, and I get the following message:
The operation could not be completed because the OLE DB provider "SQLNCLI" for the linked server "MyServerName" could not start the distributed transaction. The OLE DB provider "SQLNCLI" for the linked server "MyServerName" returned the message "No transaction is active."
My query looks like this:
INSERT INTO #TABLE
EXEC MyServerName.MyDatabase.dbo.MyStoredProcedure Param1, Param2, Param3
The exact column number, names, problem is not the result.
MSDTC is enabled and running on both computers; it also calls a remote procedure.
The machines are not in the same domain, but I can perform remote requests from my machine and get the result. I can even execute the stored procedure and see its results, I just can’t insert it into another table.
Help me please?:)
EDIT
Oh, I forgot to mention, the stored procedure does not fire any triggers. It only inserts records into temporary tables that it creates to process data.
source
share