Hi,
I'm getting an empty value while reading the owstimer.exe.config file from the execute method.
i tried both the codes below to read the value from Owstimer,
In Execute method:
string str1=ConfigurationSettings.AppSettings["URl"]
string str2=ConfigurationManager.AppSettings["URl"]
In Owstimer.exe:
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<runtime>
</runtime>
<appSettings>
<add key="URl" value="MyUrl"/>
</appSettings>
</configuration>
But i'm getting an empty value.
Any Idea ?
Regards,
Sandhya M