I have this query and I get the error in this function:
var accounts = from account in context.Accounts
from guranteer in account.Gurantors
This is extracted from a real world scenario:
In conclusion, without forgetting about MultipleActiveResultSets, the code might have run for a long time before discovering a redundant db call that could be very costly, and I suggest not to fully depend on setting the MultipleActiveResultSets attribute but also find out why the code needs it where it failed.