> I am relatively new to doing this and i think that i am making some king of
> school boy error.
[quoted text clipped - 6 lines]
>
> "Configuration system failed to initialize"
That sounds unlikely. It seems much more likely that it's *actually*
failing on this line:
System.Configuration.Configuration config =
ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.None);
Could you check this carefully, preferrably in the debugger, with a
fresh build, stepping through the code one line at a time and seeing
if it genuinely gets to the XmlSerializer constructor line?
Jon
ink - 18 Oct 2007 14:57 GMT
Hi Jon
I have commented out everything except this line.
XmlSerializer xs = new XmlSerializer(typeof(ImportRecord));
and still it fails.
ink
>> I am relatively new to doing this and i think that i am making some king
>> of
[quoted text clipped - 20 lines]
>
> Jon
Marc Gravell - 18 Oct 2007 15:10 GMT
is your app.config / web.config file valid? missing section handlers,
etc - try removing (or renaming) this file...
Marc
ink - 18 Oct 2007 15:10 GMT
There was a funny Char in my app.config file so you were correct.
>> I am relatively new to doing this and i think that i am making some king
>> of
[quoted text clipped - 20 lines]
>
> Jon