Why does the UiPath Studio installation fail with the error code 80131506, and how can it be resolved?
Issue Description
RUNDLL32 returned error code: -1073741819 during installation of UiPath Studio. The process was terminated due to an internal error in the .NET Runtime at IP 73C38A42 (73C00000) with exit code 80131506.
Root Cause
This failure is linked to the rundllS2.exe process, which stopped due to an internal error within the .NET Runtime Framework, resulting in error code 80131506. This code generally indicates a critical, non-recoverable failure caused by the environment.
Resolution
To troubleshoot this error the following steps can be performed:
- Run the Installer with Admin Privileges
Ensure the installer is executed with administrative privileges to rule out permission-related issues. - Update .NET Framework and ASP.NET Core Runtime
Download and install ASP.NET Core 8.0 Runtime (v8.0.11) for Windows x64.
Download and install .NET Framework 4.8.1 from the official Microsoft website. - Check for System Updates
Perform a system update to ensure all components are up to date.
Restart the system after updates and retry the installation. - Third-Party Security Software Settings
Check the Third-Party Security Software logs to identify blocked processes related to the installation and whitelist them as necessary.
Make sure to follow these steps in the order provided and retry installation after each step.