I am having a requirement to prepare a trace log to a text file which should be configurable based on the value set in app.config file and the path where this text file has to be saved is also need to be set in app.config file.Below is app.config file
providerName="System.Data.SqlClient" />
when I am trying to acces these 2 values from C# like below ..
string
string
I am getting error as Configuration system failed to initialize..I am unable to understand what is the problem.Please help me in this regard.Thanks in advance.
Pankaj PandeyPosted May 7, 2013, 3:22 AM
Its working