Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 816911
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T01:54:40+00:00 2026-05-15T01:54:40+00:00

Im trying to execute a stored procedure and simply insert its results in a

  • 0

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.

EDIT


Oh I forgot to mention, the stored procedure doesn’t fire any trigger. It only inserts records in temporary tables which it creates itself for data treating.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T01:54:40+00:00Added an answer on May 15, 2026 at 1:54 am

    Well, after following lots of tutorials and researching a lot about it, I had changed all the configuration I thought was necessary for it to work, but it still didn’t.

    Today we had to force a power reboot on our development server because of a faulty no-break, and when we booted up the server, guess what? It works!

    So just for the record, I’ve changed some specific MSDTC configuration, added it as a linked server and allowed RPC IN and OUT, and changed the RPC configuration for ‘NO AUTHENTICATION REQUIRED’ or something like that.

    I remember reading somewhere that after you changed this configuration, a reboot was required, even though Windows says that it has already restarted the service.

    I had rebooted my server like… twice since I changed it, and it still didn’t work. But as today, after a complete turn off and turn on, it works!

    As for the syntax, I kept the same.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to create a stored procedure which will fetch data from sys.databases and
I have a stored procedure called sp_BulkInsert that inserts one .csv file into my
Does DBD::mysql implement the bind_param_inout method? I am getting the following error messages when
I am attempting to execute a stored proc in asp.net in the code behind.
I'm trying to write a PowerShell script that will do the following: Executes a
I am getting an SQLException Operand type clash: int is incompatible with uniqueidentifier when
I'm thinking about trying MongoDB to use for storing our stats but have some
I'm working with a system which had to create objects in one database based
I have a chance to introduce NHibernate to my group by using it with
I'm using the SQL Server Driver for PHP to connect to an SQL Server

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.