I originally had a PC that was working fine, but due to circumstances, I performed a clean install of Windows 11 and restored it to its previous configuration. Now, when I start SAP, I get the error “External component has thrown an exception,” and it won’t work.
I haven’t changed the version or configuration of SAP, and it works fine manually. I have also enabled the SAP script settings.
I haven’t changed the version of UiPath either.
It works without issues on other PCs with the same configuration.
In this case, what other points should I check?
Verify the SAP GUI installation and ensure the patch level matches exactly. UiPath SAP automation typically requires a 32-bit SAP GUI, and any mismatch (such as using a 64-bit version) can lead to errors like “External component has thrown an exception.”
[Translate]
Please verify the installation status of SAP GUI and ensure that the patch level is fully consistent. UiPath’s SAP automation usually requires a 32-bit version of SAP GUI. Therefore, differences (mismatches) such as using a 64-bit version can cause errors like “External component has thrown an exception.”
If that’s the case, I think there might be an issue with the UiPath or SAP GUI on the specific terminal not being set up correctly or being corrupted. If there are repair functions available in any of the applications, you could try those, or it might be cumbersome, but a re-setup (clean uninstall → install) could be a possible solution.
It was the same as the one that was functioning, including the SAP version, but it didn’t work.
After that, I performed an uninstall and then a reinstall of UiPath, but the error still occurred.
However, after uninstalling and reinstalling SAP, it worked properly.
I didn’t change any procedures, but for some reason, it became normal.