EDN Admin
Well-known member
Hi to all,
I am experiencing a mysterious unhandled System.TargetInvocation exception whil using background worker. Follwing are the logged in event viewer when the application resulted in unhandled exception.
.NET RunTime:
Application: MyApplication.exe<br/>
Framework Version: v4.0.30319<br/>
Description: The process was terminated due to an unhandled exception.<br/>
Exception Info: System.Reflection.TargetInvocationException
Stack:<br/>
at System.RuntimeMethodHandle._InvokeMethodFast(System.IRuntimeMethodInfo, System.Object, System.Object[], System.SignatureStruct ByRef, System.Reflection.MethodAttributes, System.RuntimeType)<br/>
at System.RuntimeMethodHandle.InvokeMethodFast(System.IRuntimeMethodInfo, System.Object, System.Object[], System.Signature, System.Reflection.MethodAttributes, System.RuntimeType)<br/>
at System.Reflection.RuntimeMethodInfo.Invoke(System.Object, System.Reflection.BindingFlags, System.Reflection.Binder, System.Object[], System.Globalization.CultureInfo, Boolean)<br/>
at System.Reflection.RuntimeMethodInfo.Invoke(System.Object, System.Reflection.BindingFlags, System.Reflection.Binder, System.Object[], System.Globalization.CultureInfo)<br/>
at 17gnGE.3qxLxZ.1CLTt3(System.Object, System.ComponentModel.DoWorkEventArgs)<br/>
at System.ComponentModel.BackgroundWorker.OnDoWork(System.ComponentModel.DoWorkEventArgs)<br/>
at System.ComponentModel.BackgroundWorker.WorkerThreadStart(System.Object)<br/>
at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr, System.Object[], System.Object, Int32, Boolean, System.Object[] ByRef)<br/>
at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(System.Runtime.Remoting.Messaging.IMessage, System.Runtime.Remoting.Messaging.IMessageSink)<br/>
at System.Runtime.Remoting.Proxies.AgileAsyncWorkerItem.DoAsyncCall()<br/>
at System.Runtime.Remoting.Proxies.AgileAsyncWorkerItem.ThreadPoolCallBack(System.Object)<br/>
at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(System.Object)<br/>
at System.Threading.ExecutionContext.runTryCode(System.Object)<br/>
at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode, CleanupCode, System.Object)<br/>
at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)<br/>
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)<br/>
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()<br/>
at System.Threading.ThreadPoolWorkQueue.Dispatch()<br/>
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()
Application Error:
Faulting application name: MyApplication.exe, version: 8.2.0.0, time stamp: 0x4f746b73<br/>
Faulting module name: KERNELBASE.dll, version: 6.1.7600.16385, time stamp: 0x4a5bdaae<br/>
Exception code: 0xe0434352<br/>
Fault offset: 0x00009617<br/>
Faulting process id: 0xb88<br/>
Faulting application start time: 0x01cd0db480a62dcf<br/>
Faulting application path: Crogram FilesARKAD 8.x MyApplication.exe<br/>
Faulting module path: C:Windowssystem32KERNELBASE.dll
Please help me. Any help would be highly appericiated.
Note: This error doesnt happens in debug mode.<br/>
<hr class="sig If a post answers your question, please click Mark As Answer on that post and Mark as Helpful. Happy Coding...
View the full article
I am experiencing a mysterious unhandled System.TargetInvocation exception whil using background worker. Follwing are the logged in event viewer when the application resulted in unhandled exception.
.NET RunTime:
Application: MyApplication.exe<br/>
Framework Version: v4.0.30319<br/>
Description: The process was terminated due to an unhandled exception.<br/>
Exception Info: System.Reflection.TargetInvocationException
Stack:<br/>
at System.RuntimeMethodHandle._InvokeMethodFast(System.IRuntimeMethodInfo, System.Object, System.Object[], System.SignatureStruct ByRef, System.Reflection.MethodAttributes, System.RuntimeType)<br/>
at System.RuntimeMethodHandle.InvokeMethodFast(System.IRuntimeMethodInfo, System.Object, System.Object[], System.Signature, System.Reflection.MethodAttributes, System.RuntimeType)<br/>
at System.Reflection.RuntimeMethodInfo.Invoke(System.Object, System.Reflection.BindingFlags, System.Reflection.Binder, System.Object[], System.Globalization.CultureInfo, Boolean)<br/>
at System.Reflection.RuntimeMethodInfo.Invoke(System.Object, System.Reflection.BindingFlags, System.Reflection.Binder, System.Object[], System.Globalization.CultureInfo)<br/>
at 17gnGE.3qxLxZ.1CLTt3(System.Object, System.ComponentModel.DoWorkEventArgs)<br/>
at System.ComponentModel.BackgroundWorker.OnDoWork(System.ComponentModel.DoWorkEventArgs)<br/>
at System.ComponentModel.BackgroundWorker.WorkerThreadStart(System.Object)<br/>
at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr, System.Object[], System.Object, Int32, Boolean, System.Object[] ByRef)<br/>
at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(System.Runtime.Remoting.Messaging.IMessage, System.Runtime.Remoting.Messaging.IMessageSink)<br/>
at System.Runtime.Remoting.Proxies.AgileAsyncWorkerItem.DoAsyncCall()<br/>
at System.Runtime.Remoting.Proxies.AgileAsyncWorkerItem.ThreadPoolCallBack(System.Object)<br/>
at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(System.Object)<br/>
at System.Threading.ExecutionContext.runTryCode(System.Object)<br/>
at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode, CleanupCode, System.Object)<br/>
at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)<br/>
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)<br/>
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()<br/>
at System.Threading.ThreadPoolWorkQueue.Dispatch()<br/>
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()
Application Error:
Faulting application name: MyApplication.exe, version: 8.2.0.0, time stamp: 0x4f746b73<br/>
Faulting module name: KERNELBASE.dll, version: 6.1.7600.16385, time stamp: 0x4a5bdaae<br/>
Exception code: 0xe0434352<br/>
Fault offset: 0x00009617<br/>
Faulting process id: 0xb88<br/>
Faulting application start time: 0x01cd0db480a62dcf<br/>
Faulting application path: Crogram FilesARKAD 8.x MyApplication.exe<br/>
Faulting module path: C:Windowssystem32KERNELBASE.dll
Please help me. Any help would be highly appericiated.
Note: This error doesnt happens in debug mode.<br/>
<hr class="sig If a post answers your question, please click Mark As Answer on that post and Mark as Helpful. Happy Coding...
View the full article