jjmmbb
Guest
|
Posted:
Tue Aug 09, 2005 4:53 pm Post subject:
Error calling RPG-based host application on AS/400 (iSeries) |
|
|
I am working with the evaluation version of HIS 2004. I have created some
basic code to call an RPG-based program hosted on an AS/400. It seems to
trigger the RPG program successfully, but an exception is raised. Here are
the error messages recorded in the trace log:
3720 00000e94 Aug 08 16:27:44.005 15005 ConvertObj UnpackServerReply module
has been exited hr=80020009
3720 00000e94 Aug 08 16:27:44.036 11003 Remoting Interceptor returning from
DD.DDTest.dd with exception 'System.Runtime.InteropServices.COMException
(0x80010105): The server threw an exception.
at DCGENLib.DCGenObjClass.PrivateInvoke(String bstrCLSID, Int32 dispID,
Object[]& ppContextArray, Object[] pInParams, Object[]& pOutParams, Int32&
pHResult, Object& pResult, String& pMessage, String& pHelpLink)
at
Microsoft.HostIntegration.TI.RemotingInterceptor.InterceptorServerChannelSink.ProcessMessage(IServerChannelSinkStack
sinkStack, IMessage msg, ITransportHeaders requestHeaders, Stream
requestStream, IMessage& rm, ITransportHeaders& responseHeaders, Stream&
responseStream)'.
Could someone tell me how to solve the problem? Thanks. |
|
Rob Beardsworth [MSFT]
Guest
|
Posted:
Tue Aug 09, 2005 4:53 pm Post subject:
RE: Error calling RPG-based host application on AS/400 (iSer |
|
|
Did you get an Event Log message?
There is a bug associated with full internal tracing of COMTI which is
probably causing your COMException and stopping the error getting back to
the client. In the future do not select Convert->Extended Error Info in the
WIP Tracing Dialog.
If you turn off the extended tracing the client should receive some error
like "can't convert date/decimal/ran out of buffer etc".
Rob Beardsworth
Microsoft
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of any included samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
--------------------
Subject: Error calling RPG-based host application on AS/400 (iSeries)
Date: Tue, 9 Aug 2005 05:55:09 -0700
Lines: 23
I am working with the evaluation version of HIS 2004. I have created some
basic code to call an RPG-based program hosted on an AS/400. It seems to
trigger the RPG program successfully, but an exception is raised. Here are
the error messages recorded in the trace log:
3720 00000e94 Aug 08 16:27:44.005 15005 ConvertObj UnpackServerReply
module
has been exited hr=80020009
3720 00000e94 Aug 08 16:27:44.036 11003 Remoting Interceptor returning
from
DD.DDTest.dd with exception 'System.Runtime.InteropServices.COMException
(0x80010105): The server threw an exception.
at DCGENLib.DCGenObjClass.PrivateInvoke(String bstrCLSID, Int32 dispID,
Object[]& ppContextArray, Object[] pInParams, Object[]& pOutParams, Int32&
pHResult, Object& pResult, String& pMessage, String& pHelpLink)
at
Microsoft.HostIntegration.TI.RemotingInterceptor.InterceptorServerChannelSin
k.ProcessMessage(IServerChannelSinkStack
sinkStack, IMessage msg, ITransportHeaders requestHeaders, Stream
requestStream, IMessage& rm, ITransportHeaders& responseHeaders, Stream&
responseStream)'.
Could someone tell me how to solve the problem? Thanks. |
|