biztalk
2009-07-30 12:34:01 UTC
We have created one .Net application to catch biztalk suspension events.it
was running fine in 2003 32 bit environement..but when we change the os
version to windows 2003 sp2 x64 is started giving some problem. foe biztalk
we have something called MsBTS_SuspendedEvent..now the .NET applicaiton is
able to catch this events..but when it trying to call once more event and
trying to invoke one of the method of MSBTS_MessageInstance..it is throwing
"System.ArgumentException: The parameter is incorrect.
at
System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32
errorCode, IntPtr errorInfo)
at System.Management.ManagementObject.InvokeMethod(String methodName,
ManagementBaseObject inParameters, InvokeMethodOptions options)
at System.Management.ManagementObject.InvokeMethod(String methodName,
Object[] args)
at
CIT.ESS.BizTalk.BizTalkMonitorTool.BizTalkMonitorTool.MyEventHandler(Object
sender, EventArrivedEventArgs e)" error...
and the weird thing is we are not getting this error all time..the
application will work well for some time and then throw error some time..it
is not consistent..
Please help me to solve this issue.....
We are using Biztalk server 2006 R2, .NET 2.0
thanks,
was running fine in 2003 32 bit environement..but when we change the os
version to windows 2003 sp2 x64 is started giving some problem. foe biztalk
we have something called MsBTS_SuspendedEvent..now the .NET applicaiton is
able to catch this events..but when it trying to call once more event and
trying to invoke one of the method of MSBTS_MessageInstance..it is throwing
"System.ArgumentException: The parameter is incorrect.
at
System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32
errorCode, IntPtr errorInfo)
at System.Management.ManagementObject.InvokeMethod(String methodName,
ManagementBaseObject inParameters, InvokeMethodOptions options)
at System.Management.ManagementObject.InvokeMethod(String methodName,
Object[] args)
at
CIT.ESS.BizTalk.BizTalkMonitorTool.BizTalkMonitorTool.MyEventHandler(Object
sender, EventArrivedEventArgs e)" error...
and the weird thing is we are not getting this error all time..the
application will work well for some time and then throw error some time..it
is not consistent..
Please help me to solve this issue.....
We are using Biztalk server 2006 R2, .NET 2.0
thanks,
--
Thanks and Regards,
Pandurang
Thanks and Regards,
Pandurang