I have this query and I get the error in this function:
var accounts = from account in context.Accounts from guranteer in account.Gurantors
Well for me it was my own bug. I was trying to run an INSERT using SqlCommand.executeReader() when I should have been using SqlCommand.ExecuteNonQuery(). It was opened and never closed, causing the error. Watch out for this oversight.
INSERT
SqlCommand.executeReader()
SqlCommand.ExecuteNonQuery()