corrupted configuration file?

  • Thread starter Thread starter Pat Moran
  • Start date Start date
P

Pat Moran

I have an application that was running fine on Vista but has suddenly started
failing whn it tries to access configuration data. Whe I try to access the
ConecctionsSrting or call the method ConfigurationManager.AppSettings,

I get an exception with the message

The configuration section 'appSettings' has an unexpected declaration.

I have check the application and the user config files and they seem to be
OK. Any suggestions for what th eproblem migh be.

Thanks

Pat
 
Can you post the file or at least the section "appSettings"?

/ravi
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top