Document Error

Open Document Error: UiPath.Studio.Contracts.RecoverableException
—> UiPath.Studio.Contracts.RecoverableException: The project ‘C:\Users\C855717\Documents\UiPath\DT_LINQ\project.json’ could not be opened: Access to the path ‘C:\Users\C855717.nuget\packages\microsoft.powershell.sdk\7.1.0\contentFiles\any\any\runtimes\win\lib\net5.0\Modules\PSDiagnostics\PSDiagnostics.psm1’ is denied…
—> System.UnauthorizedAccessException: Access to the path ‘C:\Users\C855717.nuget\packages\microsoft.powershell.sdk\7.1.0\contentFiles\any\any\runtimes\win\lib\net5.0\Modules\PSDiagnostics\PSDiagnostics.psm1’ is denied.
at Microsoft.Win32.SafeHandles.SafeFileHandle.CreateFile(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options)

I can’t open any process on my UiPath at the moment it keeps throwing this error, help!

Hi @TOLU_BURAIMOH

C:\Users\C855717.nuget\packages\microsoft.powershell.sdk\7.1.0\contentFiles\any\any\runtimes\win\lib\net5.0\Modules\PSDiagnostics\PSDiagnostics.psm1. This error is usually caused by insufficient permissions, which might be due to a variety of reasons such as incorrect file permissions or security policies on your system.

Here are a few things you can try to resolve this issue:

  1. Make sure that you have the necessary permissions to access the file. You may need to ask your system administrator to grant you the appropriate permissions.
  2. Check to see if there are any security policies or restrictions on your system that might be preventing you from accessing the file. You may need to ask your system administrator to modify these policies in order to allow access.
  3. Check to see if there are any other programs or processes that might be using the file and preventing UiPath from accessing it. If you find any, try closing them and see if that resolves the issue.
  4. Try repairing or re-installing UiPath to see if that resolves the issue.

I hope it will after following the above steps

Regards,
Kaviyarasu N

HI. I have appropriate administrator permissions on my pc & it still throws this nugget packages error if I try to open my UiPath studio with windows. I had to change to my json file to “legacy” in order to open my folder. but this does not solve the problem long term as some processes will not be supported in legacy.

Hi @TOLU_BURAIMOH

As of now, a few packages and namespaces are not supported in the Windows-based framework. Attempt to use Windows Legacy for the time being.

After the new update from UiPath, we can expect the solution.

Regards,
Kaviyarasu N