Error loading FITs file in SGP Beta 4.5.0.1550

Attached are log files from trying to load a FITs file saved by ZWO camera software. The files load fine on other programs but when loaded into SGP I get an error “Object reference not set to an instance of an object”

The issue occurs right when I try to load a fits file, so the Time and Options isn’t set.

Link to Logs

Approx time of issue: 10:24 AM

Useful Info

OS: Microsoft Windows 11 Pro
Ver: 4.5.0.1550 (64-bit)
.NET: 4.8
ASCOM: 7.1.1.4730

Ah, looking at the log file I see at access is denied.

[12/03/25 16:41:23.651][DEBUG][Main Thread][NONE] Error opening in CSharpFits (C:\Users\rschi\OneDrive\Documents\FITsImageToShare\Light_M 74_300.0s_Bin1_20251115-195919_0001 (2025_11_16 15_49_54 UTC).fit): Access to the path ‘C:\Users\rschi\OneDrive\Documents\FITsImageToShare\Light_M 74_300.0s_Bin1_20251115-195919_0001 (2025_11_16 15_49_54 UTC).fit’ is denied.

Any suggestions on how to fix this? I installed the application and I own the files as they are in my user directory.
thanks

Rich

I think I found a solution. The properties on these files has “read only” checked. While SGP is just reading the file I guess the O/S is blocking the open operation. If I open the file’s properties and uncheck the “read only” box then SGP can open the file. Strange, but I can deal with that.

Files that SGP generates open fine so I think future captures I do with SGP will be ok. These fits files were just captured by ZWO’s capture program.

Thank-you for pointing me in the right direction by showing me how to look at the log files.

Rich