Vault Pro crashing VB6

If you are having a problem using Vault, post a message here.
Post Reply
nykiwi
Posts: 1
Joined: Wed Aug 28, 2024 7:36 pm

Vault Pro crashing VB6

Post by nykiwi » Sat Aug 31, 2024 8:29 pm

Hello,
I have been using Vault Pro with VB6 for years on a Windows XP Virtual Machine to maintain a legacy system without issue.
As a part of mitigating some dependencies on unsupported software, I have recently built a new (clean) Windows 11 VM and installed VB6.

Unfortunately, after installing Vault Pro on that VM, VB6 did not recognize Vault Pro as a Source Provider. I got around this by changing the registry key for ProviderRegKey at Computer\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\SourceCodeControlProvider to "SOFTWARE\SourceGear\VaultPro Client".

This enabled Vault as the source control for VB6 but when I try to do anything that uses Vault, VB6 crashes to desktop with no GUI errors.

I do see errors in the Event log showing the following.

Faulting application name: VB6.EXE, version: 6.0.97.82, time stamp: 0x403acf6c
Faulting module name: VaultIDE.dll, version: 10.2.0.31222, time stamp: 0x62424336
Exception code: 0xc000041d
Fault offset: 0x00007216
Faulting process id: 0x0x958
Faulting application start time: 0x0x1DAFC140B69A80A
Faulting application path: C:\Program Files (x86)\Microsoft Visual Studio\VB98\VB6.EXE
Faulting module path: C:\Program Files (x86)\SourceGear\VaultPro Client\IDE_Clients\VaultIDE.dll
Report Id: cc52c126-7911-4663-80a8-b071828e8a10
Faulting package full name:
Faulting package-relative application ID:

I have also tried adding a key for the full path to VB6.exe to Computer\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\SourceGear\VaultPro Client\CLRVersions with values of both v4.0.31319 and v2.0.50727 but this did not help.

Lastly, I tried making a copy of ValutGUIClient.exe.config and renaming it to VB6.exe.config and putting it in the same directory as VB6.exe and making changes to force safe mode for .NET and also enabling logging. This also did not help - and no log files were generated.

At this point I am at a loss as to what to try next. Any help would be greatly appreciated.

Thanks,
Dave

Tonya
Posts: 904
Joined: Thu Jan 20, 2005 1:47 pm
Location: SourceGear

Re: Vault Pro crashing VB6

Post by Tonya » Tue Sep 10, 2024 7:24 am

Perhaps the following KB article will be useful:

viewtopic.php?p=75284&hilit=vb6+source+code#p75284

Tonya

Post Reply