Getting Login Prompt when using SCC Integration client

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

Moderator: SourceGear

Post Reply
mpolo
Posts: 4
Joined: Thu May 12, 2005 8:09 am

Getting Login Prompt when using SCC Integration client

Post by mpolo » Thu May 12, 2005 8:23 am

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: )

dan
Posts: 2448
Joined: Wed Dec 17, 2003 5:03 pm
Location: SourceGear
Contact:

Post by dan » Thu May 12, 2005 9:42 am

Are you using a MSSCCI interface, or using the Vault API directly?

Vault will only automatically connect if you pass in the profile name - even then it might work differently with 3rd party apps, so we'd need more details on how you are connecting.

mpolo
Posts: 4
Joined: Thu May 12, 2005 8:09 am

Post by mpolo » Fri May 13, 2005 6:51 am

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?

dan
Posts: 2448
Joined: Wed Dec 17, 2003 5:03 pm
Location: SourceGear
Contact:

Post by dan » Fri May 13, 2005 11:14 am

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.

mpolo
Posts: 4
Joined: Thu May 12, 2005 8:09 am

Post by mpolo » Fri May 13, 2005 11:18 am

I should have been more clear... EA does not have the ability to send a profile to the SCC interface.

Is there a way to have a default profile set up globally, so that account would be used automatically? (Like I mentioned before)

Thanks!

dan
Posts: 2448
Joined: Wed Dec 17, 2003 5:03 pm
Location: SourceGear
Contact:

Post by dan » Fri May 13, 2005 11:53 am

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.

MikeR

The integration between Vault and EA is still lacking

Post by MikeR » Tue Aug 30, 2005 3:12 pm

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?

mpolo
Posts: 4
Joined: Thu May 12, 2005 8:09 am

Post by mpolo » Tue Aug 30, 2005 3:21 pm

My latest version of EA (5.0 build 769) is working well with Vault... so far. the last build had a bad habit of removing all packages from the version configurations, very annoying.

When are you getting the unknown project errors? When setting up the configurations?

Post Reply