score:5
do you have any idea why are you triggering distributed transactions? this is what you need to investigate. usual culprit is multiple ado.net connection from a single transactionscope. see ado.net and system.transactions and ado.net and linq to sql. make sure you use a single connection (ie. linq2sql context) in a transaction scope. you shouldn't have to use more than one per http call anyway.
Source: stackoverflow.com
Related Query
- My Linq to Sql Insert code seems to work fine but I don't get a record in the database
- Convert SQL to Linq in ASP Net Core
- How are people unit testing code that uses Linq to SQL
- LINQ to SQL does not update when data has changed in database
- Check LINQ query against SQL Server database
- LINQ to SQL Cannot create database [Schema Permissions]
- Retrieving an image from database with Linq to SQL
- ASP.NET MVC TDD with LINQ and SQL database
- LINQ Source Code Available
- Linq to SQL DataContext fails to update Enum field in database for inherited objects
- Delete all records from a database using LINQ to SQL
- What can map database tables like LINQ to SQL did?
- LINQ to SQL - Database Design issue
- How to code the partial extensions that Linq to SQL autogenerates?
- LINQ to SQL for an existing database
- Determine the source DataContext for a Linq to Sql query
- Using LINQ to SQL to search entire database
- How to get SQL query into LINQ form in C# code
- ASP.NET LINQ SQL DATABASE
- Multiple Database connections in a LINQ to SQL DataContext
- Shuould we perform LINQ directly in asp net mvc views
- Export SQL Server Database Table to XML Using Linq
- LINQ to SQL database row not updating
- Is a full list returned first and then filtered when using linq to sql to filter data from a database or just the filtered list?
- creating Linq to sqlite dbml from DbLinq source code
- Does LINQ convert code to SQL queries
- How do i convert this linq code to inline sql
- Reuse Linq to SQL code with entityframework
- LINQ code to combine two database tables?
- Linq to Sql NotSupportedException "The explicit construction of the entity in a query is invalid" when selecting new Type of other Database Table
More Query from same tag
- Linq to Entities : how to handle null values in database with a contains
- Linq : Join tables take from table whose value is not null
- Linq Distinct on list
- Self Join or Inner Query in a table with Linq to SQL
- Can't change value in foreach from IEnumerable<Model>
- Using IEqualityComparer to find records
- Put value in datatable group by week
- How to optimize this loop into one linq query removing the loop call entirely?
- LINQ return type/value is not what im awaiting
- LINQ 3 Inner Joins with 1 Left Outer Join
- LINQ to find count of all Datapoints in ASP.NET Chart
- Translate LINQ Inline query to extension method
- Show subset of data in MVC3 view page
- C# Entity LINQ returns wrong and duplicate values
- Merging two IQueryables into a Dictionary with LINQ
- How do i Query using mutiple strings in where statement in LINQ
- group by and count using linq
- LINQ. Grouping by days. How to do this easily?
- linq match word with boundaries
- What is the easiest way to seeing if there are any matches across a few DateTime arrays?
- NHibernate select top N with condition on children using fetch
- How to get KML Polygon and Multigeometry values in c#?
- LINQ to Entities does not recognize the method Double Round(Double, Int32, System.MidpointRounding) method
- Find list of xml elements that have a list of names using linq (and remove them)
- LINQ to XML C# get root element attribute
- List Manipulation in C# using Linq
- How to select only those records from collection which have relation with another table using Linq
- How to call a lambda using LINQ expression trees in C# / .NET
- copy data from one list to another
- linq and string.compare/string.equals in wcf?