Forum Post: RE: OpenClient

  • Thread starter Thread starter MarkHeppenstall
  • Start date Start date
Status
Not open for further replies.
M

MarkHeppenstall

Guest
Some more details.... This is a basic c# code fragment to indicate what we are doing (trimming out the actual names/paths etc.):- using Progress.Open4GL; using Progress.Open4GL.Proxy; using Progress.Open4GL.DynamicAPI; Connection myConn = null; OpenAppObject oAPI = null; string strUrl = "AppServer://ServerName:5162/AppServerName"; //Connect myConn = new Connection(strUrl, "", "", ""); oAPI = new OpenAppObject(myConn, "DotNet"); //Do a simple run with INPUT and OUTPUT param ParamArray p = new ParamArray(4); p.AddLongChar(0, strParam1, ParamArrayMode.INPUT); p.AddLongChar(1, strParam2, ParamArrayMode.INPUT); p.AddLongChar(2, strParam3, ParamArrayMode.INPUT); p.AddLongChar(3, null, ParamArrayMode.OUTPUT); oAPI.RunProc("pcodefile.p", p); catch (Progress.Open4GL.Exceptions.RunTime4GLException ex) { MessageBox.Show(ex.ToString()); } I have narrowed it down to the fact that the RunProc method is throwing the Progress.Open4GL.Exceptions.RunTime4GLException id=7211, ERROR condition: Server Terminated Unexpectedly (7211) There are no errors in the server log of the Appserver just the previous errors in the broker log. Any ideas?

Continue reading...
 
Status
Not open for further replies.
Back
Top