I just updated my existing code from Entity framework 5 to 6 and I am getting below error
{System.Data.Entity.Infrastructure.CommitFailedException: An error was reported while committing a database transaction but it could not be determined whether the transaction succeeded or failed on the database server. See the inner exception and http://go.microsoft.com/fwlink/?LinkId=313468 for more information. ---> System.Data.SqlClient.SqlException: The transaction operation cannot be performed because there are pending requests working on this transaction.
My code is working fine in Entity framework 5 but not in 6.
((IObjectContextAdapter)SoInDBContext.Instance).ObjectContext.ExecuteFunction("SomeFunction", idParameter, fbIdParameter, emailParameter);
I am not using any transaction in the SP.