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*
  • 0
Sign in to follow this  
astroman133

Replace corrupted config file(s) with default files

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.

 

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • 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