Error while installing Enterprise free version after community Edditon

Installer(.exe or .msi): exe

License type(Free, Trial/License code): Trail version

Studio/Robot version: 2019.4

Current behavior:

Screenshot:

Error says An Error occurred during the activation of a particular Registration. in my laptop with my personal account first i tried 2 months of CE trail version, then uninstalled it. From my office account I am trying to install Enterprise Edition. trail version 2019 getting the below error. I think they have stored my device id hence getting this problem. is there any way i can install this free trail in same device.
PFB the error:
19.4.3+Branch.support/v2019.4.Sha.a8f4efb75012dc834aa4be501a7086e9372ef1b3

An error occurred during the activation of a particular registration. See the inner exception for details. Registration: Activator = MainWindow (ReflectionActivator), Services = [UiPath.Studio.Shell.Views.MainWindow, UiPath.Studio.Contracts.IRibbonManagementService, UiPath.Studio.Contracts.IToolWindowService], Lifetime = Autofac.Core.Lifetime.RootScopeLifetime, Sharing = Shared, Ownership = OwnedByLifetimeScope —> An exception was thrown while invoking the constructor ‘Void .ctor(UiPath.Studio.Contracts.IExecutionManagerService, UiPath.Studio.Shared.MVVM.Services.IDispatcherService, UiPath.Studio.Contracts.IMessageBoxService, UiPath.Studio.Contracts.IProjectService, UiPath.Studio.Contracts.ILayoutRepository, UiPath.Studio.Contracts.IApplicationWindowStateService, UiPath.Studio.Shared.MVVM.Commands.Interfaces.ICommandManager, UiPath.Studio.Core.StudioApplication.IStudioApplication, UiPath.Studio.Contracts.IOutputLoggerService, System.Func 1[UiPath.Studio.Shell.ToolWindows.OutputToolWindow], System.Func 1[UiPath.Studio.Shell.ToolWindows.ProjectExplorerToolWindow], UiPath.Studio.Contracts.Profile.IProfile)’ on type ‘MainWindow’. —> The invocation of the constructor on type ‘ActiproSoftware.Windows.Controls.Ribbon.Ribbon’ that matches the specified binding constraints threw an exception. (See inner exception for details.) (See inner exception for details.)

