Strange problem that just starting to happen on a SL/WCF RIA Services project that I have been working on for the past year. Recently I have been getting this message everytime I fix a bug and re-run the application.
Load operation failed for query 'GetDepartments'. An error occurred while executing the command definition. See the inner exception for details. InnerException message: Batch execution is terminated because of debugger request.
If I "Clean" solution, and then start the application, everything then works again.
I've tried to isloate the exact error, but it occurs during a call back of the Load operation, and I'm not sure what is going on.
I turned on SQL Profiler, and the query looks the same and I don't think I'm having an issue at the server.
Any hints would be appreciated. It takes too long to build already!
R
The fact that cleaning the solution helps could mean one of two things: