Hi Teams,
I’m facing a compilation error in UiPath Studio and I’m not able to run any process in this project. I’d really appreciate your help in understanding the root cause and the best way to fix it.
Environment
UiPath Studio version: [e.g. 2022.10.x / 2023.x –]
License type: [Community ]
OS: [Windows 10 / ]
Project type: [REFramework / Process / Library]
Project path:
C:\Users\RPAUser\Documents\UiPath\New folder\RR Generating Batch Invoices in SAP REFramework - Copy\
Error message
When I click Run / Debug on the project, I immediately get this popup:
Error: Compilation failed or was cancelled.
In the logs / detailed message I see:
Unexpected error has occurred during the library compilation process:
Access to the path ‘C:\Users\RPAUser\Documents\UiPath\New folder\RR Generating Batch Invoices in SAP REFramework - Copy.local\install\RR Generating Batch Invoices in SAP REFramework_Remove_Queue_Items.dll’ is denied.
Because of this, the workflow never starts – it fails during compilation.
Screenshot for that
Questions for the community
What can cause a persistent “Access to the path ‘.local\install*.dll’ is denied” error even after deleting the .local folder and restarting Studio?
Is this more likely to be:
a permission issue,
an antivirus / security tool locking the file,
a problem with using REFramework as a Library,
or something else inside UiPath (e.g. a bug in the compilation process)?
How can I reliably check which process is locking this specific DLL file?
Are there any recommended tools or logs from UiPath to see file locks clearly?
Is there any known limitation or best practice about where UiPath projects should be stored?
For example, is it safer to always use a simple path like C:\UiPathProjects\ instead of C:\Users...\Documents\UiPath\New folder...?
Could something inside the project (e.g., a particular XAML or library reference) cause this library to fail to compile and produce an “Access denied” message, or is it almost always OS/permissions related?
If you have faced this exact error before, what finally solved it for you?
Any specific configuration changes, antivirus exclusions, or folder permission settings would be very helpful.
