Studio throws errors about missing dlls and can't open or create workflow

  1. If I start it manually, it crashes instantly and throws an error about missing "Shcore.dll", I have to somehow open it automatically for it not to crash. I even reinstalled it, just to open it automatically.
  2. After I open it automatically, with every single action, it throws the same error about missing "Shcore.dll", with the difference that it doesn't crash
    Details:
    Error: System.DllNotFoundException: Unable to load DLL 'Shcore.dll' or one of its dependencies: Δεν ήταν δυνατό να εντοπιστεί η καθορισμένη λειτ. μονάδα. (0x8007007E) at ActiproSoftware.Windows.Interop.NativeMethods.GetDpiForMonitor(IntPtr hmonitor, MDT dpiType, UInt32& dpiX, UInt32& dpiY) at ActiproSoftware.Windows.Interop.NativeMethodsHelper.MoveWindowToInflatedBoundsBehind(Window windowToMove, Window targetWindow, Int32 inflationAmount) at ActiproSoftware.Windows.Themes.WindowChromeShadow.IIf() at ActiproSoftware.Windows.Themes.WindowChromeShadow.OnSourceInitialized(EventArgs e) at System.Windows.Window.CreateSourceWindow(Boolean duringShow) at System.Windows.Window.CreateSourceWindowDuringShow() at System.Windows.Window.ShowHelper(Object booleanBox) at System.Windows.Window.Show() at ActiproSoftware.Windows.Themes.WindowChromeShadow.DIO() 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 -2146233052```

  3. When I try to create a workflow it throws an error about missing an "api-ms-win-eventing-provider-l1-1-0.dll, it doesn't crash

    Details:
    Cannot create new item: UiPath.Studio.Contracts.RecoverableException ---> RemoteException wrapping Autofac.Core.DependencyResolutionException: An exception was thrown while activating UiPath.Studio.Plugin.Workflow.WorkflowHandling.DesignerWrapper. ---> RemoteException wrapping Autofac.Core.DependencyResolutionException: An exception was thrown while invoking the constructor 'Void .ctor(UiPath.Studio.Plugin.Workflow.WorkflowHandling.IDesignerBuilder, UiPath.Studio.Contracts.Desktop.MVVM.IDispatcherService, UiPath.Studio.Plugin.Workflow.ExpressionEditor.IExpressionEditorRepository, System.Func`1[UiPath.Studio.Plugin.Workflow.FindReferences.IFindReferencesManager], UiPath.Studio.Plugin.Workflow.Services.Interfaces.IDocumentationLinksService, UiPath.Studio.Contracts.Desktop.IResourceIconsService, UiPath.Studio.Analytics.Contracts.ITelemetryProvider, UiPath.Studio.Contracts.IOutputLoggerService, UiPath.Studio.Plugin.Workflow.Services.Interfaces.IInvokeWorkflowProjectService, UiPath.Studio.Plugin.Workflow.Services.Interfaces.IRefactoringsService, UiPath.Studio.Plugin.Workflow.Shared.Activities.IActivityFactory, UiPath.Studio.Plugin.Workflow.Services.Interfaces.ISimpleMessageBoxService, System.IO.Abstractions.IFileSystem, UiPath.Studio.Plugin.Workflow.WorkflowHandling.Theme.IDesignerThemeBehavior, UiPath.Studio.App.Desktop.MVVM.Commands.ICommandFactory, UiPath.Studio.Plugin.Workflow.WorkflowHandling.IDesignerConfiguration, System.Func`2[System.Activities.Presentation.WorkflowDesigner,UiPath.Studio.Plugin.Workflow.WorkflowHandling.Variables.IAdvancedDocumentVariablesService], UiPath.Studio.Plugin.Workflow.Debugger.Execution.Services.IDesignerExecutionService, Factory, Factory, UiPath.Studio.Contracts.Profile.IProfile, UiPath.Studio.Activities.Api.IWorkflowDesignApi, UiPath.Studio.Plugin.Workflow.Shared.Services.Interfaces.ISettingsServiceWrapper, UiPath.Studio.Plugin.Workflow.Debugger.Navigation.Services.IDesignerExecutionTrailService, UiPath.Studio.Plugin.Workflow.Execution.Services.IExecutionTrailRepository, Factory, UiPath.Studio.Plugin.Workflow.WorkflowHandling.Interfaces.IInsertActivityService, UiPath.Studio.Plugin.Workflow.WorkflowHandling.Interfaces.IInsertWizardResultService, UiPath.Studio.Plugin.Workflow.CodeAnalysis.Interfaces.IExpressionCompiler, System.Func`3[System.Windows.FrameworkElement,UiPath.Studio.Plugin.Workflow.WorkflowHandling.IDesignerOwner,UiPath.Studio.Plugin.Workflow.WorkflowHandling.PropertyGridWrapper], Factory, UiPath.Studio.Plugin.Workflow.Shared.WorkflowHandling.IDesignerActivitiesCommandsRepository, UiPath.Workflow.Operations.SyntaxLanguage.ISyntaxLanguageService, UiPath.Studio.Plugin.Workflow.AddInFramework.IAddInProjectService, UiPath.Studio.Plugin.Workflow.Shared.Excel.IExcelService, UiPath.Studio.Plugin.Workflow.Shared.ToolWindows.IToolWindowProjectService, System.Activities.Presentation.IIntegratedHelpService, UiPath.Studio.Plugin.Workflow.Shared.Interfaces.IProjectWrapper, UiPath.Studio.Plugin.Workflow.Services.Interfaces.IActivityLoaderService, UiPath.Studio.Shared.Assemblies.IAssemblyContainer, UiPath.Studio.Plugin.Workflow.Shared.Services.Interfaces.ITriggerService, UiPath.Studio.Plugin.Workflow.Shared.Services.Interfaces.IArgumentFilterService, UiPath.Studio.Plugin.Workflow.WorkflowInfo.Services.IVariablePropertiesEditor, UiPath.Studio.Plugin.Workflow.WorkflowInfo.Services.IArgumentPropertiesEditor, UiPath.Workflow.Operations.Handling.ITextExpressionClassMethods, UiPath.Studio.Plugin.Workflow.Services.Interfaces.IActivityMetadataInformationService, UiPath.Studio.Plugin.Workflow.Shared.GlobalVariables.IGlobalVariablesProjectService, UiPath.Studio.Plugin.Workflow.WorkflowHandling.IDropInsertActivityService, UiPath.Studio.Plugin.Workflow.Presentation.IActivityViewModelService, UiPath.Studio.Plugin.Workflow.Services.Interfaces.IDesignerInfoService, UiPath.Studio.Plugin.Workflow.WorkflowHandling.Interfaces.IUnresolvedActivityInfoService, UiPath.Studio.Plugin.Workflow.WorkflowHandling.IModelChangeObserver, UiPath.Workflow.Operations.Serializer.Services.IInvalidXamlNodesFinder, UiPath.Studio.Plugin.Workflow.WorkflowHandling.BrowsableReferencedAssemblyNames, UiPath.Studio.Plugin.Workflow.WorkflowHandling.Interfaces.IDesignerDecoratorService, UiPath.Studio.Plugin.Workflow.Patches.Interfaces.IPatchService, UiPath.Studio.Plugin.Workflow.Services.Interfaces.IActivityIconFinder, UiPath.Studio.Plugin.Workflow.TemplateValues.Interfaces.ITemplateValuesPropertiesService)' on type 'DesignerWrapper'. ---> RemoteException wrapping System.DllNotFoundException: Unable to load DLL 'api-ms-win-eventing-provider-l1-1-0.dll' or one of its dependencies: Δεν ήταν δυνατό να εντοπιστεί η καθορισμένη λειτ. μονάδα. (0x8007007E) at System.Diagnostics.Eventing.UnsafeNativeMethods.EventRegister(Guid& providerId, EtwEnableCallback enableCallback, Void* callbackContext, Int64& registrationHandle) at System.Diagnostics.Eventing.EventProvider.EtwRegister() at System.Activities.Presentation.DesignerPerfEventProvider..ctor() at System.Activities.Presentation.WorkflowDesigner..ctor() at UiPath.Studio.Plugin.Workflow.WorkflowHandling.DesignerBuilder.BuildBasic() at UiPath.Studio.Plugin.Workflow.WorkflowHandling.DesignerBuilder.BuildInternal(DesignerEventsSubscriber eventsSubscriber, String workflowId, String fileName) at UiPath.Studio.Plugin.Workflow.WorkflowHandling.DesignerBuilder.Build(DesignerEventsSubscriber eventsSubscriber, String workflowId, String fileName) at UiPath.Studio.Plugin.Workflow.WorkflowHandling.DesignerWrapper..ctor(IDesignerBuilder designerBuilder, IDispatcherService dispatchingService, IExpressionEditorRepository expressionEditorService, Func`1 findReferencesManagerFactory, IDocumentationLinksService documentationLinksService, IResourceIconsService resourceIconsService, ITelemetryProvider telemetryProvider, IOutputLoggerService outputLoggerServices, IInvokeWorkflowProjectService invokeWorkflowSupport, IRefactoringsService refactoringsService, IActivityFactory activityFactory, ISimpleMessageBoxService simpleMessageBoxService, IFileSystem fileSystem, IDesignerThemeBehavior designerThemeBehavior, ICommandFactory commandFactory, IDesignerConfiguration designerConfiguration, Func`2 designerVariablesServiceFactory, IDesignerExecutionService executionController, Factory workflowTransformRepositoryFactory, Factory expressionEditorServiceFactory, IProfile profile, IWorkflowDesignApi workflowDesignApi, ISettingsServiceWrapper settingsServiceWrapper, IDesignerExecutionTrailService designerExecutionTrailService, IExecutionTrailRepository executionTrailRepository, Factory contextMenuBuilderFactory, IInsertActivityService insertActivityService, IInsertWizardResultService insertWizardResultService, IExpressionCompiler expressionCompiler, Func`3 propertyGridWrapperFactory, Factory workflowDesignerValidationServiceFactory, IDesignerActivitiesCommandsRepository designerActivitiesCommandsRepository, ISyntaxLanguageService syntaxLanguageService, IAddInProjectService addInService, IExcelService excelService, IToolWindowProjectService toolWindowProjectService, IIntegratedHelpService designerHelpService, IProjectWrapper projectWrapper, IActivityLoaderService activityLoaderService, IAssemblyContainer assemblyContainer, ITriggerService triggerService, IArgumentFilterService argFilterService, IVariablePropertiesEditor variablePropertiesEditor, IArgumentPropertiesEditor argumentPropertiesEditor, ITextExpressionClassMethods textExpression, IActivityMetadataInformationService activityMetadataInformationService, IGlobalVariablesProjectService globalVariablesService, IDropInsertActivityService dropInsertActivityService, IActivityViewModelService activityViewModelService, IDesignerInfoService designerInfoService, IUnresolvedActivityInfoService unresolvedActivityInfoService, IModelChangeObserver childModelChangedObserver, IInvalidXamlNodesFinder invalidXamlNodesFinder, BrowsableReferencedAssemblyNames browsableAssemblyNameList, IDesignerDecoratorService designerDecoratorService, IPatchService patchService, IActivityIconFinder activityIconFinder, ITemplateValuesPropertiesService templateValuesPropertiesService) at lambda_method411(Closure , Object[] ) at Autofac.Core.Activators.Reflection.BoundConstructor.Instantiate() --- End of inner exception stack trace --- at Autofac.Core.Activators.Reflection.BoundConstructor.Instantiate() at Autofac.Core.Activators.Reflection.ReflectionActivator.ActivateInstance(IComponentContext context, IEnumerable`1 parameters) at Autofac.Core.Activators.Reflection.ReflectionActivator.b__11_0(ResolveRequestContext ctxt, Action`1 next) at Autofac.Core.Resolving.Middleware.ActivatorErrorHandlingMiddleware.Execute(ResolveRequestContext context, Action`1 next) --- End of inner exception stack trace --- at Autofac.Core.Resolving.Middleware.ActivatorErrorHandlingMiddleware.Execute(ResolveRequestContext context, Action`1 next) at Autofac.Core.Resolving.Middleware.SharingMiddleware.Execute(ResolveRequestContext context, Action`1 next) at Autofac.Core.Resolving.Middleware.CircularDependencyDetectorMiddleware.Execute(ResolveRequestContext context, Action`1 next) at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, ResolveRequest request) at Autofac.Core.Resolving.ResolveOperation.ExecuteOperation(ResolveRequest request) at lambda_method511(Closure ) at UiPath.Studio.Plugin.Workflow.Services.DesignerRepository.<>c__DisplayClass10_0.b__0() at UiPath.Studio.Shared.MVVM.Services.DispatcherExtensions.Invoke(Dispatcher dispatcher, Action action, Boolean onlyBeginInvokeWhenNoAccess) at UiPath.Studio.Shared.MVVM.Services.DispatcherService.Invoke(Action action, Boolean onlyInvokeWhenNoAccess) at UiPath.Studio.Plugin.Workflow.Services.DesignerRepository.AddDesignerWrapper() at UiPath.Studio.Plugin.Workflow.Services.DesignerFileProjectEndpoint.<>c__DisplayClass7_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at UiPath.Studio.Plugin.Workflow.Services.DesignerFileProjectEndpoint.<>c__DisplayClass7_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at UiPath.Studio.Shared.MVVM.Services.DispatcherService.InvokeAsync(Func`1 func) at UiPath.Studio.Plugin.Workflow.Services.DesignerFileProjectEndpoint.Load(String fileName) at UiPath.CoreIpc.Server.<>c__DisplayClass7_3.<g__InvokeMethod|6>d.MoveNext() --- End of stack trace from previous location --- at UiPath.CoreIpc.Server.<>c__DisplayClass7_1.<g__HandleRequest|3>d.MoveNext() --- End of stack trace from previous location --- at UiPath.CoreIpc.Server.<>c__DisplayClass7_2.<b__5>d.MoveNext() --- End of stack trace from previous location --- at UiPath.CoreIpc.Helpers.Timeout[TResult](TimeSpan timeout, List`1 cancellationTokens, Func`2 func, String message, Func`2 exceptionHandler) --- End of inner exception stack trace --- at UiPath.Studio.Core.Services.PersistableServiceBase`3.OnNewAsync(TTemplate template, IFactory`2 resolvedFactory) at UiPath.Studio.Shell.Services.DocumentService.OnNewAsync(IDocumentTemplate template, IFactory`2 resolvedFactory) at UiPath.Studio.Core.Services.PersistableServiceBase`3.CreateNewAsync(TTemplate template) at UiPath.Studio.Shell.Services.DocumentService.CreateNewAsync(IDocumentTemplate template) at UiPath.Studio.Shell.Services.Template.TemplateUiService.ExecuteTemplateCommandAsync(IDocumentTemplate parameter) at UiPath.Studio.App.Desktop.MVVM.Commands.TaskCommand`3.Execute(TExecuteParameter parameter, Boolean ignoreCanExecuteCheck) at System.Threading.Tasks.Task.<>c.b__128_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

  4. If I try to open the main workflow, it says the .xaml file can't be opened and an exception while activating "UiPath.Studio.Plugin.Workflow.WorkflowHandling.DesignerWrapper..."

    Details:
    Cannot open item: UiPath.Studio.Contracts.RecoverableException: The item 'C:\Users\Admin\Documents\UiPath\BlankProcess1\Main.xaml' could not be opened: An exception was thrown while activating UiPath.Studio.Plugin.Workflow.WorkflowHandling.DesignerWrapper.. ---> RemoteException wrapping Autofac.Core.DependencyResolutionException: An exception was thrown while activating UiPath.Studio.Plugin.Workflow.WorkflowHandling.DesignerWrapper. ---> RemoteException wrapping Autofac.Core.DependencyResolutionException: An exception was thrown while invoking the constructor 'Void .ctor(UiPath.Studio.Plugin.Workflow.WorkflowHandling.IDesignerBuilder, UiPath.Studio.Contracts.Desktop.MVVM.IDispatcherService, UiPath.Studio.Plugin.Workflow.ExpressionEditor.IExpressionEditorRepository, System.Func`1[UiPath.Studio.Plugin.Workflow.FindReferences.IFindReferencesManager], UiPath.Studio.Plugin.Workflow.Services.Interfaces.IDocumentationLinksService, UiPath.Studio.Contracts.Desktop.IResourceIconsService, UiPath.Studio.Analytics.Contracts.ITelemetryProvider, UiPath.Studio.Contracts.IOutputLoggerService, UiPath.Studio.Plugin.Workflow.Services.Interfaces.IInvokeWorkflowProjectService, UiPath.Studio.Plugin.Workflow.Services.Interfaces.IRefactoringsService, UiPath.Studio.Plugin.Workflow.Shared.Activities.IActivityFactory, UiPath.Studio.Plugin.Workflow.Services.Interfaces.ISimpleMessageBoxService, System.IO.Abstractions.IFileSystem, UiPath.Studio.Plugin.Workflow.WorkflowHandling.Theme.IDesignerThemeBehavior, UiPath.Studio.App.Desktop.MVVM.Commands.ICommandFactory, UiPath.Studio.Plugin.Workflow.WorkflowHandling.IDesignerConfiguration, System.Func`2[System.Activities.Presentation.WorkflowDesigner,UiPath.Studio.Plugin.Workflow.WorkflowHandling.Variables.IAdvancedDocumentVariablesService], UiPath.Studio.Plugin.Workflow.Debugger.Execution.Services.IDesignerExecutionService, Factory, Factory, UiPath.Studio.Contracts.Profile.IProfile, UiPath.Studio.Activities.Api.IWorkflowDesignApi, UiPath.Studio.Plugin.Workflow.Shared.Services.Interfaces.ISettingsServiceWrapper, UiPath.Studio.Plugin.Workflow.Debugger.Navigation.Services.IDesignerExecutionTrailService, UiPath.Studio.Plugin.Workflow.Execution.Services.IExecutionTrailRepository, Factory, UiPath.Studio.Plugin.Workflow.WorkflowHandling.Interfaces.IInsertActivityService, UiPath.Studio.Plugin.Workflow.WorkflowHandling.Interfaces.IInsertWizardResultService, UiPath.Studio.Plugin.Workflow.CodeAnalysis.Interfaces.IExpressionCompiler, System.Func`3[System.Windows.FrameworkElement,UiPath.Studio.Plugin.Workflow.WorkflowHandling.IDesignerOwner,UiPath.Studio.Plugin.Workflow.WorkflowHandling.PropertyGridWrapper], Factory, UiPath.Studio.Plugin.Workflow.Shared.WorkflowHandling.IDesignerActivitiesCommandsRepository, UiPath.Workflow.Operations.SyntaxLanguage.ISyntaxLanguageService, UiPath.Studio.Plugin.Workflow.AddInFramework.IAddInProjectService, UiPath.Studio.Plugin.Workflow.Shared.Excel.IExcelService, UiPath.Studio.Plugin.Workflow.Shared.ToolWindows.IToolWindowProjectService, System.Activities.Presentation.IIntegratedHelpService, UiPath.Studio.Plugin.Workflow.Shared.Interfaces.IProjectWrapper, UiPath.Studio.Plugin.Workflow.Services.Interfaces.IActivityLoaderService, UiPath.Studio.Shared.Assemblies.IAssemblyContainer, UiPath.Studio.Plugin.Workflow.Shared.Services.Interfaces.ITriggerService, UiPath.Studio.Plugin.Workflow.Shared.Services.Interfaces.IArgumentFilterService, UiPath.Studio.Plugin.Workflow.WorkflowInfo.Services.IVariablePropertiesEditor, UiPath.Studio.Plugin.Workflow.WorkflowInfo.Services.IArgumentPropertiesEditor, UiPath.Workflow.Operations.Handling.ITextExpressionClassMethods, UiPath.Studio.Plugin.Workflow.Services.Interfaces.IActivityMetadataInformationService, UiPath.Studio.Plugin.Workflow.Shared.GlobalVariables.IGlobalVariablesProjectService, UiPath.Studio.Plugin.Workflow.WorkflowHandling.IDropInsertActivityService, UiPath.Studio.Plugin.Workflow.Presentation.IActivityViewModelService, UiPath.Studio.Plugin.Workflow.Services.Interfaces.IDesignerInfoService, UiPath.Studio.Plugin.Workflow.WorkflowHandling.Interfaces.IUnresolvedActivityInfoService, UiPath.Studio.Plugin.Workflow.WorkflowHandling.IModelChangeObserver, UiPath.Workflow.Operations.Serializer.Services.IInvalidXamlNodesFinder, UiPath.Studio.Plugin.Workflow.WorkflowHandling.BrowsableReferencedAssemblyNames, UiPath.Studio.Plugin.Workflow.WorkflowHandling.Interfaces.IDesignerDecoratorService, UiPath.Studio.Plugin.Workflow.Patches.Interfaces.IPatchService, UiPath.Studio.Plugin.Workflow.Services.Interfaces.IActivityIconFinder, UiPath.Studio.Plugin.Workflow.TemplateValues.Interfaces.ITemplateValuesPropertiesService)' on type 'DesignerWrapper'. ---> RemoteException wrapping System.DllNotFoundException: Unable to load DLL 'api-ms-win-eventing-provider-l1-1-0.dll' or one of its dependencies: Δεν ήταν δυνατό να εντοπιστεί η καθορισμένη λειτ. μονάδα. (0x8007007E) at System.Diagnostics.Eventing.UnsafeNativeMethods.EventRegister(Guid& providerId, EtwEnableCallback enableCallback, Void* callbackContext, Int64& registrationHandle) at System.Diagnostics.Eventing.EventProvider.EtwRegister() at System.Activities.Presentation.DesignerPerfEventProvider..ctor() at System.Activities.Presentation.WorkflowDesigner..ctor() at UiPath.Studio.Plugin.Workflow.WorkflowHandling.DesignerBuilder.BuildBasic() at UiPath.Studio.Plugin.Workflow.WorkflowHandling.DesignerBuilder.BuildInternal(DesignerEventsSubscriber eventsSubscriber, String workflowId, String fileName) at UiPath.Studio.Plugin.Workflow.WorkflowHandling.DesignerBuilder.Build(DesignerEventsSubscriber eventsSubscriber, String workflowId, String fileName) at UiPath.Studio.Plugin.Workflow.WorkflowHandling.DesignerWrapper..ctor(IDesignerBuilder designerBuilder, IDispatcherService dispatchingService, IExpressionEditorRepository expressionEditorService, Func`1 findReferencesManagerFactory, IDocumentationLinksService documentationLinksService, IResourceIconsService resourceIconsService, ITelemetryProvider telemetryProvider, IOutputLoggerService outputLoggerServices, IInvokeWorkflowProjectService invokeWorkflowSupport, IRefactoringsService refactoringsService, IActivityFactory activityFactory, ISimpleMessageBoxService simpleMessageBoxService, IFileSystem fileSystem, IDesignerThemeBehavior designerThemeBehavior, ICommandFactory commandFactory, IDesignerConfiguration designerConfiguration, Func`2 designerVariablesServiceFactory, IDesignerExecutionService executionController, Factory workflowTransformRepositoryFactory, Factory expressionEditorServiceFactory, IProfile profile, IWorkflowDesignApi workflowDesignApi, ISettingsServiceWrapper settingsServiceWrapper, IDesignerExecutionTrailService designerExecutionTrailService, IExecutionTrailRepository executionTrailRepository, Factory contextMenuBuilderFactory, IInsertActivityService insertActivityService, IInsertWizardResultService insertWizardResultService, IExpressionCompiler expressionCompiler, Func`3 propertyGridWrapperFactory, Factory workflowDesignerValidationServiceFactory, IDesignerActivitiesCommandsRepository designerActivitiesCommandsRepository, ISyntaxLanguageService syntaxLanguageService, IAddInProjectService addInService, IExcelService excelService, IToolWindowProjectService toolWindowProjectService, IIntegratedHelpService designerHelpService, IProjectWrapper projectWrapper, IActivityLoaderService activityLoaderService, IAssemblyContainer assemblyContainer, ITriggerService triggerService, IArgumentFilterService argFilterService, IVariablePropertiesEditor variablePropertiesEditor, IArgumentPropertiesEditor argumentPropertiesEditor, ITextExpressionClassMethods textExpression, IActivityMetadataInformationService activityMetadataInformationService, IGlobalVariablesProjectService globalVariablesService, IDropInsertActivityService dropInsertActivityService, IActivityViewModelService activityViewModelService, IDesignerInfoService designerInfoService, IUnresolvedActivityInfoService unresolvedActivityInfoService, IModelChangeObserver childModelChangedObserver, IInvalidXamlNodesFinder invalidXamlNodesFinder, BrowsableReferencedAssemblyNames browsableAssemblyNameList, IDesignerDecoratorService designerDecoratorService, IPatchService patchService, IActivityIconFinder activityIconFinder, ITemplateValuesPropertiesService templateValuesPropertiesService) at lambda_method411(Closure , Object[] ) at Autofac.Core.Activators.Reflection.BoundConstructor.Instantiate() --- End of inner exception stack trace --- at Autofac.Core.Activators.Reflection.BoundConstructor.Instantiate() at Autofac.Core.Activators.Reflection.ReflectionActivator.ActivateInstance(IComponentContext context, IEnumerable`1 parameters) at Autofac.Core.Activators.Reflection.ReflectionActivator.b__11_0(ResolveRequestContext ctxt, Action`1 next) at Autofac.Core.Resolving.Middleware.ActivatorErrorHandlingMiddleware.Execute(ResolveRequestContext context, Action`1 next) --- End of inner exception stack trace --- at Autofac.Core.Resolving.Middleware.ActivatorErrorHandlingMiddleware.Execute(ResolveRequestContext context, Action`1 next) at Autofac.Core.Resolving.Middleware.SharingMiddleware.Execute(ResolveRequestContext context, Action`1 next) at Autofac.Core.Resolving.Middleware.CircularDependencyDetectorMiddleware.Execute(ResolveRequestContext context, Action`1 next) at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, ResolveRequest request) at Autofac.Core.Resolving.ResolveOperation.ExecuteOperation(ResolveRequest request) at lambda_method511(Closure ) at UiPath.Studio.Plugin.Workflow.Services.DesignerRepository.<>c__DisplayClass10_0.b__0() at UiPath.Studio.Shared.MVVM.Services.DispatcherExtensions.Invoke(Dispatcher dispatcher, Action action, Boolean onlyBeginInvokeWhenNoAccess) at UiPath.Studio.Shared.MVVM.Services.DispatcherService.Invoke(Action action, Boolean onlyInvokeWhenNoAccess) at UiPath.Studio.Plugin.Workflow.Services.DesignerRepository.AddDesignerWrapper() at UiPath.Studio.Plugin.Workflow.Services.DesignerFileProjectEndpoint.<>c__DisplayClass7_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at UiPath.Studio.Plugin.Workflow.Services.DesignerFileProjectEndpoint.<>c__DisplayClass7_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at UiPath.Studio.Shared.MVVM.Services.DispatcherService.InvokeAsync(Func`1 func) at UiPath.Studio.Plugin.Workflow.Services.DesignerFileProjectEndpoint.Load(String fileName) at UiPath.CoreIpc.Server.<>c__DisplayClass7_3.<g__InvokeMethod|6>d.MoveNext() --- End of stack trace from previous location --- at UiPath.CoreIpc.Server.<>c__DisplayClass7_1.<g__HandleRequest|3>d.MoveNext() --- End of stack trace from previous location --- at UiPath.CoreIpc.Server.<>c__DisplayClass7_2.<b__5>d.MoveNext() --- End of stack trace from previous location --- at UiPath.CoreIpc.Helpers.Timeout[TResult](TimeSpan timeout, List`1 cancellationTokens, Func`2 func, String message, Func`2 exceptionHandler) --- End of inner exception stack trace --- at UiPath.Studio.Core.Services.PersistableServiceBase`3.OnOpenAsyncInternal(String path, IFactory`2 resolvedFactory, IOpenOptions options) at UiPath.Studio.Core.Services.PersistableServiceBase`3.OnOpenAsync(String path, IFactory`2 resolvedFactory, IOpenOptions options) at UiPath.Studio.Shell.Services.DocumentService.OnOpenAsync(String path, IFactory`2 resolvedFactory, IOpenOptions options) at UiPath.Studio.Core.Services.PersistableServiceBase`3.OpenAsync(OpenInformation openInfo) at UiPath.Studio.Shell.ViewModels.MainWindowViewModel.OpenEntryPoint() at UiPath.Studio.App.Desktop.MVVM.Commands.TaskCommand`3.Execute(TExecuteParameter parameter, Boolean ignoreCanExecuteCheck) at System.Threading.Tasks.Task.<>c.b__128_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

I’m sorry if I’m not explaining well, but I just started with it, I don’t know anything, I haven’t done anything yet

Hi KirkalasPanagiotis. Welcome to the community.

I had a similar issue when creating a new process and didn’t change the “compatibility” option. As a default for me, it shows ‘Windows’. When I changed it to ‘Windows - Legacy’ the issue disappeared. Maybe it will help you, or someone else

I have the same errors but newest studio 2024.2.1 community does not support legacy. @UiPath_Community any suggestions how to fix that issues?