Getting Login Prompt when using SCC Integration client
Moderator: SourceGear
Getting Login Prompt when using SCC Integration client
Hey All,
I wrote a VB6 app which uses a library that calls the source control integration API (which goes to Vault). I really need this to be run without user intervention, but I keep getting a pop-up asking for the password for the vault server.
I've tried creating a profile and setting it to log in automatically, but this has no effect.
I've included the version debug info from the client, thanks for any ideas!
Client Information
Vault Client Version: 3.0.6.2856
.Net Framework Version: 1.1.4322.2032
Operating System: Microsoft Windows XP Professional
Service Pack: 2.0
OS Version: 5.1.2600
Total Physical Memory: 1023.36 MB
Time Zone: (GMT-05:00) Eastern Time (US & Canada)
Server Information
Vault Server Version: 3.0.6.2856
.Net Framework Version: 1.1.4322.2032
Operating System: Microsoft(R) Windows(R) Server 2003, Standard Edition
Service Pack: 0.0
OS Version: 5.2.3790
Timezone: (GMT-05:00) Eastern Time (US & Canada)
SQL Version: Microsoft SQL Server 2000 - 8.00.760 (Intel X86)
Dec 17 2002 14:22:05
Copyright (c) 1988-2003 Microsoft Corporation
Developer Edition on Windows NT 5.2 (Build 3790: )
I wrote a VB6 app which uses a library that calls the source control integration API (which goes to Vault). I really need this to be run without user intervention, but I keep getting a pop-up asking for the password for the vault server.
I've tried creating a profile and setting it to log in automatically, but this has no effect.
I've included the version debug info from the client, thanks for any ideas!
Client Information
Vault Client Version: 3.0.6.2856
.Net Framework Version: 1.1.4322.2032
Operating System: Microsoft Windows XP Professional
Service Pack: 2.0
OS Version: 5.1.2600
Total Physical Memory: 1023.36 MB
Time Zone: (GMT-05:00) Eastern Time (US & Canada)
Server Information
Vault Server Version: 3.0.6.2856
.Net Framework Version: 1.1.4322.2032
Operating System: Microsoft(R) Windows(R) Server 2003, Standard Edition
Service Pack: 0.0
OS Version: 5.2.3790
Timezone: (GMT-05:00) Eastern Time (US & Canada)
SQL Version: Microsoft SQL Server 2000 - 8.00.760 (Intel X86)
Dec 17 2002 14:22:05
Copyright (c) 1988-2003 Microsoft Corporation
Developer Edition on Windows NT 5.2 (Build 3790: )
It's being opened by a 3rd party application. It's called Enterprise Architect, a CASE tool. Their automation API supports the MSSCC interface (I got that from their support).
When their code tries to access Vault, I get the 'Connect to Server' Dialog. I do have a profile set up there, but the checkbox to Automatically Connect is disabled, and unchecked. If I could check this box, I should solve my problem of the process being interruputed by the UI.
So either I need to enable this checkbox, or find out where the settings are kept for my profile and do it behind the scenes.
What do you reccomend?
When their code tries to access Vault, I get the 'Connect to Server' Dialog. I do have a profile set up there, but the checkbox to Automatically Connect is disabled, and unchecked. If I could check this box, I should solve my problem of the process being interruputed by the UI.
So either I need to enable this checkbox, or find out where the settings are kept for my profile and do it behind the scenes.
What do you reccomend?
If you pass in a profile name using MSSCCI, and the profile has a password and connects properly, the login dialog should not come up. It may be that Enterprise Architect is not passing the profile. You can turn on IDE logging and see whether the profile name you've specified gets passed in and go from there.
See http://support.sourcegear.com/viewtopic.php?t=2898 for how to set up IDE logging.
See http://support.sourcegear.com/viewtopic.php?t=2898 for how to set up IDE logging.
The MSSCCI interface is setup to only login automatically if a profile is sent in by the IDE, so it doesn't look like there is much we can do. The GUI client looks at a registry setting for the profile to autologin with, but we can't do that for the IDE, because once a project is bound to source control, we have to use the settings passed into us.
I'll add a feature request to allow a user to auto login from the IDE, even if a profile is not used.
I'll add a feature request to allow a user to auto login from the IDE, even if a profile is not used.
The integration between Vault and EA is still lacking
This may not be a Vault issue, but it would seem that there are issues with Enterprise Architect and Vault, lots of SCC_E_UNKNOWNPROJECT errors, which do not occur when using Visual SourceSafe...I wonder if this is related to the IDE not passing the profile automatically like VSS does. Any ideas?