WCF-SAP adapter may fail when you set the ConnectorType value to NCo. This occurs when any of the transport properties contain spaces within the value. In this situation, you receive an error message that resembles the following:
Connecting to the LOB system has failed.
Destination NCoConnection does not exist.
System.IndexOutOfRangeException
Index was outside the bounds of the array.
Microsoft.Adapters.SAP.NCo.RfcClientConnection.GetParameters(System.String)
SAP.Middleware.Connector.RfcDestinationManager.GetDestination(System.String)
Microsoft.Adapters.SAP.NCo.RfcClientConnection.Open()
Microsoft.Adapters.SAP.SAPConnection.OpenNCoConnection()
Microsoft.Adapters.SAP.SAPConnection.Open(System.TimeSpan)
Microsoft.ServiceModel.Channels.Common.Design.ConnectionPool.GetConnection(System.Guid, System.TimeSpan)
Destination NCoConnection does not exist.
System.IndexOutOfRangeException
Index was outside the bounds of the array.
Microsoft.Adapters.SAP.NCo.RfcClientConnection.GetParameters(System.String)
SAP.Middleware.Connector.RfcDestinationManager.GetDestination(System.String)
Microsoft.Adapters.SAP.NCo.RfcClientConnection.Open()
Microsoft.Adapters.SAP.SAPConnection.OpenNCoConnection()
Microsoft.Adapters.SAP.SAPConnection.Open(System.TimeSpan)
Microsoft.ServiceModel.Channels.Common.Design.ConnectionPool.GetConnection(System.Guid, System.TimeSpan)