Skip to Content
avatar image
Former Member

.Net Connectors and SAP Server programms not pass test connection

Hi all. Sory for my bad english

I wrote folowing Server program:

 void main()
            MySAPServerHost host1 = new MySAPServerHost();
            //SAPProxy1Impl consist implementation 1 server function
            SAPProxy1Impl    server1 = new SAPProxy1Impl(Environment.GetCommandLineArgs(), host1);


This program then registering in destination as launch in front-end workstation.

But when i try in this screen of destination make Test connection, i always get error: timeout during allocate...

I see in logs that argument line passed to SAPProxy1Impl();

consist following line

Cmd args = c:\serv\sapservice.exe /H/ sapgw20 23942215 IDX=10

c:\serv\sapservice.exe - my server program which i write in section program of destination

May be something wrong?

Here already writes about this problem with command line with SAPServer in Net,i don`t know is resolved or not yet.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Jun 06, 2007 at 05:23 AM


    Have you maintained the same program id in command line parameter and RFC destination? And also make sure, you are giving the correct host name in both places.

    Thanks you,



    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Yes you rights. Great Thank. Its solved my problem. alternative way i found is use this programs as windows based service,and registering as server-registered app