My computer was restarted over the weekend and again unable to login into the studio:
RemoteException wrapping System.IO.IOException: The process cannot access the file ‘D:\Users\UserName\AppData\Roaming\UiPath\UiPath.settings’ because it is being used by another process.
at System.IO.FileSystemAclExtensions.ValidateFileHandle(SafeFileHandle handle, String fullPath)
at System.IO.FileSystemAclExtensions.g__CreateFileHandleInternal|12_0(String fullPath, FileMode mode, FileSystemRights rights, FileShare share, Int32 flagsAndAttributes, SECURITY_ATTRIBUTES* secAttrs)
at System.IO.FileSystemAclExtensions.CreateFileHandle(String fullPath, FileMode mode, FileSystemRights rights, FileShare share, FileOptions options, FileSecurity security)
at System.IO.FileSystemAclExtensions.Create(FileInfo fileInfo, FileMode mode, FileSystemRights rights, FileShare share, Int32 bufferSize, FileOptions options, FileSecurity fileSecurity)
at UiPath.Robot.Core.ProtectedFileUtils.CreateProtectedFile(String path)
at UiPath.Service.Utils.SystemUtils.SaveProtected(String path, String content)
at UiPath.Service.Orchestrator.OrchestratorController.ClearLocalSettings()
at UiPath.Service.Orchestrator.OrchestratorController.g__PerformDisconnectInternal|29_0(RunningJobHandling jobHandling, Boolean persistent)
at UiPath.Service.Orchestrator.OrchestratorController.PerformDisconnectAsync(RunningJobHandling option, Boolean persistent)
at UiPath.Service.Orchestrator.OrchestratorController.DisconnectFromServer(RunningJobHandling jobHandling, CancellationToken ct)
at UiPath.Service.Settings.SettingsOperations.DisconnectFromServer(DisconnectFromServerParameters parameters, CancellationToken ct)
at UiPath.CoreIpc.Server.<>c__DisplayClass7_3.<<-ctor>g__InvokeMethod|6>d.MoveNext()
— End of stack trace from previous location —
at UiPath.CoreIpc.Server.<>c__DisplayClass7_1.<<-ctor>g__HandleRequest|3>d.MoveNext()
— End of stack trace from previous location —
at UiPath.CoreIpc.Server.<>c__DisplayClass7_2.<<-ctor>b__5>d.MoveNext()
— End of stack trace from previous location —
at UiPath.CoreIpc.Helpers.Timeout[TResult](TimeSpan timeout, List1 cancellationTokens, Func2 func, String message, Func`2 exceptionHandler)
Again, the UiPath.settings is a UiPath file, why UiPath cannot take control of the needed file
Thanks
Jabe