Hi all,
This is my first post :)
I have a web app that interacts with k2 with a "Dynamic Web Service". The methods in that Web Service are all SmartObjects.
When I call a method from that web service I receive the "error Message: 28018 K2:DomainSRVSHPOINT01$ does not have permissions to open the process".
SRVSHPOINT01$ is the machine name....
The Identity returned in the code is: WindowsIdentity.GetCurrent().Name = NT AUTHORITYNETWORK SERVICE
When the identity is the user that submitts the form to call the WS everything works fine.
My code:
SCConnectionStringBuilder scBuilder = new SCConnectionStringBuilder();
scBuilder.Authenticate = true;
scBuilder.IsPrimaryLogin = true;
scBuilder.Integrated = true;
scBuilder.Host = ConfigurationManager.AppSettings["K2_Host"];
scBuilder.Port = uint.Parse(ConfigurationManager.AppSettings["K2_Port"]);
Connection k2Conn = new Connection();
k2Conn.Open(scBuilder.Host, scBuilder.ConnectionString);
SourceCode.Workflow.Client.ProcessInstance k2Pi = k2Conn.OpenProcessInstance(k2ProcessId);
Any ideias ? Can I add the NT AUTHORITYNETWORK SERVICE to the Process Rights?
Thank you in advance.