Uipath not working can't open any projects

Hi Everyone,
Since 2 days. My UiPath is Not working. I reinstalled the UiPath studio and Now my Studio opens but I can’t open any projects or create any projects. I am getting this error below.
I tried clearing packages and uipath folder also I have no firewall protection or antivirus installed. I am also attached screenshot of

error
Cannot open item: UiPath.Studio.Contracts.RecoverableException: The project ‘C:\Users\A115\Documents\UiPath\BlankProcess46\project.json’ could not be opened: An error occurred during the activation of a particular registration. See the inner exception for details. Registration: Activator = PackageOperationRestore (ReflectionActivator), Services = [UiPath.Studio.Core.Services.Packaging.PackageOperationRestore], Lifetime = Autofac.Core.Lifetime.CurrentScopeLifetime, Sharing = None, Ownership = ExternallyOwned —> An error occurred during the activation of a particular registration. See the inner exception for details. Registration: Activator = PackagesLicensesValidator (ReflectionActivator), Services = [UiPath.Studio.Shell.Packaging.PackagesLicensesValidator, UiPath.PackageExplorer.Core.Services.Interfaces.IPackagesLicensesValidator], Lifetime = Autofac.Core.Lifetime.CurrentScopeLifetime, Sharing = None, Ownership = ExternallyOwned —> An exception was thrown while invoking the constructor ‘Void .ctor(System.Func2[System.String,UiPath.PackageExplorer.Core.Services.ISingleFeedSearchService], System.Func1[UiPath.PackageExplorer.Core.Services.Interfaces.IAllDependenciesSearchService], UiPath.PackageExplorer.Core.Services.Interfaces.INuGetLicensesConfirmationService)’ on type ‘PackagesLicensesValidator’. —> The type initializer for ‘UiPath.NuGet.InstallPackageCommand’ threw an exception. (See inner exception for details.) (See inner exception for details.) (See inner exception for details.). —> Autofac.Core.DependencyResolutionException: An error occurred during the activation of a particular registration. See the inner exception for details. Registration: Activator = PackageOperationRestore (ReflectionActivator), Services = [UiPath.Studio.Core.Services.Packaging.PackageOperationRestore], Lifetime = Autofac.Core.Lifetime.CurrentScopeLifetime, Sharing = None, Ownership = ExternallyOwned —> An error occurred during the activation of a particular registration. See the inner exception for details. Registration: Activator = PackagesLicensesValidator (ReflectionActivator), Services = [UiPath.Studio.Shell.Packaging.PackagesLicensesValidator, UiPath.PackageExplorer.Core.Services.Interfaces.IPackagesLicensesValidator], Lifetime = Autofac.Core.Lifetime.CurrentScopeLifetime, Sharing = None, Ownership = ExternallyOwned —> An exception was thrown while invoking the constructor ‘Void .ctor(System.Func2[System.String,UiPath.PackageExplorer.Core.Services.ISingleFeedSearchService], System.Func1[UiPath.PackageExplorer.Core.Services.Interfaces.IAllDependenciesSearchService], UiPath.PackageExplorer.Core.Services.Interfaces.INuGetLicensesConfirmationService)’ on type ‘PackagesLicensesValidator’. —> The type initializer for ‘UiPath.NuGet.InstallPackageCommand’ threw an exception. (See inner exception for details.) (See inner exception for details.) (See inner exception for details.) —> Autofac.Core.DependencyResolutionException: An error occurred during the activation of a particular registration. See the inner exception for details. Registration: Activator = PackagesLicensesValidator (ReflectionActivator), Services = [UiPath.Studio.Shell.Packaging.PackagesLicensesValidator, UiPath.PackageExplorer.Core.Services.Interfaces.IPackagesLicensesValidator], Lifetime = Autofac.Core.Lifetime.CurrentScopeLifetime, Sharing = None, Ownership = ExternallyOwned —> An exception was thrown while invoking the constructor ‘Void .ctor(System.Func2[System.String,UiPath.PackageExplorer.Core.Services.ISingleFeedSearchService], System.Func1[UiPath.PackageExplorer.Core.Services.Interfaces.IAllDependenciesSearchService], UiPath.PackageExplorer.Core.Services.Interfaces.INuGetLicensesConfirmationService)’ on type ‘PackagesLicensesValidator’. —> The type initializer for ‘UiPath.NuGet.InstallPackageCommand’ threw an exception. (See inner exception for details.) (See inner exception for details.) —> Autofac.Core.DependencyResolutionException: An exception was thrown while invoking the constructor ‘Void .ctor(System.Func2[System.String,UiPath.PackageExplorer.Core.Services.ISingleFeedSearchService], System.Func1[UiPath.PackageExplorer.Core.Services.Interfaces.IAllDependenciesSearchService], UiPath.PackageExplorer.Core.Services.Interfaces.INuGetLicensesConfirmationService)’ on type ‘PackagesLicensesValidator’. —> The type initializer for ‘UiPath.NuGet.InstallPackageCommand’ threw an exception. (See inner exception for details.) —> System.TypeInitializationException: The type initializer for ‘UiPath.NuGet.InstallPackageCommand’ threw an exception. —> NuGet.Configuration.NuGetConfigurationException: NuGet.Config is not valid XML. Path: ‘C:\Users\A115\AppData\Roaming\NuGet\NuGet.Config’. —> System.Xml.XmlException: ‘.’, hexadecimal value 0x00, is an invalid character. Line 1, position 1.
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.Throw(String res, String args)
at System.Xml.XmlTextReaderImpl.ThrowInvalidChar(Char data, Int32 length, Int32 invCharPos)
at System.Xml.XmlTextReaderImpl.ParseRootLevelWhitespace()
at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
at System.Xml.XmlTextReaderImpl.Read()
at System.Xml.Linq.XDocument.Load(XmlReader reader, LoadOptions options)
at NuGet.Configuration.XmlUtility.LoadSafe(Stream input, LoadOptions options)
at NuGet.Configuration.XmlUtility.GetDocument(String fullPath)
at NuGet.Configuration.XmlUtility.GetOrCreateDocument(XDocument content, String fullPath)
at NuGet.Configuration.SettingsFile.<>c__DisplayClass27_0.<.ctor>b__0()
at NuGet.Configuration.SettingsFile.<>c__DisplayClass38_0.b__0()
— End of inner exception stack trace —
at NuGet.Configuration.SettingsFile.<>c__DisplayClass38_0.b__0()
at NuGet.Common.ConcurrencyUtilities.ExecuteWithFileLocked(String filePath, Action action)
at NuGet.Configuration.SettingsFile.ExecuteSynchronized(Action ioOperation)
at NuGet.Configuration.SettingsFile…ctor(String directoryPath, String fileName, Boolean isMachineWide)
at NuGet.Configuration.Settings.ReadSettings(String settingsRoot, String settingsPath, Boolean isMachineWideSettings)
at NuGet.Configuration.Settings.LoadUserSpecificSettings(String root, String configFileName, Boolean useTestingGlobalPath)
at NuGet.Configuration.Settings.LoadSettingsForSpecificConfigs(String root, String configFileName, List1 validSettingFiles, IMachineWideSettings machineWideSettings, Boolean loadUserWideSettings, Boolean useTestingGlobalPath) at NuGet.Configuration.Settings.LoadSettings(String root, String configFileName, IMachineWideSettings machineWideSettings, Boolean loadUserWideSettings, Boolean useTestingGlobalPath) at UiPath.NuGet.Utils.DefaultSettings() at UiPath.NuGet.InstallPackageCommand..cctor() --- End of inner exception stack trace --- at UiPath.Studio.Shell.Packaging.PackagesLicensesValidator..ctor(Func2 packageSearchServiceFactory, Func1 allDependenciesSearchServiceFactory, INuGetLicensesConfirmationService licenseConfirmationService) at lambda_method(Closure , Object[] ) at Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate() --- End of inner exception stack trace --- at Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate() at Autofac.Core.Activators.Reflection.ReflectionActivator.ActivateInstance(IComponentContext context, IEnumerable1 parameters)
at Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable1 parameters) --- End of inner exception stack trace --- at Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable1 parameters)
at Autofac.Core.Resolving.InstanceLookup.Execute()
at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, IComponentRegistration registration, IEnumerable1 parameters) at Autofac.Core.Resolving.InstanceLookup.ResolveComponent(IComponentRegistration registration, IEnumerable1 parameters)
at Autofac.Core.Activators.Reflection.AutowiringParameter.<>c__DisplayClass0_0.b__0()
at Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate()
at Autofac.Core.Activators.Reflection.ReflectionActivator.ActivateInstance(IComponentContext context, IEnumerable1 parameters) at Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable1 parameters)
— End of inner exception stack trace —
at Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable1 parameters) at Autofac.Core.Resolving.InstanceLookup.Execute() at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, IComponentRegistration registration, IEnumerable1 parameters)
at Autofac.Core.Resolving.ResolveOperation.Execute(IComponentRegistration registration, IEnumerable1 parameters) at Autofac.Core.Lifetime.LifetimeScope.ResolveComponent(IComponentRegistration registration, IEnumerable1 parameters)
at Autofac.Core.Container.ResolveComponent(IComponentRegistration registration, IEnumerable1 parameters) at Autofac.ResolutionExtensions.TryResolveService(IComponentContext context, Service service, IEnumerable1 parameters, Object& instance)
at Autofac.ResolutionExtensions.ResolveService(IComponentContext context, Service service, IEnumerable1 parameters) at UiPath.Studio.Shared.Services.ServiceLocatorAutofac.ResolveType(Type type, Object[] ctorParameters) at UiPath.Studio.Shared.Services.ServiceLocatorAutofac.ResolveType[T](Object[] ctorParameters) at UiPath.Studio.Core.Services.Packaging.PackageService.<RestoreProjectAsync>d__14.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at UiPath.Studio.Plugin.Workflow.Project.BaseWorkflowProjectFactory.<InitializeNewProjectModel>d__53.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at UiPath.Studio.Plugin.Workflow.Project.BaseWorkflowProjectFactory.<OpenAsyncInternal>d__38.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at UiPath.Studio.Plugin.Workflow.Project.BaseWorkflowProjectFactory.<OpenAsync>d__37.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at UiPath.Studio.Core.Services.PersistableServiceBase3.d__19.MoveNext()
— End of inner exception stack trace —
at UiPath.Studio.Core.Services.PersistableServiceBase3.<OnOpenAsync>d__19.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at UiPath.Studio.Core.CommonServices.ProjectServiceBase.<OnOpenAsync>d__38.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at UiPath.Studio.Core.Services.PersistableServiceBase3.d__10.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at UiPath.Studio.Shell.Services.OpenCloseCommandsService.d__18.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at UiPath.Studio.Shell.Services.OpenCloseCommandsService.d__17.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at UiPath.Studio.Shell.Services.OpenCloseCommandsService.d__21.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at UiPath.Studio.Shell.ViewModels.StartPageViewModel.d__26.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at UiPath.Studio.Shared.MVVM.Commands.TaskCommand`3.d__32.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.b__6_0(Object state)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler), HResult -2146233088

Hi @Akshay07,
Please try this solution described here:

1 Like

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