UIPath commuity edition installation error

got an error during installation of Uipath community. error message as below:


19.4.2+Branch.master.Sha.e17a3bedca2a7da0d0b716b5f8f765d1d5ef1ddc

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.Func1[UiPath.Studio.Shell.ToolWindows.OutputToolWindow], System.Func1[UiPath.Studio.Shell.ToolWindows.ProjectExplorerToolWindow], UiPath.Studio.Contracts.Profile.IProfile)’ on type ‘MainWindow’. —> Provide value on ‘System.Windows.Baml2006.TypeConverterMarkupExtension’ 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.Func1[UiPath.Studio.Shell.ToolWindows.OutputToolWindow], System.Func1[UiPath.Studio.Shell.ToolWindows.ProjectExplorerToolWindow], UiPath.Studio.Contracts.Profile.IProfile)’ on type ‘MainWindow’. —> Provide value on ‘System.Windows.Baml2006.TypeConverterMarkupExtension’ 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.Func1[UiPath.Studio.Shell.ToolWindows.OutputToolWindow], System.Func1[UiPath.Studio.Shell.ToolWindows.ProjectExplorerToolWindow], UiPath.Studio.Contracts.Profile.IProfile)’ on type ‘MainWindow’. —> Provide value on ‘System.Windows.Baml2006.TypeConverterMarkupExtension’ threw an exception. (See inner exception for details.) —> System.Windows.Markup.XamlParseException: Provide value on ‘System.Windows.Baml2006.TypeConverterMarkupExtension’ threw an exception. —> System.ArgumentException: ContentType string is not valid. Expected format is type/subtype.
at MS.Internal.ContentType.ParseTypeAndSubType(String typeAndSubType)
at MS.Internal.ContentType…ctor(String contentType)
at MS.Internal.MimeTypeMapper.GetMimeTypeFromUrlMon(Uri uriSource)
at MS.Internal.MimeTypeMapper.GetMimeTypeFromUri(Uri uriSource)
at MS.Internal.AppModel.ResourcePart.GetContentTypeCore()
at System.IO.Packaging.PackagePart.get_ContentType()
at MS.Internal.AppModel.ResourcePart.GetStreamCore(FileMode mode, FileAccess access)
at System.IO.Packaging.PackagePart.GetStream(FileMode mode, FileAccess access)
at System.IO.Packaging.PackWebResponse.CachedResponse.GetResponseStream()
at System.IO.Packaging.PackWebResponse.GetResponseStream()
at System.IO.Packaging.PackWebResponse.get_ContentType()
at System.Windows.Media.Imaging.BitmapDecoder.SetupDecoderFromUriOrStream(Uri uri, Stream stream, BitmapCacheOption cacheOption, Guid& clsId, Boolean& isOriginalWritable, Stream& uriStream, UnmanagedMemoryStream& unmanagedMemoryStream, SafeFileHandle& safeFilehandle)
at System.Windows.Media.Imaging.BitmapDecoder.CreateFromUriOrStream(Uri baseUri, Uri uri, Stream stream, BitmapCreateOptions createOptions, BitmapCacheOption cacheOption, RequestCachePolicy uriCachePolicy, Boolean insertInDecoderCache)
at System.Windows.Media.Imaging.BitmapFrame.CreateFromUriOrStream(Uri baseUri, Uri uri, Stream stream, BitmapCreateOptions createOptions, BitmapCacheOption cacheOption, RequestCachePolicy uriCachePolicy)
at System.Windows.Media.ImageSourceConverter.ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, Object value)
at System.Windows.Baml2006.TypeConverterMarkupExtension.ProvideValue(IServiceProvider serviceProvider)
at MS.Internal.Xaml.Runtime.ClrObjectRuntime.CallProvideValue(MarkupExtension me, IServiceProvider serviceProvider)
— 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()
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, Func1 outputWindowCreator, Func1 projectExplorerCreator, IProfile profile)
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>b__5_0() at Autofac.Core.Lifetime.LifetimeScope.GetOrCreateAndShare(Guid id, Func1 creator)
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 Autofac.ResolutionExtensions.Resolve[TService](IComponentContext context, IEnumerable`1 parameters)
at Autofac.ResolutionExtensions.Resolve[TService](IComponentContext context)
at UiPath.Studio.Shared.Services.ServiceLocatorAutofac.ResolveTypeTService
at UiPath.Studio.Core.Configuration.ServiceRegistryBase.ResolveTypeT
at UiPath.Studio.Shell.ShellApplication.StudioShellApplication.CreateWindow()
at UiPath.Studio.Shell.ShellApplication.StudioShellApplication.Initialize()
at UiPath.Studio.Shell.ShellApplication.StudioShellApplication.HandleInit()
at UiPath.Studio.Core.StudioApplication.StudioApplication.InternalInit()
at UiPath.Studio.Core.StudioApplication.StudioApplication.Start(String args), HResult -2146233088

@robogy, Welcome to Ui Path forum!.

Can you try to see if this link can help you ?

Most likely you may have to re-start and re-install.

Try to reinstall multiple times with regedit manuall delete all previous setting. No luck! the UiPath Robot can be installed except the Studio. pls adv