Could not create type instance

  • Thread starter Thread starter Brian.ONeil
  • Start date Start date
B

Brian.ONeil

I am trying to use the Configuration class from OpenNETCF, and get the
following exception :

"An unhandled exception of type
'OpenNETCF.Configuration.ConfigurationException' occurred in
OpenNETCF.dll

Additional information: Could not create type instance"

Code looks like ;
downloadPath =
OpenNETCF.Configuration.ConfigurationSettings.AppSettings["ServerDownloadPath"];

Anywhere to being solving this? I have verified the OPENNETCF
assemblies are "CopyLocal" and are getting copied to the Mobile Device.

TIA,
Brian
 
You have a machine.config and app.config file on the device? I agree that
this should have an error that's a bit more clear.

--
Chris Tacke
Co-founder
OpenNETCF.org
Are you using the SDF? Let's do a case study.
Email us at d c s @ o p e n n e t c f . c o m
http://www.opennetcf.org/donate
 
Back
Top