Vault Locking
Moderator: SourceGear
Vault Locking
We are using your vault product. In vb6 when we say commit project to vault the vault login screen comes up but the screen is locked and the only field we can type in as the username field. It sets focus to that screen only and that field only and then we can do nothing unless we ctrl alt del. Please help.
Jim
Jim
Jim Webster
This is a known issue with VB on Windows 2003 Server and the .NET Framework 1.1. It is a Microsoft bug.
One of our users recently provided us with this information:
A possible work-around -- you might be able to use the tab key to change focus to the Vault "Connect to Server" text boxes and type in them, and also use the tab button to bring the OK button into focus. With the OK button in focus, hit "Return" to log in from VB 6.
One of our users recently provided us with this information:
We haven't tested this in house.Microsoft has confirmed that this is a bug. It is related to a fix that they included in a build of .NET 1.1 post SP1 which happened to be deployed on Windows 2003. This fix resolved an issue with using Form.Show() through COM interop, but also caused this problem with Form.ShowDialog(). This is why it only happens on Windows 2003.
Interestingly enough, this fix was missed in .NET 2.0, so the Form.Show() bug remains but Form.ShowDialog() works as expected. So, by installing the .NET 2.0 redistributable on the Windows 2003 and using the VB6.exe.config file to force the newer framework to be loaded the dialog will work as expected.
1. Install the .NET 2.0 redistributable on the Windows Server 2003 machine.
2. Create a file called VB6.exe.config in the same directory as VB6.exe and enter the following:
Code:
<?xml version="1.0"?>
<configuration>
<startup>
<supportedRuntime version="v2.0.50727"/>
<requiredRuntime version="v2.0.50727" safemode="true"/>
</startup>
</configuration>
A possible work-around -- you might be able to use the tab key to change focus to the Vault "Connect to Server" text boxes and type in them, and also use the tab button to bring the OK button into focus. With the OK button in focus, hit "Return" to log in from VB 6.
Linda Bauer
SourceGear
Technical Support Manager
SourceGear
Technical Support Manager