Visual Basic 6.0 crashes on accessing Vault within VB 6

If you are having a problem using Vault, post a message here.

Moderator: SourceGear

Post Reply
nvanesch
Posts: 2
Joined: Mon Mar 17, 2008 5:28 am
Contact:

Visual Basic 6.0 crashes on accessing Vault within VB 6

Post by nvanesch » Mon Mar 17, 2008 5:36 am

Visual Basic 6.0 SP5 or SP6 and Vault Client 4.0.6 (15954) run fine separately. (installed SP6 in case my problem was caused by VB)

Within Visual Basic 6.0 run sourcegear vault... works fine

when attempting to request advanced within the options dialog or "Create Project from SourceGear Vault" VB 6.0 crashes

AppName: vb6.exe AppVer: 6.9.97.82 ModName: vaultide.dll
ModVer: 4.0.6.15954 Offset: 00006a0a

Exception Information
Code: 0xc0000005 Flags: 0x00000000
Record: 0x00000000..0 Address: 0x00000000031a6a0a

It was working last week but not sure what has changed to this week to cause this crash. Any help appreciated.

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Post by lbauer » Mon Mar 17, 2008 7:31 am

First, make sure VB 6 loads the .NET Framework 2.0.

Make a copy of the VaultGUIClient.exe.config (in the Vault GUI Client directory) and rename it "VB6.exe.config."

Copy the VB6.exe.config into the same directory as VB6.exe and enter runtime information so that the first part of the file looks like this:

Code:
<?xml version="1.0"?>
<configuration>
<startup>
<supportedRuntime version="v2.0.50727"/>
<requiredRuntime version="v2.0.50727" safemode="true"/>
</startup>
</configuration>
Linda Bauer
SourceGear
Technical Support Manager

nvanesch
Posts: 2
Joined: Mon Mar 17, 2008 5:28 am
Contact:

Post by nvanesch » Tue Mar 18, 2008 2:07 am

Hi Linda

that worked a charm

Thank-you very much :)

Nick

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Post by Beth » Wed Mar 26, 2008 4:13 pm

Thanks for the follow-up.

Post Reply