I have been getting this error when doing savechanges().
System.Data.SqlClient.SqlException: New transaction is not allowed because there are other threads running in the session.

I read this issue in many places and most are fixed with a .ToList() .First() or similar methods (basically not changing the object while the reading happens. I have made sure that this is taken care in the code.

i get this error when i access the site and run from 2 different machines, and the i get this error from various places (sometimes when i save task A , some times B and so on..).

I would like to know how do i resolve this.

Thank you.