Error: Autofac.Core.DependencyResolutionException: An error occurred during the activation of a particular registration. See the inner exception for details. Registration: Activator = MainWindow (ReflectionActivator), Services = [UiPath.Studio.Shell.Views.MainWindow, UiPath.Studio.Contracts.IRibbonManagementService, UiPath.Studio.Contracts.IToolWindowService], Lifetime = Autofac.Core.Lifetime.RootScopeLifetime, Sharing = Shared, Ownership = OwnedByLifetimeScope —> An exception was thrown while invoking the constructor ‘Void .ctor(UiPath.Studio.Contracts.IExecutionManagerService, UiPath.Studio.Shared.MVVM.Services.IDispatcherService, UiPath.Studio.Contracts.IMessageBoxService, UiPath.Studio.Contracts.IProjectService, UiPath.Studio.Contracts.ILayoutRepository, UiPath.Studio.Contracts.IApplicationWindowStateService, UiPath.Studio.Shared.MVVM.Commands.Interfaces.ICommandManager, UiPath.Studio.Core.StudioApplication.IStudioApplication, UiPath.Studio.Contracts.IOutputLoggerService, System.Func 1[UiPath.Studio.Shell.ToolWindows.OutputToolWindow], System.Func 1[UiPath.Studio.Shell.ToolWindows.ProjectExplorerToolWindow], UiPath.Studio.Contracts.Profile.IProfile)’ on type ‘MainWindow’. —> The invocation of the constructor on type ‘ActiproSoftware.Windows.Controls.Ribbon.Ribbon’ that matches the specified binding constraints 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(UiPath.Studio.Contracts.IExecutionManagerService, UiPath.Studio.Shared.MVVM.Services.IDispatcherService, UiPath.Studio.Contracts.IMessageBoxService, UiPath.Studio.Contracts.IProjectService, UiPath.Studio.Contracts.ILayoutRepository, UiPath.Studio.Contracts.IApplicationWindowStateService, UiPath.Studio.Shared.MVVM.Commands.Interfaces.ICommandManager, UiPath.Studio.Core.StudioApplication.IStudioApplication, UiPath.Studio.Contracts.IOutputLoggerService, System.Func 1[UiPath.Studio.Shell.ToolWindows.OutputToolWindow], System.Func 1[UiPath.Studio.Shell.ToolWindows.ProjectExplorerToolWindow], UiPath.Studio.Contracts.Profile.IProfile)’ on type ‘MainWindow’. —> The invocation of the constructor on type ‘ActiproSoftware.Windows.Controls.Ribbon.Ribbon’ that matches the specified binding constraints threw an exception. (See inner exception for details.) —> System.Windows.Markup.XamlParseException: The invocation of the constructor on type ‘ActiproSoftware.Windows.Controls.Ribbon.Ribbon’ that matches the specified binding constraints threw an exception. —> System.TypeInitializationException: The type initializer for ‘ActiproSoftware.Windows.Controls.Ribbon.Ribbon’ threw an exception. —> System.TypeInitializationException: The type initializer for ‘System.Windows.Media.Fonts’ threw an exception. —> System.Runtime.InteropServices.SEHException: External component has thrown an exception.
at System.Buffer.__Memmove(Byte* dest, Byte* src, UInt32 len)
at System.Buffer._Memmove(Byte* dest, Byte* src, UInt32 len)
at System.Buffer.Memmove(Byte* dest, Byte* src, UInt32 len)
at System.Buffer.Memcpy(Byte dest, Int32 destIndex, Byte* src, Int32 srcIndex, Int32 len)
at System.IO.UnmanagedMemoryStream.Read(Byte buffer, Int32 offset, Int32 count)
at System.Xml.XmlTextReaderImpl.ReadData()
at System.Xml.XmlTextReaderImpl.ParseCDataOrComment(XmlNodeType type, Int32& outStartPos, Int32& outEndPos)
at System.Xml.XmlTextReaderImpl.ParseCDataOrComment(XmlNodeType type)
at System.Xml.XmlTextReaderImpl.ParseComment()
at System.Xml.XmlTextReaderImpl.ParseElementContent()
at System.Xml.XmlTextReaderImpl.Read()
at System.Windows.Markup.XmlCompatibilityReader.Read()
at MS.Internal.FontFace.CompositeFontParser.MoveToContent()
at MS.Internal.FontFace.CompositeFontParser.ParseFontFamilyElement()
at MS.Internal.FontFace.CompositeFontParser…ctor(Stream fileStream)
at MS.Internal.FontCache.FamilyCollection.SystemCompositeFonts.GetCompositeFontFamilyAtIndex(Int32 index)
at MS.Internal.FontCache.FamilyCollection.GetFontFamilies(Uri fontFamilyBaseUri, String fontFamilyLocationReference)
at System.Windows.Media.Fonts.CreateFamilyCollection(Uri fontLocation, Uri fontFamilyBaseUri, String fontFamilyLocationReference)
at System.Windows.Media.Fonts…cctor()
— End of inner exception stack trace —
at ActiproSoftware.Windows.Controls.Ribbon.Ribbon…cctor()
— End of inner exception stack trace —
at ActiproSoftware.Windows.Controls.Ribbon.Ribbon…ctor()
— End of inner exception stack trace —
at System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)
at System.Windows.Markup.WpfXamlLoader.LoadBaml(XamlReader xamlReader, Boolean skipJournaledProperties, Object rootObject, XamlAccessLevel accessLevel, Uri baseUri)
at System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream)
at System.Windows.Application.LoadComponent(Object component, Uri resourceLocator)
at UiPath.Studio.Shell.Views.MainWindow.InitializeComponent() in D:\a\1\s\Studio\UiPath.Studio.Shell\Views\MainWindow.xaml:line 1
at UiPath.Studio.Shell.Views.MainWindow…ctor(IExecutionManagerService executionManager, IDispatcherService dispatcherService, IMessageBoxService messageBoxService, IProjectService projectService, ILayoutRepository layoutRepository, IApplicationWindowStateService windowStateService, ICommandManager commandManager, IStudioApplication studioApplication, IOutputLoggerService outputLoggerService, Func 1 outputWindowCreator, Func 1 projectExplorerCreator, IProfile profile) in D:\a\1\s\Studio\UiPath.Studio.Shell\Views\MainWindow.xaml.cs:line 79
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, IEnumerable 1 parameters) at Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable 1 parameters)
— End of inner exception stack trace —
at Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable 1 parameters) at Autofac.Core.Resolving.InstanceLookup.<Execute>b__5_0() at Autofac.Core.Lifetime.LifetimeScope.GetOrCreateAndShare(Guid id, Func 1 creator)
at Autofac.Core.Resolving.InstanceLookup.Execute()
at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, IComponentRegistration registration, IEnumerable 1 parameters) at Autofac.Core.Resolving.ResolveOperation.Execute(IComponentRegistration registration, IEnumerable 1 parameters)
at Autofac.Core.Lifetime.LifetimeScope.ResolveComponent(IComponentRegistration registration, IEnumerable 1 parameters) at Autofac.Core.Container.ResolveComponent(IComponentRegistration registration, IEnumerable 1 parameters)
at Autofac.ResolutionExtensions.TryResolveService(IComponentContext context, Service service, IEnumerable 1 parameters, Object& instance) at Autofac.ResolutionExtensions.ResolveService(IComponentContext context, Service service, IEnumerable 1 parameters)
at Autofac.ResolutionExtensions.Resolve[TService](IComponentContext context, IEnumerable`1 parameters)
at Autofac.ResolutionExtensions.Resolve[TService](IComponentContext context)
at UiPath.Studio.Shared.Services.ServiceLocatorAutofac.ResolveTypeTService in D:\a\1\s\Studio\UiPath.Studio.Shared\Services\ServiceLocatorAutofac.cs:line 80
at UiPath.Studio.Core.Configuration.ServiceRegistryBase.ResolveTypeT in D:\a\1\s\Studio\UiPath.Studio.Core\Configuration\ServiceRegistry.cs:line 139
at UiPath.Studio.Shell.ShellApplication.StudioShellApplication.CreateWindow() in D:\a\1\s\Studio\UiPath.Studio.Shell\App\StudioShellApplication.cs:line 160
at UiPath.Studio.Shell.ShellApplication.StudioShellApplication.Initialize() in D:\a\1\s\Studio\UiPath.Studio.Shell\App\StudioShellApplication.cs:line 116
at UiPath.Studio.Shell.ShellApplication.StudioShellApplication.HandleInit() in D:\a\1\s\Studio\UiPath.Studio.Shell\App\StudioShellApplication.cs:line 78
at UiPath.Studio.Core.StudioApplication.StudioApplication.InternalInit() in D:\a\1\s\Studio\UiPath.Studio.Core\Application\StudioApplication.cs:line 56
at UiPath.Studio.Core.StudioApplication.StudioApplication.Start(String args) in D:\a\1\s\Studio\UiPath.Studio.Core\Application\StudioApplication.cs:line 37, HResult -2146233088

Hi @sandeepanapurapu

Welcome to our UiPath Forum! :slight_smile:

Could you please try the solutions from this link?

Basically a re-installation from the latest installer should fix the issue.

1 Like

Hi @loginerror

The above solution did not work, even i disabled firewall and tried from Orchestrator CE , robot is connecting to orchestrator but studio is throwing the same error.