C# application configuration is corrupted

  • Thread starter Thread starter LEHUYNH
  • Start date Start date
L

LEHUYNH

Guest
Dear All,

I have a Windows application that is corrupted many times because of the file *.exe.config is corrupted. I use this file to store app settings. This file is read/write many times when the user uses the software.
Sometimes the app cannot start, in this case, I can see the real error in Event Viewer. All the cases are because of errors related to this file. I must delete *.exe.config to solve it but deleting will lose settings.

So can anyone show me:
1. What is the root reason why the file *.exe.config is usually corrupted?
2. Should I avoid using this file? Instead, I can store my settings in another file?
3. is there a way we can know and fix this type of error?

Lehuynh

Continue reading...
 
Back
Top