SAP Knowledge Base Article - Preview

2697604 - Error when trying to use SAPUILandscape.xml in an NCo3 application - The URL cannot be empty


The SAP .NET Connector calls do not work with SAPUILandscape.xml, however, everything works with SAPLogon.ini.

SAP .Net Connector (NCo) initialization can not be completed successfully. Calling the method "SapLogonIniConfiguration.Create()" throws the exception:

System.ArgumentNullException: "The URL cannot be empty. Parameter name: url"

Using SAPUILandscape.xml, nco_rfc_<XXXX>.trc files show the following:


Using SAPLogon.ini there is no problem:

Found saplogon.ini entry: SAP ERP Entwicklungssystem - <SID>
Found saplogon.ini entry: SAP ERP Produktivsystem - <SID>
Found saplogon.ini entry: SAP ERP Qualitätssicherungssystem - <SID>
Found saplogon.ini entry: SAP Solution Manager - <SID>
SapLogonIniConfiguration.GetSystemEntries() OK 



  • SAP GUI 7.50
  • .Net Connector 3.0
  • SAPUILandscape.xml


SAP NetWeaver 7.5


.net connector, nco, SAPUILandscape.xml, The URL cannot be empty, Parameter name: url, registry, ArgumentNullException , KBA , BC-MID-CON-NCO , SAP .Net Connector , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.