I had a scenario where needed to loop through all the projects and then all it tasks and getting the error in Entity framework 4.2: "There is already an open DataReader associated with this Command which must be closed first."
The solution is to set the lazy loading off or add MARS to the connection string. Strange?
'via Blog this'
No comments:
Post a Comment