K
kosta
hello!
I have this code:
public static DataSet DSet(String sql)
{
OleDbConnection con = new OleDbConnection();
con.ConnectionString =
ConfigurationSettings.AppSettings["conString"];
OleDbCommand cmd = new OleDbCommand(sql,con);
OleDbDataAdapter adp = new OleDbDataAdapter(cmd);
DataSet ds = new DataSet();
adp.Fill(ds);
return ds;
}
it ran fine untill about yesterday, but suddnely now i always get an
InvalidOperatioException (referring to the second line of the
function)... the
help text is: GetConfig was called during configuration initialization
i have no idea why is suddnely started appearing... please help!
thanks!
Best Regards,
Kosta.
I have this code:
public static DataSet DSet(String sql)
{
OleDbConnection con = new OleDbConnection();
con.ConnectionString =
ConfigurationSettings.AppSettings["conString"];
OleDbCommand cmd = new OleDbCommand(sql,con);
OleDbDataAdapter adp = new OleDbDataAdapter(cmd);
DataSet ds = new DataSet();
adp.Fill(ds);
return ds;
}
it ran fine untill about yesterday, but suddnely now i always get an
InvalidOperatioException (referring to the second line of the
function)... the
help text is: GetConfig was called during configuration initialization
i have no idea why is suddnely started appearing... please help!
thanks!
Best Regards,
Kosta.