Error calling RPG-based host application on AS/400 (iSeries)
Windows Server Forum Index Windows Server
Server discussion on Windows platform.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web winserverhelp.com
Error calling RPG-based host application on AS/400 (iSeries)

 
Post new topic   Reply to topic    Windows Server Forum Index -> Host Integration Server
Author Message
jjmmbb
Guest





Posted: Tue Aug 09, 2005 4:53 pm    Post subject: Error calling RPG-based host application on AS/400 (iSeries) Reply with quote

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.
Back to top
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 Reply with quote

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.
Back to top
 
Post new topic   Reply to topic    Windows Server Forum Index -> Host Integration Server All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




New Topics Powered by phpBB