Suping Chen's Notes

All about Technical issues

Monday, April 15, 2013

Data Entity Exception when using transaction




I use Entity Framework as database layer, got exception :

"The underlying provider failed on Open.

System.Data.Entity
The operation is not valid for the state of the transaction.
System.Transactions

"
when I enable the network DTC access, the problem resolved.


To enable network DTC access and configure Windows Firewall on Windows 7 or Windows Server 2008 R2

Posted by SC at 8:09 AM
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

No comments:

Post a Comment

Newer Post Home
Subscribe to: Post Comments (Atom)

Blog Archive

  • ►  2019 (8)
    • ►  June (2)
    • ►  May (1)
    • ►  April (5)
  • ►  2018 (6)
    • ►  December (2)
    • ►  November (1)
    • ►  September (1)
    • ►  March (1)
    • ►  February (1)
  • ►  2017 (11)
    • ►  October (1)
    • ►  August (1)
    • ►  July (3)
    • ►  June (2)
    • ►  February (3)
    • ►  January (1)
  • ►  2016 (9)
    • ►  October (4)
    • ►  August (1)
    • ►  April (1)
    • ►  March (1)
    • ►  January (2)
  • ►  2015 (12)
    • ►  November (1)
    • ►  September (1)
    • ►  June (2)
    • ►  May (2)
    • ►  March (2)
    • ►  February (1)
    • ►  January (3)
  • ►  2014 (8)
    • ►  December (2)
    • ►  June (2)
    • ►  February (3)
    • ►  January (1)
  • ▼  2013 (26)
    • ►  November (1)
    • ►  October (2)
    • ►  September (2)
    • ►  August (1)
    • ►  July (5)
    • ►  June (6)
    • ►  May (8)
    • ▼  April (1)
      • Data Entity Exception when using transaction
Simple theme. Theme images by gaffera. Powered by Blogger.