dll not getting values from my machine.config

  • 14 January 2006
  • 1 reply
  • 2 views

Badge +3
I have a .net DLL that gets my AD server information from my machine.config file. These values are coming up blank when I execute the DLL from K2 code. I have tested it on my dev server excecuting it from a .net console application and it works. It seems to be the call from k2 that is returning blanks.

Is there some other configuration file i should be reading from?

Thanks,

1 reply

Badge +8
First thing that comes to mind is permissions. Since your machine.config file has restricted access, you will need to verify that the account that is running your K2 server has been granted access to the required folder ( C:WINDOWSMicrosoft.NetFrameworkv1.x.xxxxCONFIG ).

You can also try to run K2 Server in console mode using the same account and see if there are any messages that may help in pinpointing the cause of this.

Reply