Click here to Skip to main content
15,897,273 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi,

I am using entity framework Transaction for inserting and updating data in multiple tables.
It works fine for the small data but throw following error when data is huge:

System.Data.EntityException: The underlying provider failed on Open. ---> System.Transactions.TransactionException: The operation is not valid for the state of the transaction. at System.Transactions

Please suggest some solution of it.

Thank you,

Regards,
Ashish
Posted

1 solution

This exception arises if the connection strings are not proper. Please check the connection strings.
Thanks
:)
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900