For others who are facing the same error System.IO.FileNotFoundException
:
Probably the SAP Connector hasn’t been installed correctly or isn’t detected.
Check %SystemRoot%\Microsoft.NET\assembly\GAC_32\
for two folders:
- sapnco
- sapnco_utils
If they exist, then copy the containing 2 DLL files to following folder:
%UserProfile%\.nuget\packages\uipath.sap.bapi.activities\2.2.1\lib\net461
Reinstall UiPath.SAP.BAPI.Activities
through UiPath Studio.
If this still doesn’t work, then temporarily enable assembly bind failure logging:
Check following file for the detailed error message:
[LogPath]\Default\UiPath.Studio.exe\sapnco*.HTM