Getting Error while open Main.xaml to get start

Hi Team ,
I am new here to use UiPath can someone please help to resolve below issue while open Mail.xaml getting below error

Hi @2014.vikas.k

Welcome to forums
Can you try creating another workflow and check if that is causing any issue?

Thanks,
Srini

Hey Vikas @2014.vikas.k

Welcome to the community ,
Try Creating a new project and try to run it , and please update us the status so that it will be helpful for the community
Thank You

Hello team, I am not sure if Vikas solve his issue, but i am getting the same error . i tried to create many new projects and save on different folders, same error as Vikas . also i am not using a very new pc, attaching also the basic information as it might matters
Untitled

error log
23.10.0-beta.14233+Branch.release-v23.10.0.Sha.ac7649967f9e6f52cbf2d0156de91bd14e15f5cf

The item ‘C:\Users\Administrator.alex-PC\Documents\UiPath\BlankProcess\Main.xaml’ could not be opened:
An exception was thrown while activating UiPath.Studio.Plugin.Workflow.WorkflowHandling.DesignerWrapper…

Cannot open item: UiPath.Studio.Contracts.RecoverableException:
The item ‘C:\Users\Administrator.alex-PC\Documents\UiPath\BlankProcess\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.Func1[UiPath.Studio.Plugin.Workflow.FindReferences.IFindReferencesManager], UiPath.Studio.Plugin.Workflow.Services.Interfaces.IDocumentationLinksService, UiPath.Studio.Contracts.Desktop.IResourceIconsService, UiPath.Studio.Plugin.Workflow.Analytics.IWorkflowAnalyticsService, UiPath.Studio.Analytics.Contracts.ITelemetryProvider, UiPath.Studio.Contracts.IOutputLoggerService, UiPath.Studio.Plugin.Workflow.Services.Interfaces.IInvokeWorkflowProjectService, UiPath.Studio.Plugin.Workflow.Services.Interfaces.IRefactoringsService, System.Func2[UiPath.Studio.Plugin.Workflow.WorkflowHandling.IWorkflowDesigner,UiPath.Studio.Plugin.Workflow.ProjectCleanup.IDesignerOpenedWorkflowCleanup], 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.Func2[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.Func3[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, System.Activities.Presentation.IIntegratedHelpService, UiPath.Studio.Plugin.Workflow.Shared.Interfaces.IProjectWrapper, UiPath.Studio.Platform.Contracts.IPlatformWrapper, UiPath.Studio.Plugin.Workflow.Services.Interfaces.IActivityLoaderService, UiPath.Studio.Shared.Assemblies.IAssemblyContainer, UiPath.Studio.Plugin.Workflow.Shared.Triggers.ITriggerService, UiPath.Studio.Plugin.Workflow.Shared.Triggers.ITriggerTypeService, 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.Workflow.ProjectActivities.Core.Services.Interfaces.IActivityCreationService, UiPath.Studio.JitAssemblyCompiler.GlobalVariables.IGlobalVariablesProjectService, UiPath.Studio.Plugin.Workflow.WorkflowHandling.IDropInsertActivityService, System.Activities.Presentation.Hosting.IMultiTargetingSupportService, UiPath.Studio.Plugin.Workflow.ProjectCleanup.ICleanupServiceProjectEndpoint, Factory, Factory, UiPath.Studio.Plugin.Workflow.ExpressionEditor.IGenerateExpressionService, 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.Utilities.IDesignerCollectValidationMemoryBehavior, 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: The specified module could not be found. (0x8007007E)
at System.Diagnostics.Eventing.UnsafeNativeMethods.EventRegister(Guid& providerId, EtwEnableCallback enableCallback, Void* callbackContext, Int64& registrationHandle)
at System.Diagnostics.Eventing.EventProvider.EtwRegister()
at System.Diagnostics.Eventing.EventProvider…ctor(Guid providerGuid)
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, Func1 findReferencesManagerFactory, IDocumentationLinksService documentationLinksService, IResourceIconsService resourceIconsService, IWorkflowAnalyticsService workflowAnalyticsService, ITelemetryProvider telemetryProvider, IOutputLoggerService outputLoggerServices, IInvokeWorkflowProjectService invokeWorkflowSupport, IRefactoringsService refactoringsService, Func2 workflowCleanupFactory, IActivityFactory activityFactory, ISimpleMessageBoxService simpleMessageBoxService, IFileSystem fileSystem, IDesignerThemeBehavior designerThemeBehavior, ICommandFactory commandFactory, IDesignerConfiguration designerConfiguration, Func2 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, Func3 propertyGridWrapperFactory, Factory workflowDesignerValidationServiceFactory, IDesignerActivitiesCommandsRepository designerActivitiesCommandsRepository, ISyntaxLanguageService syntaxLanguageService, IAddInProjectService addInService, IExcelService excelService, IIntegratedHelpService designerHelpService, IProjectWrapper projectWrapper, IPlatformWrapper platformWrapper, IActivityLoaderService activityLoaderService, IAssemblyContainer assemblyContainer, ITriggerService triggerService, ITriggerTypeService triggerTypeService, IArgumentFilterService argFilterService, IVariablePropertiesEditor variablePropertiesEditor, IArgumentPropertiesEditor argumentPropertiesEditor, ITextExpressionClassMethods textExpression, IActivityMetadataInformationService activityMetadataInformationService, IActivityCreationService activityCreationService, IGlobalVariablesProjectService globalVariablesService, IDropInsertActivityService dropInsertActivityService, IMultiTargetingSupportService multiTargetingSupportService, ICleanupServiceProjectEndpoint textExpressionCleanupService, Factory viewModelCacheFactory, Factory designerBusyServiceFactory, IGenerateExpressionService generateExpressionService, IActivityViewModelService activityViewModelService, IDesignerInfoService designerInfoService, IUnresolvedActivityInfoService unresolvedActivityInfoService, IModelChangeObserver childModelChangedObserver, IInvalidXamlNodesFinder invalidXamlNodesFinder, IDesignerCollectValidationMemoryBehavior validationMemoryHandler, BrowsableReferencedAssemblyNames browsableAssemblyNameList, IDesignerDecoratorService designerDecoratorService, IPatchService patchService, IActivityIconFinder activityIconFinder, ITemplateValuesPropertiesService templateValuesPropertiesService)
at lambda_method606(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, IEnumerable1 parameters) at Autofac.Core.Activators.Reflection.ReflectionActivator.<ConfigurePipeline>b__11_0(ResolveRequestContext ctxt, Action1 next)
at Autofac.Core.Resolving.Middleware.ActivatorErrorHandlingMiddleware.Execute(ResolveRequestContext context, Action1 next) --- End of inner exception stack trace --- at Autofac.Core.Resolving.Middleware.ActivatorErrorHandlingMiddleware.Execute(ResolveRequestContext context, Action1 next)
at Autofac.Core.Resolving.Middleware.SharingMiddleware.Execute(ResolveRequestContext context, Action1 next) at Autofac.Core.Resolving.Middleware.CircularDependencyDetectorMiddleware.Execute(ResolveRequestContext context, Action1 next)
at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, ResolveRequest request)
at Autofac.Core.Resolving.ResolveOperation.ExecuteOperation(ResolveRequest request)
at lambda_method685(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__DisplayClass8_0.<b__0>d.MoveNext()
— End of stack trace from previous location —
at UiPath.Studio.Plugin.Workflow.Services.DesignerFileProjectEndpoint.<>c__DisplayClass8_0.<b__0>d.MoveNext()
— End of stack trace from previous location —
at UiPath.Studio.Shared.MVVM.Services.DispatcherService.InvokeAsync(Func1 func) at UiPath.Studio.Plugin.Workflow.Services.DesignerFileProjectEndpoint.Load(String fileName) at UiPath.CoreIpc.Server.<>c__DisplayClass7_3.<<-ctor>g__InvokeMethod|6>d.MoveNext() --- End of stack trace from previous location --- at UiPath.CoreIpc.Server.<>c__DisplayClass7_1.<<-ctor>g__HandleRequest|3>d.MoveNext() --- End of stack trace from previous location --- at UiPath.CoreIpc.Server.<>c__DisplayClass7_2.<<-ctor>b__5>d.MoveNext() --- End of stack trace from previous location --- at UiPath.CoreIpc.Helpers.Timeout[TResult](TimeSpan timeout, List1 cancellationTokens, Func2 func, String message, Func2 exceptionHandler)
— End of inner exception stack trace —
at UiPath.Studio.Core.Services.PersistableServiceBase3.OnOpenAsyncInternal(String path, IFactory2 resolvedFactory, IOpenOptions options)
at UiPath.Studio.Core.Services.PersistableServiceBase3.OnOpenAsync(String path, IFactory2 resolvedFactory, IOpenOptions options)
at UiPath.Studio.Shell.Services.DocumentService.OnOpenAsync(String path, IFactory2 resolvedFactory, IOpenOptions options) at UiPath.Studio.Core.Services.PersistableServiceBase3.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

Hello all, I was wondering if this issue has been resolved. I have almost the exact system specs as @alexantono and am getting the same error message. I have also tried creating new projects and reinstalled twice.

Thanks,
Alex Phillips

It was windows 7 issue. Once installed windows 10, it got fixed

@alexantono, is there no way to use it with windows 7?

I can’t say with certainty because I don’t have the technical background, but from all the research made, ot was all dead end, everywhere i read it was saying that windows 7 is not supported.

Got it, I thought that might be the issue. Thanks for the reply @alexantono.

Hi @2014.vikas.k

There is no other way to solve this issue.
Create a new project and copy all the code and paste it in the new project, create the variables and arguments based on the old project.

This issue doesn’t have any proper solution till now.

Hope it helps!!

Hey @mkankatala, so you cant use UiPath Studio with windows 7. Is that correct?

1 Like

Yes I am not using windows 7. But I heard from many users of windows 7 facing same issue.
You can raise a query regarding this to UiPath Support team to solve this issue.

Raise your query in the below link,

Hope you understand!! @Alex_Phillips

@mkankatala Thank you for your response.

1 Like