Need help in understanding this error message generated from mscorlib failing when using threading. I know the problem is not the code written by me, as the application works fine until the computer system is left idle, say for 30mins and allowed to
go into sleep mode then the error manifests itself, about a minute later when the computer wakes from sleep mode, the application will perform its tasks and then this error is generated.
This could be a problem with System.Net.NetworkInformation.NetworkChange.AddressChangeListener.AddressChangedCallback
Any information given about the error described below is greatly appreciated, and information on how to prevent such errors even more greatly appreciated, or traps and handles it successfully.
Details of the error given below:--
"The Undo operation encountered a context that is different from what was applied in the corresponding Set operation. The possible cause is that a context was Set on the thread and not reverted(undone)."
StackTrace: " at System.Threading.SynchronizationContextSwitcher.Undo()\r\n at System.Threading.ExecutionContextSwitcher.Undo()\r\n at System.Threading.ExecutionContext.run
View Complete Post