Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8516

Re: Migration to SAP NCo 3.0

$
0
0

HI Hynek,

 

I got the installable for NCo 3.0 separately so I could install it without issues. But accessing these documents require SAP market place login which I don't have.

 

I am particularly stuck at below point currently.

 

I am able to query the SAP Host status using below code and config below (and also able to execute BAPI functions but I do not need to do that)

 

But I am not able to Start or Stop the SAP Host. That means, if I write "SapHost.Start();"

SAPHost status is updated as Started but if I fetch the status next time (execute the application again), it is always stopped.

 

Code

 

Type[] RfcHandlers = new Type[1] { typeof(DxsRfcServer) };

RfcServer SapHost = null;

SapHost = RfcServerManager.GetServer("CONFIGENTRY", RfcHandlers);

 

app.config

 

<SAP.Middleware.Connector>

    <ClientSettings>

      <DestinationConfiguration>

        <destinations>

               <add NAME="ENTRY1" USER="*****" PASSWD="******" CLIENT="***" LANG="DE" ASHOST="**************************" SYSNR="**"/>

        </destinations>

      </DestinationConfiguration>

    </ClientSettings>

    <ServerSettings>

      <ServerConfiguration>

        <servers>

                  <add NAME="CONFIGENTRY" GWHOST="****" GWSERV="******" PROGRAM_ID="*****" REPOSITORY_DESTINATION="ENTRY1" />

        </servers>

      </ServerConfiguration>

    </ServerSettings>

  </SAP.Middleware.Connector>

 

Please suggest if you know how to fix this issue.

 

Thanks,

Darshan Bhatt


Viewing all articles
Browse latest Browse all 8516

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>