Jump to content

Canada's top-tier Telescopes & Accessories
Be as specific as possible when reporting issues and *ALWAYS* include the full version number of the application you are using and your exact *CAMERA MODEL*
NEVER POST YOUR KEY IN ANY PUBLIC FORUM, INCLUDING THE O'TELESCOPE SUPPORT FORUM ::: IF YOU DO YOUR KEY WILL BE DEACTIVATED WITHOUT NOTICE!
  • 0

Replace corrupted config file(s) with default files


astroman133

Question

This is a strange issue.  I have used app.config and user.app.config files extensively and have never heard of them becoming corrupted.  I would guess that it is an issue with the application terminating while the file is being written, but that is just a guess.  Perhaps it could happen if Windows shuts down while BYE is running or if a laptop running on the battery shuts down the hard drive.

 

Until a fix has been engineered to avoid corrupted config files, one solution could be to keep a "default" version of the config file(s) that would be used if the "live" config file(s) become corrupted. The only thing that I don't know would be if BYE/BYN could copy the default file over the live file or if it would have to be done manually or with a separate executable.

 

Since the default files would only be written during installation, it is unlikely that they would become corrupted.

 

Link to comment
Share on other sites

  • Answers 1
  • Created
  • Last Reply

1 answer to this question

Recommended Posts

Archived

This topic is now archived and is closed to further replies.


×
×
  • Create New...

Important Information

This site uses cookies to offer your a better browsing experience. You can adjust your cookie settings. By closing this banner, scrolling this page, clicking a link or continuing to browse otherwise, you agree to the use of cookies, our Privacy Policy, and our Terms of Use