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

No Connection SLD -

Hey,

I want to call my SAP Test System from my WebDynpro Application via RFC Bapi - Call.

This worked fine but then suddenly I can't make any connection to the SLD anymore. The error message in the browser says:

<i>The initial exception that caused the request to fail, was:

com.sap.lcr.api.cimclient.LcrException: com.sap.lcr.api.cimclient.UnauthorizedUserException: User credentials are invalid or user is denied access

at com.sap.lcr.api.sapmodel.SAP_J2EEEngineClusterAccessor.getInstance(SAP_J2EEEngineClusterAccessor.java:99)

at com.sap.lcr.api.sapmodel.SAP_J2EEEngineClusterAccessor.getInstance(SAP_J2EEEngineClusterAccessor.java:78)

at com.sap.tc.webdynpro.serverimpl.wdc.sl.JCOClientConnection.readJCODestinationFromSLD(JCOClientConnection.java:520)

at com.sap.tc.webdynpro.serverimpl.wdc.sl.JCOClientConnection.resolveConnectionParameter(JCOClientConnection.java:454)

at com.sap.tc.webdynpro.serverimpl.core.sl.AbstractJCOClientConnection.init(AbstractJCOClientConnection.java:248)

</i>

My permissions at the sld are fine if I connect directly to the sld...

Some ideas ?

Thanx a lot in advance...

Kind Regards

Christof Kohler

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jul 18, 2006 at 08:02 AM

    Hi,

    From the exception,

    "com.sap.lcr.api.cimclient.LcrException: com.sap.lcr.api.cimclient.UnauthorizedUserException: User credentials are invalid or user is denied access" it is clear that the necessary user authentication to SLD is missing.

    As a first step, go to Visual Administrator->SLD supplier and check whether CIM Client Generation status is 'Successful'.

    Then, in the Visual Administrator->Security Provider, check whether the user has been assigned the relevant Role->Lcr.... file. The other way to do this is through UME.

    Hope this helps.

    Regards,

    Srinivasan T

    <b>Helpful answer=>points</b>

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hello Srinivasan,

      I also have the same exception throwing when accessing the ESS iviews from the portal, My exception says:

      <b>com.sap.lcr.api.cimclient.LcrException: com.sap.lcr.api.cimclient.UnauthorizedUserException:

      User credentials are invalid or user is denied access

      at com.sap.lcr.api.sapmodel.SAP_J2EEEngineClusterAccessor.getInstance(SAP_J2EEEngineClusterAccessor.java:99)

      at com.sap.lcr.api.sapmodel.SAP_J2EEEngineClusterAccessor.getInstance(SAP_J2EEEngineClusterAccessor.java:78)

      at com.sap.tc.webdynpro.serverimpl.wdc.sl.JCOClientConnection.readJCODestinationFromSLD(JCOClientConnection.java:520)

      at com.sap.tc.webdynpro.serverimpl.wdc.sl.JCOClientConnection.resolveConnectionParameter(JCOClientConnection.java:454)

      at com.sap.tc.webdynpro.serverimpl.core.sl.AbstractJCOClientConnection.init(AbstractJCOClientConnection.java:248)

      ... 57 more</b>

      As per your suggestions to the earlier post, I did log into the visual administrator and then I tried testing the CIM connection. I got a message that it failed to connect.

      Could you please suggest how this can be corrected?

      ~As always, points always galore for the right and helpful answer.

      Thanks,

      ~LB

  • author's profile photo Former Member
    Former Member
    Posted on Jul 17, 2006 at 01:25 PM

    Hi Christof,

    webdynpro-callable-object---rfc-model might help.

    Regards,

    Satyajit.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 17, 2006 at 01:34 PM
    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.