HeidiSQL Won't Launch on Windows 11 64 bit

dexotron's profile image dexotron posted 9 months ago in General Permalink

I have a problem launching heidisql on windows 11 64 bit The problem is When i press heidisql It doesnt do anything even though i run as administrator i checked almost every posts i dont know what to do.

And i dont want to install other versions of windows or use virtual machines... I just want to launch it on my main

ansgar's profile image ansgar posted 9 months ago Permalink

Give HeidiSQL one or two minutes to show. There are some rare cases with auto-saved tab files loading very slow.

dexotron's profile image dexotron posted 9 months ago Permalink

It did not worked...

dexotron's profile image dexotron posted 9 months ago Permalink

Even though i restarted many times

ansgar's profile image ansgar posted 9 months ago Permalink

Do not restart, just wait some minutes, really.

And watch the heidisql.exe process in your taskmanager.

manishdev's profile image manishdev posted 8 months ago Permalink

I have a problem launching heidisql on windows 11 64 bit The problem is When i press heidisql It doesnt do anything even though i run as administrator i checked almost every posts i dont know what to do.

And i dont want to install other versions of windows or use virtual machines... I just want to launch it on my main

I have this same problem on Windows 10 - 64

Heidi SQL has never resolved the issue in over a year, it seems to be a problem with the 640bit edition. Unfortunately they don't allow users to force the 32-bit version to load and do not reply to posts requesting a fix for this larger issue.

The only work around I have found is to use the Portable 32-bit version, since that will let us run it without the buggy and non-loading 64-bit version

ansgar's profile image ansgar posted 8 months ago Permalink

@manishdev, believe me I spent quite some time in finding causes for that. The reproduction recipes were mostly not usable, or did not result in a long waiting time.

However, one cause is the feature for auto-loading tab contents at application start, as some backup files seem to take very long to load, for some reason. I modified HeidiSQL to show a warning about such files in commit:1d1d1a493892eba9152a868bc303a11c1826af74 . So the user may close the tab and restore it manually, and the slow loading is fixed at the next start.

If you have any more details, feel free to post them. But don't tell me I am not responding to posts.

manishdev's profile image manishdev posted 8 months ago Permalink

@ansgar Thank you for your reply. Apologies for saying that you do not reply to posts, it was not my intention to single you out. In trying to find out how to resolve this issue over the past year, I have seen a few posts on it what haven't received replies.

As far as details, I tried a clean install of the 32/64 combined installer and then tried starting up the application, waited over 10 minutes and still nothing. I have tried this with each new release and still have the same issue. I did not see any error messages either

I tried the 64 bit portable release and same issue

It is when I tried the 32-bit portable release and I finally had a version where the application loaded

If there are any additional logs or details I can provide, let me know and I will do my best to provide them

ansgar's profile image ansgar posted 8 months ago Permalink

First thing is you could ensure you have the very latest build. This ensures my above mentioned mechanism for slow loading query files will work. If that's the case for your files, HeidiSQL will show some warning after finally showing the main window. I saw this in one or two occasions where a file took one minute to load. You can disable the auto-load tab feature in your registry:

  • start regedit.exe
  • go to HKEY_CURRENT_USER\Software\HeidiSQL\
  • set RestoreTabs to decimal 0
  • start heidisql.exe to see if it's faster loading

Quite a few others reported they just not saw the main window as it was running on a screen which was plugged off before. If you're having a multi-monitor setup, you can try to reset the main window's position like described in this post.

manishdev's profile image manishdev posted 8 months ago Permalink

Performed a clean install of HeidiSQL 12.5.0.6677 and checked the registry entry you specified, but "RestoreTabs" did not exist, so I created it. I then attempted to start HeidiSQL.exe from the installation directory and nothing.

Watching Task Manager, HeidiSQL 12.5.0.6677 appears there for a moment, then disappears. So it looks like the application is crashing without a public error.

Looking in the Windows Application Logs, I see the following error:

Faulting application name: heidisql.exe, version: 12.5.0.6677, time stamp: 0x64591f97
Faulting module name: unknown, version: 0.0.0.0, time stamp: 0x00000000
Exception code: 0xc000041d
Fault offset: 0x0000000027240987
Faulting process id: 0x6fdc
Faulting application start time: 0x01d9db910f5dcad7
Faulting application path: C:\Program Files\HeidiSQL\heidisql.exe
Faulting module path: unknown
Report Id: 4ddc7de1-5d14-4259-a466-068567886bab
Faulting package full name: 
Faulting package-relative application ID: 
-------------------------------------------------------------
Next is an Informational Message:
Fault bucket 1212077149234572347, type 4
Event Name: APPCRASH
Response: Not available
Cab Id: 0

Problem signature:
P1: heidisql.exe
P2: 12.5.0.6677
P3: 64591f97
P4: StackHash_1399
P5: 0.0.0.0
P6: 00000000
P7: c000041d
P8: PCH_4A_FROM_unknown+0x0000000000000000
P9: 
P10: 

Attached files:
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER9C51.tmp.dmp
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER9CEE.tmp.WERInternalMetadata.xml
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER9D0F.tmp.xml
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER9D0F.tmp.csv
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER9D6D.tmp.txt

These files may be available here:
\\?\C:\ProgramData\Microsoft\Windows\WER\ReportArchive\AppCrash_heidisql.exe_b755197091ba7681ff88c0ca45a2b0a83470112_e844034f_f9b537d3-0c52-4607-8f89-a7d4df0d730f

Analysis symbol: 
Rechecking for solution: 0
Report Id: 4ddc7de1-5d14-4259-a466-068567886bab
Report Status: 268435456
Hashed bucket: 410cf38a6cff495880d229bed07eac3b
Cab Guid: 0
ansgar's profile image ansgar posted 8 months ago Permalink

That crash details say nothing to me.

Did you remove or rename the "HeidiSQL" registry key before re-installing? An uninstall does not do this, so this is still something you can try.

Is there any "very special" software running on your system, or is the Windows version probably not a "normal" one?

manishdev's profile image manishdev posted 8 months ago Permalink

Yes, I deleted all registry and folders after I ran the uninstaller.

Any examples of "very special" software? I have other SQL tools like MS SQL Management Studio and MySQL Workbench

ansgar's profile image ansgar posted 8 months ago Permalink

No I did not mean other SQL clients. I am thinking more of system tools, altering the operating system in some way. I recall reports from users which use a system-wide tool for registering keyboard shortcuts in applications, or some network monitor.

I would recommend to install the latest build, through Help > Check for updates. There are some newer builds, and I migrated the Delphi compiler to the current version after the last v12.5 release.

wettstein512's profile image wettstein512 posted 3 months ago Permalink

I had a similar problem. I was not sure if it has something to with hardlinks of the HeidiSQL profile folder (to sync opent tabs with OneDrive). Change to a local folder did not work.

Setting RestoreTabs in the registry to 0 worked, but I didn't want to loose the settings.

After deleting one entry in the tabs.ini, the application could open. Then I restored the tabs.ini and averything worked fine again...

ansgar's profile image ansgar posted 3 months ago Permalink

Yes, restoring tabs sometimes causes a slow startup. I could also reproduce that with one single file, only I was totally left to find a cause, as the file was very normal and very small.

So I decided to tell the user at least what happened. If one or more tabs took longer than 5 seconds to restore their content, you will get such a dialog:

Description

Please login to leave a reply, or register at first.