Hi all;
We have a situation where on one person't computer, it is not reading a value set in the config file. Works fine elsewhere. This is an add-in to Word so the file is winword.exe.config and is as follows:
<configSections><section name="WindwardReports" type="System.Configuration.NameValueSectionHandler, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/></configSections><WindwardReports><add key="sql.timeout" value="240"/></WindwardReports>
And the code is:
var coll = System.Configuration.ConfigurationManager.GetSection("WindwardReports"); var str = coll["sql.timeout"];
How can we figure out why this is not working? Is there a way to list out what sequence of config files .NET is looking at and what it is seeing?
thanks - dave
What we did for the last 6 months - Made the world's coolest reporting & docgen system even more amazing