Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 23857

Transaction Scope in SQL with same Connection String Multiple times showing MSDTC Service not configured for the second method

$
0
0

Hi,

Am Using Transaction Scope to Insert to a Master Table and two Sub tables using same connection string.

Am opening and closing connection string each time.

Method 1. Insert into Master Table

Method 2. Insert into Sub Table 1 with Master Table Primary Key

Method 3. Insert into Sub Table 2 with Master Table Primary Key

Connection string using : "server=IPAddress; database=DBName; uid=*;pwd=123; Pooling=True;Min Pool Size=5;Max Pool Size=2000;Connect Timeout=60;"

My First Method executing within Transaction Scope But When Executing Second Method it shows 

"Network access for Distributed Transaction Manager (MSDTC) has been disabled. Please enable DTC for network access in the security configuration for MSDTC using the Component Services Administrative tool"

as am already set MSDTC Settings in my server

MSDTC Settings in Component Services

Please help me to solve this issue.

Thanks in Adance

Shemeer Oveli



Viewing all articles
Browse latest Browse all 23857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>