Error message UIPath installation

Hi Im getting the below message while installating UIPath. Kindly help

19.5.0+Branch.master.Sha.a03bc4726ca82b7bb3addb0d04106dc150b31fba

The project ‘C:\Users\II00068823\Documents\UiPath\BlankProcess3\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.).

Cannot open item: UiPath.Studio.Contracts.RecoverableException: The project ‘C:\Users\II00068823\Documents\UiPath\BlankProcess3\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\II00068823\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 @Rajeshveera

Please try contacting the Technical Support of UiPath:

Thanks and regards :slight_smile:

1 Like

Hi @Rajeshveera

What’s the activation you are using? Is it community or enterprise version? When you open Studio go to help option and see whether it’s licensed and activated properly. If that is fine, then try changing the path of the solution you are trying to open. Copy the solution folder to a different location. Make sure the file path does not contain folders named as “UiPath”.

If that doesn’t work try uninstalling and installing studio again and try to open the solution.

If that also doesn’t work, contact the support like @Jan_Brian_Despi mentioned :slight_smile:

2 Likes