I'm trying to read data from config file in windows service in OnStart(), but it is throwing error "Object reference not set to an instance of an object".
Is there any seeting required to use config file in Windows Service.
my config file name as <appName>.exe.c onfig.
Even I placed it in the System32 folder also.
Plz help me out how to handle config file in Windows Service.
I'm using VS2008, C#.
Thanks in advance.
Is there any seeting required to use config file in Windows Service.
my config file name as <appName>.exe.c onfig.
Even I placed it in the System32 folder also.
Plz help me out how to handle config file in Windows Service.
I'm using VS2008, C#.
Thanks in advance.
Comment