Skip to Content
avatar image
Former Member

.Net Connection problem

Hello,

I have a problem using SAP .net connector.

On a machine using Visual Studio .Net 2003 and SAP .NET connector 2.0

I have successfully added an Application Server in Server Explorer

and I get all the BO's.

In my opinion, the BOR is loaded dynmically at design-time from SAP.

Is this right?

Now there is my strange phanomen.

When I drag e.g the BO ACCDocument, everything is fine and the

attributes/fields are displayed.

But when I drag the BO APAccount, there is a Message Box "Loading Data, this

may take some time" and after a few seconds there is an error message

like the one in

Proxy Update Error

"Could not establish a connection to R/3-System xyz".

When I set the ABAP-Debug-option to true, I can step through

the source-code on the desired system via Sapgui, so I think the connection-parameters

have to be right, and its no problem due to missing rights

please help me, what I'm doing wrong?

Unfortunately there's no solution provided in the

topic mentionned above

Thanks.

J.Kerscher

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Jun 15, 2005 at 01:59 PM

    > In my opinion, the BOR is loaded dynmically at

    > design-time from SAP.

    > Is this right?

    Yes, this is using NCo internally.

    But note that later for fetching the actual Metadata an external Java Program is used. Parts of the connection string is passed to this program, but not the full connection string. A lot can happen on this way. Therefore I recommend to hold Shift and Control keys while dragging, because this will copy the command line for Java to clipboard. Any further analysis has to be done with this Java program and it's parameters only.

    Add comment
    10|10000 characters needed characters exceeded

    • > ok, it finally worked after some hours of trial and

      Good.

      > error and after adding also the router-string to the

      > application-server (which is nowhere commented).

      ... but mentioned serveral times before here in the forum...