SAP Knowledge Base Article - Preview

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

Symptom

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:

SAPUILandscapeXMLProcessor.loadConfig(SOFTWARE\Wow6432Node\,null)

Using SAPLogon.ini there is no problem:

SapLogonIniConfiguration.GetSystemEntries()
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 


Read more...

Environment

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

Product

SAP NetWeaver 7.5

Keywords

.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 ONE Support launchpad (Login required).

Search for additional results

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