Unable to retrieve the EnviromentFields for the "K2admin"

  • 7 March 2017
  • 1 reply
  • 1 view

We are implementing the functionality to retrieve the EnviromentFields of K2 on a local environment.

when I execute the code from visual studio on my environment, with "k2admin" connection string, am not able to get the EnviromentFields as  the currentUser am getting as the windows loggedin user.

 

But, when I execute the same code in the visual studio of K2 environment, it is working perfectly.

 

Can someone help me with retriving the environment fields.


1 reply

Badge +9

HI,

Did you try  as 'k2service' user ?

Reply