|Richard, thanks for your response.
This is the ReadConfig () method:
public string ReadConfig(string ValueToGet)
System.Configuration.AppSettingsSection section = (System.Configuration.AppSettingsSection)config.GetSection("appSettings");
The first error is on this line:
Then ReadConfig tries to call the report with this:
string URL = Master.ReadConfig("DailyReport");
This is the line that generated the second error.
Then this is the web.config content that Master.ReadConfig("DailyReport"); is trying to call:
<add key="DailyReport" value="http://servername/ReportServer?/Reports/DailyReport"/>
I have had similar issues with ReadConfig() function which I was able to resolve.
For instance, This line was generating exact same error:
appVersion.Text = ReadConfig("AppVersion");
and I was able to resolve it with this:
But the Master.ReadConfig(...) line is a bit too challenging.