Display permission problem when connecting electric focusing, connection failed
Dear developers, I found some problems when I connected the electric focusing
************** 异常文本 **************
System.UnauthorizedAccessException: 对路径“C:\Program Files\N.I.N.A. - Nighttime Imaging 'N' Astronomy\On_Cue_Focuser_Settings.xml”的访问被拒绝。
在 System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
在 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)
在 System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
在 System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
在 System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize)
在 System.IO.StreamWriter..ctor(String path)
在 ASCOM.On_Cue_Focuser.SetupDialogForm.SaveDefaults()
在 ASCOM.On_Cue_Focuser.SetupDialogForm.CmdOkClick(Object sender, EventArgs e)
在 System.Windows.Forms.Control.OnClick(EventArgs e)
在 System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
在 System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
在 System.Windows.Forms.Control.WndProc(Message& m)
在 System.Windows.Forms.ButtonBase.WndProc(Message& m)
在 System.Windows.Forms.Button.WndProc(Message& m)
在 System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
在 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** 已加载的程序集 **************
mscorlib
程序集版本: 2.0.0.0
Win32 版本: 2.0.50727.9151 (WinRelRS6.050727-9100)
基本代码: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
On_Cue_On_Focus
程序集版本: 1.5.6.0
Win32 版本: 1.5.6.0
基本代码: file:///C:/Program%20Files%20(x86)/Common%20Files/ASCOM/Focuser/On_Cue_On_Focus.DLL
ASCOM.DeviceInterfaces
程序集版本: 6.0.0.0
Win32 版本: 6.4.1.2695
基本代码: file:///C:/Windows/assembly/GAC_MSIL/ASCOM.DeviceInterfaces/6.0.0.0__565de7938946fba7/ASCOM.DeviceInterfaces.dll
System
程序集版本: 2.0.0.0
Win32 版本: 2.0.50727.9147 (WinRelRS6.050727-9100)
基本代码: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
mscorlib.resources
程序集版本: 2.0.0.0
Win32 版本: 2.0.50727.9151 (WinRelRS6.050727-9100)
基本代码: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
System.Windows.Forms
程序集版本: 2.0.0.0
Win32 版本: 2.0.50727.9136 (WinRelRS6.050727-9100)
基本代码: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
System.Drawing
程序集版本: 2.0.0.0
Win32 版本: 2.0.50727.9136 (WinRelRS6.050727-9100)
基本代码: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
System.Xml
程序集版本: 2.0.0.0
Win32 版本: 2.0.50727.9136 (WinRelRS6.050727-9100)
基本代码: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
System.Configuration
程序集版本: 2.0.0.0
Win32 版本: 2.0.50727.9136 (WinRelRS6.050727-9100)
基本代码: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
dgtzx_yb
程序集版本: 1.5.6.0
Win32 版本: 2.0.50727.9147 (WinRelRS6.050727-9100)
基本代码: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
ASCOM.Utilities
程序集版本: 6.0.0.0
Win32 版本: 6.4.1.2695
基本代码: file:///C:/Windows/assembly/GAC_MSIL/ASCOM.Utilities/6.0.0.0__565de7938946fba7/ASCOM.Utilities.dll
System.Core
程序集版本: 3.5.0.0
Win32 版本: 3.5.30729.9135 built by: WinRelRS6
基本代码: file:///C:/Windows/assembly/GAC_MSIL/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll
System.Windows.Forms.resources
程序集版本: 2.0.0.0
Win32 版本: 2.0.50727.9136 (WinRelRS6.050727-9100)
基本代码: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_zh-CHS_b77a5c561934e089/System.Windows.Forms.resources.dll
************** JIT 调试 **************
要启用实时(JIT)调试,
该应用程序或计算机的 .config 文件(machine.config)的 system.windows.forms 节中必须设置
jitDebugging 值。
编译应用程序时还必须启用
调试。
例如:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
启用 JIT 调试后,任何无法处理的异常
都将被发送到在此计算机上注册的 JIT 调试器,
而不是由此对话框处理。
Comments (5)
-
reporter -
repo owner Hi,
this looks like some issue with your driver and where it stores its settings. It should not store the settings inside the NINA installation folder.
-
reporter I just tested it with mdl6, and it shows that it is normal, and the actual test is available. In this case, should I modify the driver of electric focusing or should Nina change it?
-
reporter I tried to change the connection mode, and found that I used an electric driver called pipe and configured the installed driver, so I could use it normally,My hardware driver should be the first one. Although it is still unavailable now, I can use the blue arrow driver。
-
reporter - changed status to resolved
- Log in to comment
I have attached the error log and screenshot