SharpCap Version 3.2.5696.0 crashes on EQMOD connection

A place to report problems and bugs in SharpCap
Forum rules
Please read about Troubleshooting USB Issues before posting.

*** Please do not post license keys - please report any problems with licensing to 'admin' by PM ***

Please include the following details in any bug report:

* Version of SharpCap
* Camera and other hardware being user
* Operating system version
* Contents of the SharpCap log after the problem has occurred.
[If SharpCap crashes, please send the bug report when prompted instead of including the log]
Post Reply
Necrosis
Posts: 6
Joined: Sat Feb 10, 2018 12:09 pm

SharpCap Version 3.2.5696.0 crashes on EQMOD connection

Post by Necrosis » Fri Aug 17, 2018 11:15 pm

Connect to any test camera driver then attempt to connect to either eqmod_eq5/6 or eqmod_eq5/6 sim and Sharpcap crashes.
Log inc:
Info: 00:09:14.9924630 Thread:LogInfo Thread#8 SharpCap.LogSystemInfo.ThreadProc() :: SharpCap Version 3.2.5696.0
Info: 00:09:14.9924630 Thread:LogInfo Thread#8 SharpCap.LogSystemInfo.ThreadProc() :: GC Memory 117Mb
Info: 00:09:14.9964304 Thread:LogInfo Thread#8 SharpCap.LogSystemInfo.ThreadProc() :: Process Memory 153Mb
Info: 00:09:14.9964304 Thread:LogInfo Thread#8 SharpCap.LogSystemInfo.ThreadProc() :: Total Physical Memory 16324Mb
Info: 00:09:14.9964304 Thread:LogInfo Thread#8 SharpCap.LogSystemInfo.ThreadProc() :: Available Physical Memory 10678Mb
Info: 00:09:14.9964304 Thread:LogInfo Thread#8 SharpCap.LogSystemInfo.ThreadProc() :: Operating System : Microsoft Windows NT 6.2.9200.0
Debug: 00:09:15.0881862 Thread:#1 SharpCap.UI.SharpCapForm..ctor() :: Started
Info: 00:09:15.1210973 Thread:#1 SharpCap.MultiCaptureProvider.AddProvider() :: Added device enumerator of type BaslerDeviceEnumerator
Info: 00:09:15.1210973 Thread:#1 SharpCap.MultiCaptureProvider.AddProvider() :: Added device enumerator of type QHYDeviceEnumerator
Info: 00:09:15.1220944 Thread:#1 SharpCap.MultiCaptureProvider.AddProvider() :: Added device enumerator of type ASIDeviceEnumerator
Info: 00:09:15.1220944 Thread:#1 SharpCap.MultiCaptureProvider.AddProvider() :: Added device enumerator of type AltairDeviceEnumerator
Info: 00:09:15.1530117 Thread:#1 SharpCap.MultiCaptureProvider.AddProvider() :: Added device enumerator of type PointGreyDeviceEnumerator
Info: 00:09:15.1540094 Thread:#1 SharpCap.MultiCaptureProvider.AddProvider() :: Added device enumerator of type SxDeviceEnumerator
Info: 00:09:15.1560035 Thread:#1 SharpCap.Base.InterfaceFactory`2.ScanDll(String filename) :: Probing for camera providers : D:\Program Files (x86)\SharpCap 3.2\SharpCap.Cameras.Altair.dll
Info: 00:09:15.1570009 Thread:#1 SharpCap.Base.InterfaceFactory`2.ScanDll(String filename) :: Probing for camera providers : D:\Program Files (x86)\SharpCap 3.2\SharpCap.Cameras.ASCOMCamera.dll
Info: 00:09:15.1570009 Thread:#1 SharpCap.Base.InterfaceFactory`2.ScanDll(String filename) :: Probing for camera providers : D:\Program Files (x86)\SharpCap 3.2\SharpCap.Cameras.ASI.dll
Info: 00:09:15.1579982 Thread:#1 SharpCap.Base.InterfaceFactory`2.ScanDll(String filename) :: Probing for camera providers : D:\Program Files (x86)\SharpCap 3.2\SharpCap.Cameras.Basler.dll
Info: 00:09:15.1579982 Thread:#1 SharpCap.Base.InterfaceFactory`2.ScanDll(String filename) :: Probing for camera providers : D:\Program Files (x86)\SharpCap 3.2\SharpCap.Cameras.Celestron.dll
Info: 00:09:15.1599930 Thread:#1 SharpCap.Base.InterfaceFactory`2.ScanDll(String filename) :: Probing for camera providers : D:\Program Files (x86)\SharpCap 3.2\SharpCap.Cameras.DS3.dll
Info: 00:09:15.1609904 Thread:#1 SharpCap.Base.InterfaceFactory`2.ScanDll(String filename) :: Probing for camera providers : D:\Program Files (x86)\SharpCap 3.2\SharpCap.Cameras.Fake.dll
Info: 00:09:15.1609904 Thread:#1 SharpCap.Base.InterfaceFactory`2.ScanDll(String filename) :: Probing for camera providers : D:\Program Files (x86)\SharpCap 3.2\SharpCap.Cameras.INova.dll
Info: 00:09:15.1629848 Thread:#1 SharpCap.Base.InterfaceFactory`2.ScanDll(String filename) :: Probing for camera providers : D:\Program Files (x86)\SharpCap 3.2\SharpCap.Cameras.NewDirectShow.dll
Info: 00:09:15.1629848 Thread:#1 SharpCap.Base.InterfaceFactory`2.ScanDll(String filename) :: Probing for camera providers : D:\Program Files (x86)\SharpCap 3.2\SharpCap.Cameras.PointGrey.dll
Info: 00:09:15.1629848 Thread:#1 SharpCap.Base.InterfaceFactory`2.ScanDll(String filename) :: Probing for camera providers : D:\Program Files (x86)\SharpCap 3.2\SharpCap.Cameras.QHY.dll
Info: 00:09:15.1639825 Thread:#1 SharpCap.MultiCaptureProvider.AddProvidersByReflection(String[] providerNames) :: Added device enumerator of type CelestronDeviceEnumerator
Info: 00:09:15.1639825 Thread:#1 SharpCap.MultiCaptureProvider.AddProvidersByReflection(String[] providerNames) :: Added device enumerator of type iNovaDeviceEnumerator
Info: 00:09:15.1639825 Thread:#1 SharpCap.MultiCaptureProvider.AddProvider() :: Added device enumerator of type DS3DeviceEnumerator
Info: 00:09:15.1639825 Thread:#1 SharpCap.MultiCaptureProvider.AddProvider() :: Added device enumerator of type AscomDeviceEnumerator
Info: 00:09:15.1639825 Thread:#1 SharpCap.MultiCaptureProvider.AddProvider() :: Added device enumerator of type FolderMonitorDeviceEnumerator
Info: 00:09:15.1639825 Thread:#1 SharpCap.MultiCaptureProvider.AddProvider() :: Added device enumerator of type FakeDeviceEnumerator
Info: 00:09:15.6439679 Thread:#1 SharpCap.Base.Utilities.Logger.LogStackTrace(LogLevel level, String msg) :: Parent being changed on PreviewPanel
at SharpCap.UI.ScrollZoomForm.OnParentChanged(Object sender, EventArgs eventArgs)

