• 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 20 views
0 votes
1 answer 36 views
0 votes
1 answer 44 views
Problem: I have a number of "test" projects in my visual studio solution that I have already excluded from building when I try to rebuild a solution. On the other hand if I try to rebuild a solution then I still see my those projects in my output window with below ... . Is there any way known to you to exclude that message from getting displayed in my output window if I try to rebuild my solution?
asked Aug 14, 2020 Raphael Pacheco 4.9k points
0 votes
1 answer 7 views
0 votes
1 answer 112 views
Problem : I have recently installed a website on my local machine using IIS 7 successfully. But when I tried to deploy it on the live server, I got a following error: "The page cannot be displayed because an internal server error has occurred" Nothing else. Using a same IIS 7 on live and also set to have the Detailed errors in Error Pages module, but still getting a same. What can be the reason?
asked Jan 28, 2020 jwilliam 3.9k points
0 votes
1 answer 58 views
Problem : I am very new to ASP.Net. I have created my first ASP.Net application which impersonates the user in order to create the AD group, and after that it launches the powershell process as the user saperately. But because of some reason the group ... I would rather not compromise with the security policy with the server ideally, and this application will be used by around 100+ users.
asked Dec 5, 2019 alecxe 7.5k points
0 votes
2 answers 287 views
Problem : Currently I am migrating from the Identity 1.0.0 to Identity 2.0.1. But the migrations code generated is nothing about the new IdentityUser. And It does not even add the new columns. So I tried to make the new project and also I ... current context At below line IdentityResult result = await UserManager.CreateAsync(user, model.Password); Any clue about the solution on my above problem?
asked Dec 25, 2019 alecxe 7.5k points
0 votes
1 answer 86 views
Problem : I want to deploy my ASP.NET application. I have tried deploying my site to IIS, but when I visit it with the browser, it gives me following error : Server Error 500 - Internal server error. There is a problem with the resource you are looking for ... error: The page cannot be displayed because an internal server error has occurred. I want to see the actual issue behind my server error?
asked Dec 7, 2019 alecxe 7.5k points
0 votes
2 answers 197 views
Problem : I am new to ASP MVC and I am facing one error. I am trying to access the Model's Data from the Controller section and I am getting following error when I try to create a Movie as a part of the exercise, whenever I try to click on the link "Create New" I ... am using the Visual Studio 2012 RC I am not sure if this is the root cause of my issue.Please let me know the solution for my issue.
asked Dec 3, 2019 alecxe 7.5k points
0 votes
1 answer 6 views
Problem: I am developing an application that has a database that is acid, and it has three tables in it. I tried to populate the tables into treeview in vb.net but it is giving me an error. Please I need help. Its pops up error at this point, it's ... Nodes.Add(item) For Each Str As String In list2(item) Dim fatherNode As TreeNode = GrandfatherNOde.Nodes.Add(Str) Next Next End Sub End Class
asked Sep 14, 2020 boris elin 620 points