gitsql / SQL-Server-Edition

SQL Server Edition
8 stars 2 forks source link

Exception (without UI) when running program #37

Open johnpauljones77 opened 2 years ago

johnpauljones77 commented 2 years ago

When I run gitSQL nothing happens. No UI is every displayed.

Looking in Windows Event Viewer I can see a .NET Runtime error has been logged:

Application: gitSQL.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.NullReferenceException
   at gitSQL.frmMain.queryServer(Boolean)
   at gitSQL.frmMain..ctor(Boolean)
   at gitSQL.Program.Main(System.String[])

Exception Info: System.Reflection.TargetInvocationException
   at System.RuntimeMethodHandle.InvokeMethod(System.Object, System.Object[], System.Signature, Boolean)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(System.Object, System.Object[], System.Object[])
   at System.Reflection.RuntimeMethodInfo.Invoke(System.Object, System.Reflection.BindingFlags, System.Reflection.Binder, System.Object[], System.Globalization.CultureInfo)
   at System.Reflection.MethodBase.Invoke(System.Object, System.Object[])
   at <Module>.Main(System.String[])

There is also an Application Error with the same timestamp as the above error:

Faulting application name: gitSQL.exe, version: 1.4.7.0, time stamp: 0x6206adda
Faulting module name: KERNELBASE.dll, version: 10.0.19041.1826, time stamp: 0x299341e8
Exception code: 0xe0434352
Fault offset: 0x0000000000034fd9
Faulting process id: 0x1b08
Faulting application start time: 0x01d89b6d03c7c44f
Faulting application path: C:\Program Files (x86)\gitSQL\gitSQL.exe
Faulting module path: C:\WINDOWS\System32\KERNELBASE.dll
Report Id: c048ce13-86bd-48fd-9e45-d3736023c831
Faulting package full name: 
Faulting package-relative application ID: 

I'm using Windows 10 Pro (21H2 / 19044.1826) with Microsoft SQL Server 2019 Developer (64-bit) installed.

johnpauljones77 commented 2 years ago

Any thoughts on this @mariascott or @jamesjburton ?

I'm keen to use gitSQL

mariascott commented 2 years ago

@johnpauljones77 have you tried launching gitSQL as an administrator?

The elevated permissions may let you in. Let us know.

johnpauljones77 commented 1 year ago

@johnpauljones77 have you tried launching gitSQL as an administrator?

The elevated permissions may let you in. Let us know.

Sadly, it didn't make any difference. No UI is ever displayed.