Debug: 00:09:15.8556608 Thread:#1 SharpCap.UI.SharpCapForm..ctor() :: Ended
Debug: 00:09:15.9822978 Thread:#1 SharpCap.UI.SharpCapForm.SharpCapForm_Load(Object sender, EventArgs e) :: Started
Debug: 00:09:15.9832951 Thread:#1 SharpCap.UI.SharpCapForm.SharpCapForm_Load(Object sender, EventArgs e) :: Ended
Debug: 00:09:15.9992528 Thread:#1 SharpCap.UI.SharpCapForm.SharpCap_Shown(Object sender, EventArgs e) :: Started
Info: 00:09:16.0570976 Thread:#1 SharpCap.SharpCapApp.get_ForceSoftwareRendering() :: WPF Rendering tier is 2
Info: 00:09:16.1029755 Thread:LogInfo Thread#8 SharpCap.LogSystemInfo.ThreadProc() :: CPU : Intel(R) Core(TM) i5-6500 CPU @ 3.20GHz with 4 cores.
Debug: 00:09:17.4532908 Thread:#1 SharpCap.UI.SharpCapForm.SharpCap_Shown(Object sender, EventArgs e) :: Timebomb checked
Debug: 00:09:17.4602718 Thread:#10 SharpCap.Cameras.Basler.BaslerDeviceEnumerator.GetDevices() :: Started
Debug: 00:09:17.4732374 Thread:#10 SharpCap.Cameras.Basler.BaslerDeviceEnumerator.GetDevices() :: Ended
Info: 00:09:17.5939148 Thread:#1 SharpCap.MultiCaptureProvider+<GetDevicesFromEnumerator>d__20.MoveNext() :: Detected Camera: Microsoft® LifeCam HD-3000 (DirectShow Cameras)
Info: 00:09:17.5969072 Thread:#1 SharpCap.MultiCaptureProvider+<GetDevicesFromEnumerator>d__20.MoveNext() :: Detected Camera: QHY Camera (Native WDM) (DirectShow Cameras)
Info: 00:09:17.6028908 Thread:#1 SharpCap.MultiCaptureProvider+<GetDevicesFromEnumerator>d__20.MoveNext() :: Detected Camera: CMOS QHY5LII Camera (ASCOM Cameras)
Info: 00:09:17.6028908 Thread:#1 SharpCap.MultiCaptureProvider+<GetDevicesFromEnumerator>d__20.MoveNext() :: Detected Camera: ASCOM Camera Driver for Nebulosity (3/17/2015) (ASCOM Cameras)
Info: 00:09:17.6028908 Thread:#1 SharpCap.MultiCaptureProvider+<GetDevicesFromEnumerator>d__20.MoveNext() :: Detected Camera: QHYCCD-Cameras-Capture (ASCOM Cameras)
Info: 00:09:17.6028908 Thread:#1 SharpCap.MultiCaptureProvider+<GetDevicesFromEnumerator>d__20.MoveNext() :: Detected Camera: QHYCCD-Cameras2st-Capture (ASCOM Cameras)
Info: 00:09:17.6028908 Thread:#1 SharpCap.MultiCaptureProvider+<GetDevicesFromEnumerator>d__20.MoveNext() :: Detected Camera: QHYCCD-Cameras-Guide (ASCOM Cameras)
Info: 00:09:17.6028908 Thread:#1 SharpCap.MultiCaptureProvider+<GetDevicesFromEnumerator>d__20.MoveNext() :: Detected Camera: Camera V2 simulator (ASCOM Cameras)
Info: 00:09:17.6038885 Thread:#1 SharpCap.MultiCaptureProvider+<GetDevicesFromEnumerator>d__20.MoveNext() :: Detected Camera: Folder Monitor Camera (Virtual Cameras)
Debug: 00:09:17.6038885 Thread:#1 SharpCap.Cameras.Fake.FakeDeviceEnumerator.GetDevices() :: Started
Debug: 00:09:17.6038885 Thread:#1 SharpCap.Cameras.Fake.FakeDeviceEnumerator.GetDevices() :: Ended
Info: 00:09:17.6038885 Thread:#1 SharpCap.MultiCaptureProvider+<GetDevicesFromEnumerator>d__20.MoveNext() :: Detected Camera: Test Camera 1 (Deep Sky) (Test Cameras)
Info: 00:09:17.6038885 Thread:#1 SharpCap.MultiCaptureProvider+<GetDevicesFromEnumerator>d__20.MoveNext() :: Detected Camera: Test Camera 2 (High Speed) (Test Cameras)
Info: 00:09:17.6178508 Thread:#10 SharpCap.Base.SimpleDeviceEnumerator.GetDevices(Func`1 deviceNameFinder, String infoText, Func`2 fullNameToDispayName, Func`3 tagCreatorFunc) :: QHYCameraFinder - found 0 cameras
Info: 00:09:17.6597389 Thread:#10 SharpCap.Base.SimpleDeviceEnumerator.GetDevices(Func`1 deviceNameFinder, String infoText, Func`2 fullNameToDispayName, Func`3 tagCreatorFunc) :: FindCameras - found 0 cameras
Debug: 00:09:18.2094090 Thread:#1 SharpCap.UI.SharpCapForm.SharpCap_Shown(Object sender, EventArgs e) :: Docking setup
Debug: 00:09:18.2104064 Thread:#1 SharpCap.UI.SharpCapForm.SharpCap_Shown(Object sender, EventArgs e) :: Startup scripts (if any) run
Debug: 00:09:18.2114031 Thread:#1 SharpCap.UI.SharpCapForm.SharpCap_Shown(Object sender, EventArgs e) :: Menu updated
Debug: 00:09:20.2185532 Thread:#1 SharpCap.UI.SharpCapForm.SharpCap_Shown(Object sender, EventArgs e) :: Splash and tips done
Debug: 00:09:20.2584459 Thread:#1 SharpCap.UI.SharpCapForm.SharpCap_Shown(Object sender, EventArgs e) :: Ended
Info: 00:09:35.8700051 Thread:#1 SharpCap.Models.Application+<>c__DisplayClass38_0.<set_SelectedCamera>b__0() :: Changing camera from none to Test Camera 1 (Deep Sky)
Info: 00:09:35.9019157 Thread:#1 SharpCap.ViewModels.SharpCapViewModel.appModel_OnCaptureEvent(Object sender, CaptureEventArgs e) :: OpeningDevice event received in UI thread
Info: 00:09:35.9128861 Thread:#1 SharpCap.Models.Transforms.set_SelectedTransform(Transform value) :: Selecting transform None
Debug: 00:09:35.9378218 Thread:#1 SharpCap.MultiCaptureProvider.OpenDevice(DeviceTagData deviceTag) :: Opening device : Test Camera 1 (Deep Sky) (via Test Cameras)
Info: 00:09:35.9487903 Thread:#1 SharpCap.Base.CaptureProviderBase`1.OpenDevice(DeviceTagData dtd) :: Started
Debug: 00:09:35.9577628 Thread:#1 SharpCap.Base.SimpleCaptureProvider.SetupDevice(DeviceTagData dtd) :: Started
Debug: 00:09:35.9647197 Thread:#1 SharpCap.Base.SimpleCaptureProvider.SetupDevice(DeviceTagData dtd) :: Ended
Info: 00:09:35.9757149 Thread:#1 SharpCap.Base.CaptureProviderBase`1.CreateCaptureControl() :: Started
Debug: 00:09:35.9827010 Thread:#1 SharpCap.Base.SimpleCaptureProvider.GetControls() :: Started
Info: 00:09:36.0036433 Thread:#1 SharpCap.Base.ColourSpacePropertyControl..ctor(IEnumFeature mainFeature, List`1 colourSpaces, IPreviewControl previewControl) :: Colour space RGB32 is valid.
Info: 00:09:36.0105964 Thread:#1 SharpCap.Base.ColourSpacePropertyControl..ctor(IEnumFeature mainFeature, List`1 colourSpaces, IPreviewControl previewControl) :: Colour space MONO8 is valid.
Info: 00:09:36.0175790 Thread:#1 SharpCap.Base.ColourSpacePropertyControl..ctor(IEnumFeature mainFeature, List`1 colourSpaces, IPreviewControl previewControl) :: Colour space MONO16 is valid.
Info: 00:09:36.0255560 Thread:#1 SharpCap.Base.ColourSpacePropertyControl..ctor(IEnumFeature mainFeature, List`1 colourSpaces, IPreviewControl previewControl) :: Colour space RAW16 is valid.
Info: 00:09:36.0325383 Thread:#1 SharpCap.Base.ColourSpacePropertyControl..ctor(IEnumFeature mainFeature, List`1 colourSpaces, IPreviewControl previewControl) :: Colour space RAW8 is valid.
Info: 00:09:36.1103578 Thread:#1 SharpCap.Base.Memory.Allocator.NumberOfMegabytesToMap() :: Paged memory check based on total memory of 16324Mb, available of 10669Mb
Info: 00:09:36.1173157 Thread:#1 SharpCap.Base.Memory.Allocator.NumberOfMegabytesToMap() :: Paged memory enabled at 1024Mb for Frame Cache and 1024Mb for LiveStack/Misc on 64 bit system.
Info: 00:09:36.1233202 Thread:#1 SharpCap.Base.Memory.Allocator..cctor() :: Assigning 1024Mb to non-pool memory and 1024Mb to the frame pool.
Info: 00:09:36.2080700 Thread:#1 SharpCap.Base.CaptureProviderBase`1.CreateCaptureControl() :: Ended
Info: 00:09:36.2150503 Thread:#1 SharpCap.Base.CaptureProviderBase`1.OpenDevice(DeviceTagData dtd) :: Ended
Debug: 00:09:36.2250298 Thread:#1 SharpCap.Models.Camera.ApplyDefaultProfile() :: Started
Info: 00:09:36.2519519 Thread:#1 SharpCap.MultiCaptureProvider.StartPreview() :: Starting preview on Test Camera 1 (Deep Sky)
Info: 00:09:36.2669115 Thread:#1 SharpCap.Base.CaptureProviderBase`1.StartPreview() :: Started
Info: 00:09:36.2788800 Thread:#1 SharpCap.Base.CaptureProviderBase`1.StartPreview() :: Starting Preview on Test Camera 1 (Deep Sky), 1280x960, RGB, 8bits
Debug: 00:09:36.2888528 Thread:#1 SharpCap.Base.BaseImageProvider.Start() :: Started
Debug: 00:09:36.3008213 Thread:#1 SharpCap.Base.CameraProxyBase.StartPreview() :: Started
Debug: 00:09:36.3087999 Thread:Grab Thread#22 SharpCap.Base.CameraProxyBase.GrabThreadProc() :: Started
Debug: 00:09:36.3546775 Thread:#1 SharpCap.Base.CameraProxyBase.StartPreview() :: Ended
Debug: 00:09:36.3686408 Thread:#1 SharpCap.Base.BaseImageProvider.Start() :: Ended
Info: 00:09:36.3806083 Thread:#1 SharpCap.MultiCaptureProvider.SendCaptureEvent(Object sender, CaptureEventArgs e) :: Capture Event : StartPreview
Debug: 00:09:36.3915781 Thread:#1 SharpCap.UI.WPFControlForm.InitControls(CaptureControl captureControl, String deviceName) :: Started
Debug: 00:09:36.4224958 Thread:#1 SharpCap.UI.WPFControlForm.InitControls(CaptureControl captureControl, String deviceName) :: Ended
Info: 00:09:36.4613917 Thread:#1 SharpCap.ViewModels.SharpCapViewModel.appModel_OnCaptureEvent(Object sender, CaptureEventArgs e) :: StartPreview event received in UI thread
Info: 00:09:36.4703678 Thread:#1 SharpCap.Base.CaptureProviderBase`1.StartPreview() :: Ended
Info: 00:09:36.5651154 Thread:#1 SharpCap.Base.PropertyControls.BasePropertyControl`2.BeforeValueChange(Object newValue) :: Stopping preview to change Capture Area from 1280x960 to 1280x960
Info: 00:09:36.5721233 Thread:#1 SharpCap.Base.CaptureProviderBase`1.StopPreview() :: Started
Debug: 00:09:36.5780803 Thread:#1 SharpCap.Base.BaseImageProvider.Stop() :: Started
Debug: 00:09:36.5850889 Thread:#1 SharpCap.Base.CameraProxyBase.StopPreview() :: Started
Debug: 00:09:36.5910459 Thread:Grab Thread#22 SharpCap.Base.CameraProxyBase.GrabThreadProc() :: Ended
Debug: 00:09:36.5920432 Thread:#1 SharpCap.Base.CameraProxyBase.StopPreview() :: Ended
Debug: 00:09:36.6439314 Thread:#1 SharpCap.UI.Hardware.MountControl..ctor(Mount model) :: Started
Debug: 00:09:36.6608861 Thread:#1 SharpCap.ViewModels.MountViewModel..ctor(Mount model) :: Started
Debug: 00:09:36.6718290 Thread:#1 SharpCap.ViewModels.MountViewModel..ctor(Mount model) :: Ended
Debug: 00:09:36.7915094 Thread:#1 SharpCap.Base.BaseImageProvider.Stop() :: Ended
Info: 00:09:36.8005964 Thread:#1 SharpCap.MultiCaptureProvider.SendCaptureEvent(Object sender, CaptureEventArgs e) :: Capture Event : StopPreview
Info: 00:09:36.8084917 Thread:#1 SharpCap.Base.Memory.MappedBufferFactory+MemoryManager.DropStashedFrames() :: Drop stashed frames reclaimed 0 bytes of memory.
Info: 00:09:36.8174677 Thread:#1 SharpCap.ViewModels.SharpCapViewModel.appModel_OnCaptureEvent(Object sender, CaptureEventArgs e) :: StopPreview event received in UI thread
Info: 00:09:36.9332272 Thread:#1 SharpCap.Base.CaptureProviderBase`1.StopPreview() :: Ended
Info: 00:09:36.9422026 Thread:#1 SharpCap.Base.CaptureProviderBase`1.StartPreview() :: Started
Info: 00:09:36.9501820 Thread:#1 SharpCap.Base.CaptureProviderBase`1.StartPreview() :: Starting Preview on Test Camera 1 (Deep Sky), 1280x960, RGB, 8bits
Debug: 00:09:36.9571629 Thread:#1 SharpCap.Base.BaseImageProvider.Start() :: Started
Debug: 00:09:36.9641567 Thread:#1 SharpCap.Base.CameraProxyBase.StartPreview() :: Started
Debug: 00:09:36.9721226 Thread:Grab Thread#24 SharpCap.Base.CameraProxyBase.GrabThreadProc() :: Started
Debug: 00:09:37.0170028 Thread:#1 SharpCap.Base.CameraProxyBase.StartPreview() :: Ended
Debug: 00:09:37.0249815 Thread:#1 SharpCap.Base.BaseImageProvider.Start() :: Ended
Info: 00:09:37.0339578 Thread:#1 SharpCap.MultiCaptureProvider.SendCaptureEvent(Object sender, CaptureEventArgs e) :: Capture Event : StartPreview
Debug: 00:09:37.0419365 Thread:#1 SharpCap.UI.WPFControlForm.InitControls(CaptureControl captureControl, String deviceName) :: Started
Debug: 00:09:37.0529067 Thread:#1 SharpCap.UI.WPFControlForm.InitControls(CaptureControl captureControl, String deviceName) :: Ended
Info: 00:09:37.0608853 Thread:#1 SharpCap.ViewModels.SharpCapViewModel.appModel_OnCaptureEvent(Object sender, CaptureEventArgs e) :: StartPreview event received in UI thread
Info: 00:09:37.0698610 Thread:#1 SharpCap.Base.CaptureProviderBase`1.StartPreview() :: Ended
Debug: 00:09:37.0778404 Thread:#1 SharpCap.Models.Camera.ApplyDefaultProfile() :: Ended (Profile applied)
Debug: 00:09:37.1336911 Thread:#1 SharpCap.UI.Hardware.MountControl..ctor(Mount model) :: Started
Debug: 00:09:37.1406723 Thread:#1 SharpCap.ViewModels.MountViewModel..ctor(Mount model) :: Started
Debug: 00:09:37.1496478 Thread:#1 SharpCap.ViewModels.MountViewModel..ctor(Mount model) :: Ended
Debug: 00:09:40.3464608 Thread:#1 SharpCap.MountProxy.ASCOM.MountWrapper..ctor(String deviceName, String progId) :: Started
Info: 00:09:40.3534630 Thread:#1 SharpCap.MountProxy.ASCOM.MountWrapper..ctor(String deviceName, String progId) :: Creating ASCOM Telescope mount of type EQMOD_SIM.Telescope ('EQMOD_SIM HEQ5/6')
Error: 00:09:40.3903434 Thread:#1 SharpCap.Base.Utilities.Logger.Error(Exception e, String action, String additionalInfo, Boolean stackTrace) :: Exception of type COMException from Creating telescope mount EQMOD_SIM HEQ5/6 : Retrieving the COM class factory for component with CLSID {10619DAC-3698-46C3-89F6-D40A9BAEEA3C} failed due to the following error: 800702e4 The requested operation requires elevation. (Exception from HRESULT: 0x800702E4).
Stack Trace: at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
at System.Activator.CreateInstance(Type type, Boolean nonPublic)
at System.Activator.CreateInstance(Type type)
at ASCOM.DriverAccess.MemberFactory..ctor(String progId, TraceLogger ascomDriverTraceLogger) in C:\ASCOM Build\Export\ASCOM.DriverAccess\MemberFactory.cs:line 55
at ASCOM.DriverAccess.AscomDriver..ctor(String deviceProgId) in C:\ASCOM Build\Export\ASCOM.DriverAccess\AscomDriver.cs:line 48
at ASCOM.DriverAccess.Telescope..ctor(String telescopeId) in C:\ASCOM Build\Export\ASCOM.DriverAccess\Telescope.cs:line 36
at SharpCap.MountProxy.ASCOM.MountWrapper..ctor(String deviceName, String progId) in C:\Documents\Source Code\SharpCap\src\SharpCap.MountProxy.ASCOM\MountWrapper.cs:line 31
at SharpCap.MountProxy.ASCOM.MountFactory.OpenDevice(String deviceName) in C:\Documents\Source Code\SharpCap\src\SharpCap.MountProxy.ASCOM\MountFactory.cs:line 30
at SharpCap.Models.Mount.CreateProxy() in C:\Documents\Source Code\SharpCap\src\SharpCap\Models\Mount.cs:line 163
Error: 00:09:40.4072981 Thread:#1 SharpCap.Base.Utilities.Logger.Error(Exception e, String action, String additionalInfo, Boolean stackTrace) :: Exception of type COMException from An error occurred while trying to send a command to your EQMOD_SIM HEQ5/6 Mount. : Retrieving the COM class factory for component with CLSID {10619DAC-3698-46C3-89F6-D40A9BAEEA3C} failed due to the following error: 800702e4 The requested operation requires elevation. (Exception from HRESULT: 0x800702E4).
Stack Trace: at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
at System.Activator.CreateInstance(Type type, Boolean nonPublic)
at System.Activator.CreateInstance(Type type)
at ASCOM.DriverAccess.MemberFactory..ctor(String progId, TraceLogger ascomDriverTraceLogger) in C:\ASCOM Build\Export\ASCOM.DriverAccess\MemberFactory.cs:line 55
at ASCOM.DriverAccess.AscomDriver..ctor(String deviceProgId) in C:\ASCOM Build\Export\ASCOM.DriverAccess\AscomDriver.cs:line 48
at ASCOM.DriverAccess.Telescope..ctor(String telescopeId) in C:\ASCOM Build\Export\ASCOM.DriverAccess\Telescope.cs:line 36
at SharpCap.MountProxy.ASCOM.MountWrapper..ctor(String deviceName, String progId) in C:\Documents\Source Code\SharpCap\src\SharpCap.MountProxy.ASCOM\MountWrapper.cs:line 31
at SharpCap.MountProxy.ASCOM.MountFactory.OpenDevice(String deviceName) in C:\Documents\Source Code\SharpCap\src\SharpCap.MountProxy.ASCOM\MountFactory.cs:line 30
at SharpCap.Models.Mount.CreateProxy() in C:\Documents\Source Code\SharpCap\src\SharpCap\Models\Mount.cs:line 168
at SharpCap.Models.Mount.set_Connected(Boolean value) in C:\Documents\Source Code\SharpCap\src\SharpCap\Models\Mount.cs:line 122
at SharpCap.ViewModels.MountViewModel.<>c__DisplayClass63_0.<set_Connected>b__0() in C:\Documents\Source Code\SharpCap\src\SharpCap\ViewModels\MountViewModel.cs:line 433
at SharpCap.ViewModels.MountViewModel.DoWithErrorHandling(Action action, Boolean connectionCheck) in C:\Documents\Source Code\SharpCap\src\SharpCap\ViewModels\MountViewModel.cs:line 312

