Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VSS: Running v5 and v6 on same client machine
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Source Safe Control
Divers
Thread ID:
00494836
Message ID:
00505397
Vues:
22
Dave,

>Installed VSS 6.0 client on my machine overwriting the VSS 5.0 client. This made (obviously) VSS 6.0 the default.

OK...

>My 6.0 VSS database is called VSSWebSrc located on server B (No VFP projects)
>My 5.0 VSS database is called VSSSrc located on server A (All VFP projects)

Got it...

>Problem: When I go into VFP and Modi Proj xx (or any of the other 5 projects contained in the VSS 5.0 database) which originally pointed to VSSSrc, the project gives me the SCC API error "Project Created" occurred. The project will be opened without source control. Behind the scenes VFP tried to look for the xx proj in the VSSWEBSrc (6.0) database (not the 5.0) and added an empty VSS project xx to VSSWEBSrc.

You have to go into VSS Explorer and under File choose "Open Database..." and select the 5.0 database. While on the database selection screen, make sure the checkbox at the bottom of the dialog (something to the effect of "Use this database the next time VSS is run") is checked. Then close VSS. Now, when you fire up a VFP project from that 5.0 database, it should come up. As far as I know, VFP doesn't really save the VSS path with its project, it simply makes some calls to the VSS DLLS when a project opens and it tries to attach to the current VSS database and sync up. When it cannot find the right paths etc when it is in a wrong database, it gives up and opens without source control. Once you point back to the right database from VSS, VFP will begin to see that database as well. I don't know of a way to make more than one database current or to have VFP choose...it can only be done from the VSS client.

>I thought that I was going to be given a prompt to select the database to work with after loading the VSS 6.0 client and then I could pick the VSS 5.0 database.

You only get a prompt when attaching to a new project, etc. For simply opening an existing project, you do not get prompted, and I am not aware of a way to make it do so. VFP simply looks for the last open VSS database and tries to hook in.

>Need: Without converting the VSS 5.0 database to 6.0, how do I reset the default for each of the VFP projects contained in the VSS 5.0 database to look there or worst case prompt each time the project is opened?

As I said, once you point your VSS Explorer to the old database, _all_ the VFP stuff will open with no trouble. The problem will be for any folks who bop between VSS databases, as they will have to be sure to always set back to the 5.0 VSS database whenever they wish to open a VFP project...

Hope this helps, let me know how things go....

JoeK
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform