MetricSign
Request Access
High severitydata source

Power BI Refresh Error:
RfcBaseException

What does this error mean?

The SAP .NET Connector threw an RfcBaseException, masking the real SAP BW error. Caused by version conflicts — fix requires a clean GAC reinstall.

Common causes

  • 1An old version of the SAP .NET Connector (SAP NCo) is installed — the RfcBaseException.get_ErrorCode() method is missing in older versions
  • 2Multiple versions of the SAP .NET connector are installed simultaneously (version conflict)
  • 3The SAP .NET connector was installed twice — once in the Global Assembly Cache (GAC) and once not in the GAC
  • 4Note: this error hides the real underlying SAP BW error; fixing the connector version reveals the actual problem

How to fix it

  1. 1Perform a clean installation of the SAP .NET Connector — do not just upgrade over the existing installation
  2. 2Step 1: Uninstall the existing SAP .NET Connector
  3. 3Step 2: Verify the connector is gone from the GAC — confirm these paths do NOT contain DLLs: C:\Windows\Microsoft.NET\assembly\GAC_64\sapnco\ and C:\Windows\Microsoft.NET\assembly\GAC_32\sapnco\
  4. 4Step 3: Confirm no binaries remain in C:\Program Files\SAP\SAP_DotNetConnector3_Net40_x64 or C:\Program Files (x86)\sap\
  5. 5Step 4: Reinstall the connector (recommended: version 3.0.23) and make sure to check 'Install assemblies to GAC' during setup
  6. 6After reinstalling, restart the Power BI Desktop or gateway service to load the new connector

Other data source errors