Hello,
while my prgm is working fine, I am having the following line in my output window:
A first chance exception of type 'System.InvalidOperationException' occurred in System.dll
This one happens when I only do:
DataAccessAdapter adapter = new DataAccessAdapter();
By debugging, the error occurs in DataAccessAdapter.cs, in the function
ReadHandleCatalogNameSettingFromConfig
at the line:
CatalogNameUsage catalogNameUsageSetting = (CatalogNameUsage)(int)configReader.GetValue("CatalogNameUsageSetting", typeof(int));
Is it normal? do I miss anything?
Thanks,
Silat
btw below is my config file:
<?xml version="1.0"?>
<configuration>
<appSettings>
<add key="Main.ConnectionString" value="data source=XXX;initial catalog=XXX;integrated security=SSPI;persist security info=False;packet size=4096"/>
</appSettings>
</configuration>