cancel
Showing results for 
Search instead for 
Did you mean: 

SAP .NET Connector Problem - SAP.Connector.RfcException

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

I figured it out.

andrewscott9
Participant
0 Kudos

A bit of a long shot but I am having the same problem!

How did you figure it out???

Thanks

Andy