Question / Problem:
All documents end up in Export failed when trying to export to PDAP/SAP.
Error message says something like:
The target system rejected the document and returned the following message: Server host (ASHOST/MSHOST) - Could not connect to SAP using connection details: CLIENT=100 USER=READSOFT PASSWD=***** LANG=IT ASHOST=192.168.1.1 SYSNR=00 System.TypeInitializationException: The type initializer for 'SAP.Middleware.Connector.RfcConfigParameters' threw an exception. ---> System.IO.FileLoadException: Could not load file or assembly 'sapnco_utils.dll' or one of its dependencies. The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG)) at SAP.Middleware.Connector.RfcConfigParameters.LoadConfiguration() at SAP.Middleware.Connector.RfcConfigParameters..cctor() --- End of inner exception stack trace --- at SAP.Middleware.Connector.RfcConfigParameters..ctor() at ReadSoft.ServiceBus.InvoicCockpitRfcNCo3.Wrapper.RfcClient..ctor(String name, String connectionString) at ReadSoft.ServiceBus.InvoiceCockpitRfc.Adapter.Services.RfcNCo3AdapterService.TestConnection(InvoiceCockpitRfcNco3Config properties, RfcTargetAdapterSystemProperties systemProperties)
Answer / Solution:
This is usually a problem with the credentials. It can also be that the PDAP/SAP server has moved and the IP address is incorrect.
Double check all settings in the target system in RSO. Make sure User, Password and Server host is correct.