Assistance Required: Unable to Compile UiPath Library Due to DLL Access Denied Issue

Hi Team,

We are facing an issue while compiling a UiPath library. During the build process, the following error appears:

“Unexpected error has occurred during the library compilation process:
Access to the path ‘…Framework_InitAllSettings.dll’ is denied.”

To resolve this, we have already tried the following steps:

  1. Closed all UiPath applications (Studio, Assistant, Executor).
  2. Verified that no UiPath processes were running in the background.
  3. Used Resource Monitor and identified that the DLL was previously locked by explorer.exe (process ended).
  4. Restarted Windows Explorer and attempted the build again.
  5. Restarted the VM completely to release all locked handles.
  6. Tried deleting and renaming the .local folder, but it still shows access denied.
  7. Confirmed that OneDrive is not involved.

Despite performing all the above steps, the error persists, and the project cannot be compiled.

Requesting your support to investigate and help resolve this issue.
Please let us know if any additional permissions or actions are required from our side.

Thanks & Regards,
Sushma

@Sushma_Ganapatisa

Can you check is there any antivirus is locking that folder. ask IT administrator to whitelist that path and entire UiPath related folders path

1 Like

Just Delete the entire \.local folder. You can take the help from admin and remove this…

Build library again and publish it and test it…

Hi @MohammedShabbir
We tried this after deleting local folder also we found same issue

Can you try to login to another Vm and try building the code their in other instance

Hello @Sushma_Ganapatisa

Have you tried copying the entire project folder to another location and opening it from there?

Regards
Soren

@MohammedShabbir I don’t have another VM to login

Yes @SorenB I did but still issue persist

Are you uploading this reframework process as library?

Can you just delete init all settings xaml and paste from other project or framework.

Have you checked the permissions on the folder it is referencing?
Just to make sure the logged in user has write access.

FYI @MohammedShabbir Its happening with all the process

@Sushma_Ganapatisa

can you try renaming(anything shorter) that xaml and then recompile please

cheers

FYI have full control to folder

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.