mscorlib internal exception ANY IDEA ?

System.InvalidOperationException was unhandled

Message="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)."

Source="mscorlib"

StackTrace:

at System.Threading.SynchronizationContextSwitcher.Undo()

at System.Threading.ExecutionContextSwitcher.Undo()

at System.Threading.ExecutionContext.runFinallyCode(Object userData, Boolean exceptionThrown)

at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteBackoutCodeHelper(Object backoutCode, Object userData, Boolean exceptionThrown)

at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)

at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)

at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)

at System.Net.ContextAwareResult.Complete(IntPtr userToken)

at System.Net.LazyAsyncResult.ProtectedInvokeCallback(Object result, IntPtr userToken)

at System.Net.Sockets.Socket.ConnectCallback()

at System.Net.Sockets.Socket.RegisteredWaitCallback(Object state, Boolean timedOut)

at System.Threading._ThreadPoolWaitOrTimerCallback.PerformWaitOrTimerCallback(Object state, Boolean timedOut)




Answer this question

mscorlib internal exception ANY IDEA ?

  • Mateusz Rajca

    IU've seen this exception several other places however you have provided no details as to when you get this exception. Are you using express edition splash forms Please provide more specific details on the projects that you are seeing this exception and when you are seeing this exception.

  • mscorlib internal exception ANY IDEA ?