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 463655
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T23:11:48+00:00 2026-05-12T23:11:48+00:00

I need some clarification how MS-DTC will behave in scenario given below 1) I

  • 0

I need some clarification how MS-DTC will behave in scenario given below

1) I have more than one connection in within a transactionscope (Isolation level – ReadCommited),which will bring MS- DTC into action now :

a) Will MS-DTC automatically change isolation level to SERIALIZABLE.

b) (Imp) If above answer is yes and I have implemented Row versioning based isolation level i.e. in addition to TransactionScope, i have also enabled the READ_COMMITTED_SNAPSHOT database option “ON”, will it remain in effect means will it support “SERIALIZABLE” isolation level.

void OuterMethod() {
    TransactionOptions tso = new TransactionOptions();
    tso.IsolationLevel = System.Transactions.IsolationLevel.ReadCommitted;
    using (TransactionScope tx = new TransactionScope(TransactionScopeOption.RequiresNew, tso)) {
        InnerMethod("select * from testtable");
        InnerMethod("update testtable set col1 = N'new value'");
        tx.Complete();
    }
}

static void InnerMethod(string sqlText) {
    using (SqlConnection conn = SqlConnection(connStr)) {
        conn.Open();
        SqlCommand cmd = conn.CreateCommand();
        cmd.ExecuteNonQuery();
    }
}

Thanks

  • 1 1 Answer
  • 4 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-12T23:11:48+00:00Added an answer on May 12, 2026 at 11:11 pm

    Serializable is the default isolation level but MS DTC will respect the Isolation Level you specify in your TransactionOptions.

    UPDATE

    1) Yes, MS DTC Will be involved.

    1a) No (see above).

    1b) The previous answer is not yes, but it is my understanding that READ_COMMITTED_SNAPSHOT is only in effect if the isolation level is read committed. Other isolation levels will enforce their own locking model. “When the READ_COMMITTED_SNAPSHOT option is set to ON, read operations under the read committed isolation level are based on row versions and are executed in a nonlocking mode.”

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

Sidebar

Related Questions

I need some clarification over the below code. I know that str.Length will return
I need some clarification. I have a Reportwriter dll that uses Crystal Reports. It
Just need some quick clarification I have 2 Queries in my Access Database that
Need some help, please. I have a line of horizontal thumbnails loaded as ONE
I need some clarification; I have a jar that I built and inside of
I need some clarification on… … how the CLR — more specifically, the garbage
I have a basic question for which I need a some clarification in it's
I just need some clarification on variables A normal variable has 2 parts to
Need some regular expressions help. So far I have my code working to allow
Need some help... I have jasperserver 4.1 installed on my ubuntu. It runs via

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.