|
Question : 'System.Configuration.Conf<wbr />igurationE<wbr />xception' occurred in system.dll
|
|
I am getting an unhandled exception type 'System.Configuration.ConfigurationException' occurred in system.dll when I attempt to run a very small program I created. The line of code that is highlighted is shown below.
Dim configurationAppSettings As System.Configuration.AppSettingsReader = New System.Configuration.AppSettingsReader()
HELP
|
|
Answer : 'System.Configuration.Conf<wbr />igurationE<wbr />xception' occurred in system.dll
|
|
Does a configuration file exist?
The configuration files are in XML. Is the file STILL well-formed XML, or has it been corrupted in some way?
I put a link to IE6 in my SendTo directory to use for this purpose. Then you can just right-click the config file, and send it to IE6. If shows, then it is a well-formed XML doc. If it complains, there's something wrong.
Is this an executable-hosted app, an ASP.NET hosted app, or a IE-hosted app? The configuration files will be in different places depending on this.
Is the config file small enough to post for us? (Remove any passwords or securable info.)
|
|
|
|