Introduction

When using a K2 connection string that has the "Integrated" option set to "False", and specifying a UserID with the domain and user name, the K2 Server will return an error stating "Provider 'K2' not found". This applies only to connections using the K2 Active Directory security label.

Error Scenario

Note: The circumstances described in this article are one scenario under which this issue may, or is known to occur. The description is intended to be specific to the scenario described and does not take into account all possible scenarios or circumstances.

To reproduce this error:

  1. Create a Console Application using SourceCode.Workflow.Management.dll.
  2. Open a Connection using a connection string similar to this example: "Integrated=False;IsPrimaryLogin=True;Authenticate=True;EncryptedPassword=False;Host={YourHostServer};Port=5555;SecurityLabelName=K2;UserID={YourDomain}\\{YourUser};Password={YourPassword}";
  3. Use the GoTo method supplying a Process Instance ID and an Activity Name.
  4. Observe the error returned by the K2 Server.

Error Message

The K2 Server will return  a "Provider 'K2' not found" error.

Error Resolution
This Hotfix is contained within the latest K2 Update. Install the update package to resolve the error.