User avatar
admin
Site Admin
Posts: 2078
Joined: Sat Feb 11, 2017 3:52 pm
Location: Vale of the White Horse, UK
Contact:

Re: SharpCap Version 3.2.5696.0 crashes on EQMOD connection

Post by admin » Sat Aug 18, 2018 4:04 pm

Hi,

for some reason it looks like your EQMOD configuration is expecting things to run 'As Admnistrator' to connect to it - I'm getting that from this entry in the log:

Code: Select all

Error: 00:09:40.4072981 Thread:#1 SharpCap.Base.Utilities.Logger.Error(Exception e, String action, String additionalInfo, Boolean stackTrace) :: Exception of type COMException from An error occurred while trying to send a command to your EQMOD_SIM HEQ5/6 Mount. : Retrieving the COM class factory for component with CLSID {10619DAC-3698-46C3-89F6-D40A9BAEEA3C} failed due to the following error: 800702e4 The requested operation requires elevation. (Exception from HRESULT: 0x800702E4). 
Quite how EQMOD gets into that sort of state I can't imagine, but I think if you run SharpCap 'As Administrator' and then try to connect it should be fine.

cheers,

Robin

Necrosis
Posts: 6
Joined: Sat Feb 10, 2018 12:09 pm

Re: SharpCap Version 3.2.5696.0 crashes on EQMOD connection

Post by Necrosis » Sun Aug 19, 2018 12:39 pm

Hi Robin,

Thanks for the brilliant diagnosis of the log!
Setting Sharpcap to run as Admin, did in fact resolve the crash - I had missed that one! :roll:

Thanks again {:o)

User avatar
admin
Site Admin
Posts: 2078
Joined: Sat Feb 11, 2017 3:52 pm
Location: Vale of the White Horse, UK
Contact:

Re: SharpCap Version 3.2.5696.0 crashes on EQMOD connection

Post by admin » Sun Aug 19, 2018 1:45 pm

Hi,

glad the suggestion worked :)

Thinking about it a bit more, I suspect that the first program that you run that uses EQMOD (perhaps a piece of planetarium software or similar) is being 'run as administrator' which means EQMOD ends up being run as admin too, which then means SharpCap needs to be too.

cheers,

Robin

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 1 guest