Hi,
I switched from Trial UiPath Community Edition to Enterprise Edition and I cannot open the workflow from community edition (19.8.0). I have tried to find similar cases online, tried some solutions but not working:
- Delete project.json file
- Reinstall using .msi installer
- Activate license using Orchestrator
There is another strange thing as I trying to register enterprise cloud edition and the License>Plan Name: showed as Community instead of Enterprise. I am suspecting my machine ID has been bind with community license. I wonder if this is the problem, and how do I resolve this.
Any help will be appreciated, thank you!
Installer(.exe or .msi): .msi
License type(Free, Trial/License code): Free, Trial
Studio/Robot version: 19.4.4
Current behavior: Cannot open workflow from 19.8.0 version
Screenshot:
Error message:
19.4.4+Branch.support/v2019.4.Sha.6d308c7f5a32b559373887ae421ce7eaec8f8d24
The item ‘C:\Users\jchong\Documents\UiPath\Invoice_Creation_SAP_Slow\Main.xaml’ could not be opened: An error occurred during the activation of a particular registration. See the inner exception for details. Registration: Activator = WorkflowDocument (ReflectionActivator), Services = [UiPath.Studio.Plugin.Workflow.WorkflowDocument, UiPath.Studio.Plugin.Workflow.Services.Interfaces.IWorkflowDocument], Lifetime = Autofac.Core.Lifetime.CurrentScopeLifetime, Sharing = None, Ownership = ExternallyOwned —> An exception was thrown while invoking the constructor ‘Void .ctor(System.String, UiPath.Studio.Plugin.Workflow.Services.Interfaces.IDesignerFileService, UiPath.Studio.Plugin.Workflow.Debug.Breakpoints.IProjectBreakpointsService, UiPath.Studio.Contracts.IExtendedFileSystem, UiPath.Studio.Plugin.Workflow.Services.Interfaces.IDesignerViewService)’ on type ‘WorkflowDocument’. —> Document is invalid (See inner exception for details.) (See inner exception for details.).
Cannot open item: UiPath.Studio.Contracts.RecoverableException: The item ‘C:\Users\jchong\Documents\UiPath\Invoice_Creation_SAP_Slow\Main.xaml’ could not be opened: An error occurred during the activation of a particular registration. See the inner exception for details. Registration: Activator = WorkflowDocument (ReflectionActivator), Services = [UiPath.Studio.Plugin.Workflow.WorkflowDocument, UiPath.Studio.Plugin.Workflow.Services.Interfaces.IWorkflowDocument], Lifetime = Autofac.Core.Lifetime.CurrentScopeLifetime, Sharing = None, Ownership = ExternallyOwned —> An exception was thrown while invoking the constructor ‘Void .ctor(System.String, UiPath.Studio.Plugin.Workflow.Services.Interfaces.IDesignerFileService, UiPath.Studio.Plugin.Workflow.Debug.Breakpoints.IProjectBreakpointsService, UiPath.Studio.Contracts.IExtendedFileSystem, UiPath.Studio.Plugin.Workflow.Services.Interfaces.IDesignerViewService)’ on type ‘WorkflowDocument’. —> Document is invalid (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 = WorkflowDocument (ReflectionActivator), Services = [UiPath.Studio.Plugin.Workflow.WorkflowDocument, UiPath.Studio.Plugin.Workflow.Services.Interfaces.IWorkflowDocument], Lifetime = Autofac.Core.Lifetime.CurrentScopeLifetime, Sharing = None, Ownership = ExternallyOwned —> An exception was thrown while invoking the constructor ‘Void .ctor(System.String, UiPath.Studio.Plugin.Workflow.Services.Interfaces.IDesignerFileService, UiPath.Studio.Plugin.Workflow.Debug.Breakpoints.IProjectBreakpointsService, UiPath.Studio.Contracts.IExtendedFileSystem, UiPath.Studio.Plugin.Workflow.Services.Interfaces.IDesignerViewService)’ on type ‘WorkflowDocument’. —> Document is invalid (See inner exception for details.) (See inner exception for details.) —> Autofac.Core.DependencyResolutionException: An exception was thrown while invoking the constructor ‘Void .ctor(System.String, UiPath.Studio.Plugin.Workflow.Services.Interfaces.IDesignerFileService, UiPath.Studio.Plugin.Workflow.Debug.Breakpoints.IProjectBreakpointsService, UiPath.Studio.Contracts.IExtendedFileSystem, UiPath.Studio.Plugin.Workflow.Services.Interfaces.IDesignerViewService)’ on type ‘WorkflowDocument’. —> Document is invalid (See inner exception for details.) —> System.IO.InvalidDataException: Document is invalid
at UiPath.Studio.Plugin.Workflow.WorkflowHandling.DesignerWrapper.InitRootActivity(String filename) in d:\a\1\s\Studio\UiPath.Studio.Plugin.Workflow\WorkflowHandling\DesignerWrapperInit.cs:line 155
at UiPath.Studio.Plugin.Workflow.WorkflowHandling.DesignerWrapper.Load(String fileName) in d:\a\1\s\Studio\UiPath.Studio.Plugin.Workflow\WorkflowHandling\DesignerWrapperInit.cs:line 30
at UiPath.Studio.Plugin.Workflow.Services.DesignerFileService.<>c__DisplayClass13_0.b__0() in d:\a\1\s\Studio\UiPath.Studio.Plugin.Workflow\Services\DesignerFileService.cs:line 106
at UiPath.Studio.Shared.MVVM.Services.DispatcherExtensions.Invoke(Dispatcher dispatcher, Action action, Boolean onlyBeginInvokeWhenNoAccess) in d:\a\1\s\Studio\UiPath.Studio.Shared\MVVM\Services\Extensions\DispatcherExtensions.cs:line 121
at UiPath.Studio.Shared.MVVM.Services.DispatcherService.Invoke(Action action, Boolean onlyInvokeWhenNoAccess) in d:\a\1\s\Studio\UiPath.Studio.Shared\MVVM\Services\DispatcherService.cs:line 162
at UiPath.Studio.Plugin.Workflow.Services.DesignerFileService.Load(String fileName) in d:\a\1\s\Studio\UiPath.Studio.Plugin.Workflow\Services\DesignerFileService.cs:line 88
at UiPath.Studio.Plugin.Workflow.Services.Interfaces.IDesignerFileService.Load(String fileName)
at UiPath.Studio.Plugin.Workflow.Services.DesignerFileServiceProxy.Load(String fileName) in d:\a\1\s\Studio\UiPath.Studio.Plugin.Workflow\Services\Proxies\DesignerFileServiceProxy.cs:line 23
at UiPath.Studio.Plugin.Workflow.WorkflowDocument…ctor(String path, IDesignerFileService designerFileService, IProjectBreakpointsService projectBreakpointsService, IExtendedFileSystem fileSystem, IDesignerViewService designerViewService) in d:\a\1\s\Studio\UiPath.Studio.Plugin.Workflow\Document\WorkflowDocument.cs:line 63
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(IEnumerable
1 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, IEnumerable
1 parameters)
at Autofac.Core.Resolving.ResolveOperation.Execute(IComponentRegistration registration, IEnumerable1 parameters) at Autofac.Core.Lifetime.LifetimeScope.ResolveComponent(IComponentRegistration registration, IEnumerable
1 parameters)
at lambda_method(Closure , String )
at UiPath.Studio.Plugin.Workflow.WorkflowDocumentFactory.OpenAsync(String path) in d:\a\1\s\Studio\UiPath.Studio.Plugin.Workflow\Document\WorkflowDocumentFactory.cs:line 253
at UiPath.Studio.Core.Services.PersistableServiceBase3.<OnOpenAsync>d__19.MoveNext() in d:\a\1\s\Studio\UiPath.Studio.Core\CommonServices\PersistableServiceBase.cs:line 209 --- End of inner exception stack trace --- at UiPath.Studio.Core.Services.PersistableServiceBase
3.d__19.MoveNext() in d:\a\1\s\Studio\UiPath.Studio.Core\CommonServices\PersistableServiceBase.cs:line 219
— 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.DocumentService.d__45.MoveNext() in d:\a\1\s\Studio\UiPath.Studio.Shell\Services\DocumentService.cs:line 376
— 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.<OpenAsync>d__10.MoveNext() in d:\a\1\s\Studio\UiPath.Studio.Core\CommonServices\PersistableServiceBase.cs:line 0 --- 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.Project.FileProjectItemViewModel.<OpenExecute>d__11.MoveNext() in d:\a\1\s\Studio\UiPath.Studio.Shell\ViewModels\Project\FileProjectItemViewModel.cs:line 73 --- 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.Project.FileSystemProjectItemViewModelBase.<<-ctor>b__9_0>d.MoveNext() in d:\a\1\s\Studio\UiPath.Studio.Shell\ViewModels\Project\FileSystemProjectItemViewModelBase.cs:line 59 --- 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__35.MoveNext() in d:\a\1\s\Studio\UiPath.Studio.Shared\MVVM\Commands\TaskCommand.cs:line 281
— 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