I'm currently facing this error while running my c# program:
configuration system failed to initialize
here is my app.config file:
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
<add name="FastConnection"
connectionString="DataSource=.\SQLEXPRESS;AttachDbFilename=C:\Users\mustiondb.mdf;Integrated Security=True;Connect Timeout=30;User Instance=True" />
</configSections>
</configuration>
I believe there is probably information lacking in this app.config file. However, I'm not sure what information. When I created an app config file from my windows form (visual studio 2010), the only information in the app config file was this:
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
</configuration>
I tried searching for information to add in, but i'm not sure what and where to find these information.