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

BYE 3.5.0.RC7 x64 Not Saving Settings


astroman133

Question

I haven't used it much, but I ran into an issue with the latest pre-release of BYE x64. It will not save settings changes.

1) it always comes up in Night Vision mode
2) On Preview the only item in the Shutter dropdown list is BULB.

I have tried deleting the Cache Data on the Advanced Settings dialog, saving the settings, and restarting BYE.

When restarting BYE I change to the Daylight theme and connect to my T5i. Then I disconnect, shutdown and restart BYE. I am back at step 1) above with BYE in Night Vision mode and only BULB in the Preview Shutter dropdown.

A quick check of the BYE log file shows the following error during startup:

2024-11-24 07:17:30,186 [Main] ERROR - An error occurred loading a configuration file: Access to the path 'C:\Program Files\BackyardEOSv3.5\khqmycug.tmp' is denied. (C:\Program Files\BackyardEOSv3.5\BinaryRivers.BackyardEOS.Start.Camera1.exe.user.config)

The temporary file does not exist, and the user.config file is apparently as installed.

Also, I am running Windows 10 Pro on my desktop computer.

Any suggestions?

Link to comment
Share on other sites

  • Answers 7
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

7 answers to this question

Recommended Posts

  • 0

Yes, I see the same behavior.

Here is the error from the log:

2024-11-24 08:54:49,278 [Main] ERROR - An error occurred loading a configuration file: Access to the path 'C:\Program Files\BackyardEOSv3.5\wijquh31.tmp' is denied. (C:\Program Files\BackyardEOSv3.5\BinaryRivers.BackyardEOS.Start.Camera2.exe.user.config)
2024-11-24 08:54:49,278 [Main] ERROR -    at System.Configuration.MgmtConfigurationRecord.SaveConfigSource(DefinitionUpdate update)
   at System.Configuration.MgmtConfigurationRecord.SaveAs(String filename, ConfigurationSaveMode saveMode, Boolean forceUpdateAll)
   at BinaryRivers.Basics.Configurations.SettingManager.SaveCache(Boolean force)

Also, I am in the Administrators group so permissions should not be an issue.

Link to comment
Share on other sites

  • 0

Hi. Same issue, saving setting in 3.5 RC7 x64 doesnt work (works if I revert to older version). Very similar error. New Win11 x64 build just for Astro.

2025-03-15 21:02:17,589 [Main] ERROR - An error occurred loading a configuration file: Access to the path 'C:\Program Files\BackyardEOSv3.5\fnjlalfz.tmp' is denied. (C:\Program Files\BackyardEOSv3.5\BinaryRivers.BackyardEOS.Start.Camera1.exe.user.config)
2025-03-15 21:02:17,589 [Main] ERROR -    at System.Configuration.MgmtConfigurationRecord.SaveConfigSource(DefinitionUpdate update)
   at System.Configuration.MgmtConfigurationRecord.SaveAs(String filename, ConfigurationSaveMode saveMode, Boolean forceUpdateAll)
   at BinaryRivers.Basics.Configurations.SettingManager.SaveCache(Boolean force)
2025-03-15 21:02:17,589 [Main] ERROR - Access to the path 'C:\Program Files\BackyardEOSv3.5\fnjlalfz.tmp' is denied.
2025-03-15 21:02:17,589 [Main] ERROR -    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access)
   at System.CodeDom.Compiler.TempFileCollection.EnsureTempNameCreated()
   at System.CodeDom.Compiler.TempFileCollection.AddExtension(String fileExtension, Boolean keepFile)
   at System.Configuration.Internal.WriteFileContext..ctor(String filename, String templateFilename)
   at System.Configuration.Internal.InternalConfigHost.StaticOpenStreamForWrite(String streamName, String templateStreamName, Object& writeContext, Boolean assertPermissions)
   at System.Configuration.Internal.InternalConfigHost.System.Configuration.Internal.IInternalConfigHost.OpenStreamForWrite(String streamName, String templateStreamName, Object& writeContext)
   at System.Configuration.MgmtConfigurationRecord.SaveConfigSource(DefinitionUpdate update)
2025-03-15 21:02:17,589 [Main] DEBUG - ButtonPlus_MouseClick(btnSave = 'Save')

 

Link to comment
Share on other sites

  • 0

Going through and changing the write perms on the BYE folder in program files gets rid of the 'not being able to write to temp file' part of the error, but still not saving settings and th elog changes to

 

2025-03-15 21:12:50,812 [Main] ERROR - Unable to save config to file 'C:\Program Files\BackyardEOSv3.5\BinaryRivers.BackyardEOS.Start.Camera1.exe.user.config'.
2025-03-15 21:12:50,812 [Main] ERROR -    at System.Configuration.Internal.WriteFileContext.ReplaceFile(String Source, String Target)
   at System.Configuration.Internal.WriteFileContext.Complete(String filename, Boolean success)
   at System.Configuration.Internal.InternalConfigHost.StaticWriteCompleted(String streamName, Boolean success, Object writeContext, Boolean assertPermissions)
   at System.Configuration.Internal.InternalConfigHost.System.Configuration.Internal.IInternalConfigHost.WriteCompleted(String streamName, Boolean success, Object writeContext)
   at System.Configuration.UpdateConfigHost.WriteCompleted(String streamName, Boolean success, Object writeContext)
   at System.Configuration.MgmtConfigurationRecord.SaveConfigSource(DefinitionUpdate update)
   at System.Configuration.MgmtConfigurationRecord.SaveAs(String filename, ConfigurationSaveMode saveMode, Boolean forceUpdateAll)
   at BinaryRivers.Basics.Configurations.SettingManager.SaveCache(Boolean force)
2025-03-15 21:12:50,812 [Main] DEBUG - ButtonPlus_MouseClick(btnSave = 'Save')

 

Link to comment
Share on other sites

  • 0

That works for me too, but there is something different about the 64-bit version of BYE.

First, before modifying the file/folder permissions the error occurs when loading the file, not when saving the file. 

Second, I do not have write/modify access to the 32-bit program's app folder for BYE 3.2.3 and I am able to save the settings just fine. 

Third, I am logged into an account that is a member of the Administrators group which has full access to the BYE installation folder, so I should have no permissions issues reading/writing the user.config file in that folder.

These settings are user-scoped. This means that every user will have a different copy of that config file. The name of the executable file is BinaryRivers.BackyardEOS.Start.Camera1.exe and Camera2.exe, etc. Each of these programs can have different settings, so not only the username but also the program name contribute to the storage folder location. The actual location is obscured and relies on attributes of the executable assembly to determine the actual path. Read this linked page for more info about where the actual user-scoped settings in .NET apps are saved.

https://learn.microsoft.com/en-us/dotnet/desktop/winforms/advanced/application-settings-overview?view=netframeworkdesktop-4.8#where-are-user-scoped-settings-stored

I could write code to poke around in the .NET attributes of the O'Telescope executables to try to determine the actual location of user-scoped config file, but this is really something that Guylain should investigate.

Link to comment
Share on other sites

  • 0

Ah, so you came to a similar conclusion. I hadn't seen any further updates. Yes, I agree that the 64-bit version behaves differently for some reason.

While I had full access as an administrator, it was taking the permissions from the user group/context. No idea why. Windows is a bit of a mystery to me, so that was just my observations. I left the Windows ecosystem for Mac 15 years ago, and then left Mac for Linux 5 years ago. I only bought the mini Windows PC due to poor support for Linux on the control side of the Telescope (and not wanting to use wine or virtualisation for stability/resource reasons). The processing side is well supported on Linux.(Bit of a tangent there).

Link to comment
Share on other sites

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.


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