Skip to Content
author's profile photo Former Member
Former Member

Why does the JCO client connect method fail ?

I am starting to write a WebDynpro application on WAS 6.3. I create a JCO client object using the createClient method, and specify the client, userid, password, lasnguage, server and system number (in that order). However the connect methos failes with error "could not open saprfc.ini, no such file or directory".

I was under the impression that the saprfc.ini was not needed when all parameters were specified ?

Anybody have any ideas ?

Thanks

Add comment
10|10000 characters needed characters exceeded

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Nov 25, 2003 at 12:44 PM

    Hello Avinash,

    It is not because of the JCO. This problem is caused by an error in RFC library .sar patch level 41 to 42. Please install the newest RFC library as of patch number 1149, .sar patch level 43:

    Best regards,

    Karin

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Karin,

      Thank you, that worked. The other soultion I was able to find (before reading your reply) was to specify the language as "E" instead of "EN".