• Register
0 votes

Problem :

I am trying to SQL Server and ASP.NET. I have written the following function:

Using js = daoFactory.CreateMyJoinScope()

Using transact = New Transactions.TransactionScope()



                End Using

            End Using

But I am facing  the following exception:

 'The transaction manager has disabled its support for remote/network transactions.'

Please find below the Description of MyJoinScope:

Public Class MyJoinScope

    Implements IJoinScope

    Implements IDisposable


End Class

I have already worked in the same manner in another application with the same environments but without any issue, but here I have above problem. How can I solve this problem?

6 5 3
7,540 points

Please log in or register to answer this question.

1 Answer

0 votes

Solution :

Please always confirm that the "Distributed Transaction Coordinator" Service is running on your database and client both. Also please check if you have "Network DTC Access", "Allow Remote Client", "Allow Inbound/Outbound" and "Enable TIP".

Please follow below procedure to enable the Network DTC Access for the MS DTC transactions

1.  To begin with please open the Component Services snap-in.

So to open Component Services please click Start. In your search box please type dcomcnfg, and after that press ENTER.

2.  Now expand the console tree to find the DTC (e.g, Local DTC) for whom you want to enable the Network MS DTC Access.

3.  On your Action menu please click Properties.

4.  Finally click your Security tab and please make the following changes:

In the Security Settings, please check the Network DTC Access check box.

And in Transaction Manager Communication, check the Allow Inbound and Allow Outbound check boxes.

After following all above procedure your issue will be resolved.

9 7 4
38,600 points

Related questions

0 votes
1 answer 14 views
Problem: please help me to solve it... crystal reports for visual studio 2010 free download 64 bit
asked Apr 1 Ifra 34.7k points
1 vote
1 answer 3 views
Problem: I am getting the foolowing problem so any please help: Exception of type system outofmemoryexception was thrown.
asked Apr 26 PkGuy 23.5k points
0 votes
1 answer 14 views
Problem: exception of type 'system.outofmemoryexception' was thrown
asked Feb 18 charles mathews 5.5k points
0 votes
1 answer 37 views
0 votes
1 answer 55 views
0 votes
1 answer 17 views
Probelm: the transaction log for database is full due to 'log_backup'
asked Feb 16 Ethan ross 2.7k points
1 vote
1 answer 3 views
Problem: How to fix this? Remote: this repository moved. please use the new location:
asked Apr 25 PkGuy 23.5k points
0 votes
1 answer 2 views
Solution: Please help me to solve it... this page is accessing information that is not under its control
asked Mar 25 Ifra 34.7k points
0 votes
1 answer 4 views
Problem: Gateway error this transaction cannot be accepted.
asked Apr 11 Dan phillip 4.8k points
0 votes
1 answer 1 view
1 view
Problem: Why I am getting an error > Powershell cannot be loaded because running scripts is disabled on this system.
asked Apr 28 ummeshani 8.8k points