Vantage Connector to UiPath error: The invocation of the constructor on type 'Abbyy.UiPath.Vantage.Activities.VantageScopeActivity' that matches the specified binding constraints threw an exception.

Symptoms

Running the sample process (by default located in <Name of connector installation folder>\SampleWorkflow\Vantage) ends up with the error in UiPath Studio:

The invocation of the constructor on type 'Abbyy.UiPath.Vantage.Activities.VantageScopeActivity' that matches the specified binding constraints threw an exception.
RemoteException wrapping System.Xaml.XamlObjectWriterException: The invocation of the constructor on type 'Abbyy.UiPath.Vantage.Activities.VantageScopeActivity' that matches the specified binding constraints threw an exception.  ---> RemoteException wrapping System.TypeLoadException: Method 'DisposeAsync' in type 'Microsoft.Extensions.DependencyInjection.ServiceProvider' from assembly 'Microsoft.Extensions.DependencyInjection, Version=3.1.6.0, Culture=neutral, PublicKeyToken=adb9793829ddae60' does not have an implementation.
 

Cause

Microsoft.Extensions.DependencyInjection.Abstractions package is missing from the project dependencies.

Resolution

Install Microsoft.Extensions.DependencyInjection.Abstractions package from Manage Packages > All Packages

Was this article helpful?

0 out of 0 found this helpful

Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.

Recently viewed