Error Message Installing First Automation Using Microsoft Office

Hello, I’m trying to install my first automation through UiPath Assistant but I get this error message: “Access to the path ‘ICSharpCode.SharpZipLib.dll’ is denied.”. Anyone know why and how I can fix it?

Hi @Tchassem5

It looks like that dll file might be locked because it’s been used by another process.

Can you try quitting your assistant and ending the following tasks in Task Manager:

  1. UiPath executor
  2. UiPath.Service.Host
  3. UiPath Assistant

Then simply open Assistant again and try install the process.

Give it a try and let me know :slight_smile:

hey @Tchassem5
Use this method to fix: Access to the path ICSharpCode.SharpZipLib.dll is denied. Quick Fixes:
1 Close UiPath Studio/Assistant completely** → Restart as Administrator
2 Clear cache: Go to:
C:\Users[YourUsername]\AppData\Local\UiPath
Delete the .nuget folder
Restart
3 Check permissions:
Right-click UiPath Studio → Run as Administrator
4. Antivirus issue:
Temporarily disable the antivirus and try again
5. Unlock the file:
Go to the installation directory
Right-click ICSharpCode.SharpZipLib.dll → Properties → Uncheck “Read-only”

Most common one is Run as Administrator, which usually fixes it.

It worked, thank you so much!

I got it to work, thanks for the help!

No problem! Glad I could help.

May I ask you to please mark this as a solution to assist other developers on this thread :slight_smile:

Thanks! Have a great day