Hi, I am trying to call the new ConfigurationManager class but all I get is
"does not exist in the current context".

I can substitute with System.Configuration.ConfigurationSettings.AppSettings
and all seems to be fine.

Any ideas? here is the actual code

protected string ConnectionString {

get {

if (ConfigurationManager.ConnectionStrings["Timer"] == null)

throw (new NullReferenceException("Invalid Connection"));

string connectionString =
ConfigurationManager.ConnectionStrings["Timer"].ConnectionString;

if (String.IsNullOrEmpty(connectionString))

throw (new NullReferenceException("Invalid Connection attempt")

else

return (connectionString);

}

}


Thanks

Steve