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

  • Home
  • SEARCH
  • 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 6529405
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T09:37:54+00:00 2026-05-25T09:37:54+00:00

In stored procedure I am using below statements. But it throwing Distributed transaction error

  • 0

In stored procedure I am using below statements. But it throwing Distributed transaction error when I ran Stored Proc.

Declare @res int
    Declare @mes as varchar(100)

    DECLARE  @Result TABLE (
result INT,
mesage VARCHAR(100))

    Insert @Result (result, mesage)         
            Exec [MySpeNet].[dbo].[GetMemberShipStatus]'3319994'
    select @res = result, @mes = mesage from @Result

Exception:

      Msg 7391, Level 16, State 2, Procedure GetMemberShipStatus, Line 19
    The operation could not be performed because OLE DB provider "OraOLEDB.Oracle" 
for linked server "ASPQA" was unable to begin a distributed transaction.

OR

Is there any other way that I can store result and mesage without creating Temp table?

  • 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-25T09:37:55+00:00Added an answer on May 25, 2026 at 9:37 am

    Enable the options

    • Allow Remote Clients
    • Allow Outbound

    On Security tab of Local DTC Properties in Component Services.

    • Go To Run, type comexp.msc.
    • Double click “Console Root”.
    • Double click “Component Services.
    • Double click “Computers”.
    • Double click “My Computer”.
    • Double click “Distributed Transaction Coordinator”.
    • Right click “Local DTC” under “Distributed Transaction Coordinator”, and click properties.
    • Click the “Security” tab.
    • Put tick marks on the checkboxes “Allow Remote Clients” and “Allow Outbound”.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i am using a stored procedure. i declared 2 varaibles . shown below DECLARE
I am using the stored procedure below for the select command of a SqlDataSource,
I've created a stored procedure similar to the one below (I'm using this cut
Using the below functions how could I use a stored procedure with parameters. I
I am using the below in my stored procedure to create a 8 digit
I have a stored procedure mentioned as below. I'm using SQL Server 2008 R2.
I've written a paged search stored procedure using SQL Server 2005. It takes a
I am trying to call the stored procedure using subsonic and getting Object Reference
I'm trying to call a stored procedure using ADO .NET and I'm getting the
I am familiar with standard practices to assess performance query or stored procedure using

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.