on 07-27-2009 6:33 PM
I am trying to create an app but I cannot connect to the SAP server. Also, I have installed .NET connector 2.0. I am attaching the code and the error that I get. Any help would be greatly appreciated!!!
Error - A first chance exception of type 'SAP.Connector.RfcException' occurred in SAP.Connector.dll
Dim BackflushProxy As Backflush = New SAP_BAPI.Backflush
Dim destination = New SAP.Connector.Destination
destination.AppServerHost = My.Settings.SAPAppServer
destination.Client = "100"
destination.Password = My.Settings.SAPPassword
destination.SystemNumber = "01"
destination.Username = My.Settings.SAPUserName
Dim connection = New SAP.Connector.SAPConnection(destination)
BackflushProxy.Connection = connection
BackflushProxy.Connection.Open()
BackflushProxy.Bapi_Repmanconf1_Create_Mts(BflushDatagen, BflushFlags, strConfirmation, BackflushReturn)
BackflushProxy.Connection.Close()
Edited by: Ken Koos on Jul 27, 2009 7:37 PM
I figured it out.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.