How to open WorkflowManagementServer

  • 13 October 2011
  • 1 reply
  • 3 views

Badge

Hi All,


When I Open WorkflowManagementServer,get "Requested Authentication Provider not hosted" error message.


My code as below:


SourceCode.Hosting.Client.BaseAPI.SCConnectionStringBuilder connectionString =
             new SourceCode.Hosting.Client.BaseAPI.SCConnectionStringBuilder();
          
            connectionString.Host = "DLX";
            connectionString.Integrated = false;
            connectionString.IsPrimaryLogin = true;
            connectionString.SecurityLabelName = "K2";
            connectionString.Port = 5555;

            connectionString.UserID = @"DENALLIXAdministrator";//"K2wspace";
            connectionString.Password = "demopc";


            wfms = new SourceCode.Workflow.Management.WorkflowManagementServer();
            wfms.CreateConnection();
            wfms.Open(connectionString.ToString());


when Integrated  = true. It works ok,but I want set Integrated = false.


Who can help?


Kind Regards!


 


1 reply

Badge +10

Hi,


I've used the following settings and they've worked for me.


Integrated=True;
IsPrimaryLogin=True;
Authenticate=True;
EncryptedPassword=False;
Host=dlx.denallix.com;
Port=5555;
SecurityLabelName=K2;
UserID=Administrator;
Password={password};
WindowsDomain=Denallix


Notice that I kept Integrated=True. I think if you specify Integrated=False then K2 will assume you are not using the AD Provider and it will not work.


If you have the connection string configured as I have it will log in with a specific user. If you want to use a custom security provider you will set Integrated=False and specify the rest of the credentials to match a user in the Custom Security Provider.


Let me know if this helps!

Reply