Configuration System Failed to Initialize

05.23.08

Problem: Your application contains User Scope Settings and you receive the exception.

“Configuration system failed to initialize” when attempting to retrieve these settings.

Solution: The settings file has been corrupted and is unreadable. Close or stop your application and delete the user.config file. The file is located at:

C:\Documents and Settings\[UserName]\Local Settings\Application Data\[AppCompany]\[AppName] \[AppVersion]\

If you are in Visual Studio you can easily find the exact file that is causing the problem by viewing the details and drilling down to the inner exception to find the file name.

Comments (4) -

6/17/2008 9:14:06 PM #

Greg

Thank you for posting your knowledge.  After reading your explanation I solved the problem that has plagued me for the last 2 weeks simply by deleting the corrupted config file.

Greg

2/10/2009 3:39:20 PM #

Aaron

glad I could help.

Aaron

2/12/2009 2:39:35 AM #

bin

thx

bin

3/12/2009 11:48:50 AM #

Ali

Cheers for the info

Ali