Solved

Visual SourceSafe & Access

Posted on 2004-09-14
5
695 Views
Last Modified: 2008-01-09
We're trying to install Visual SourceSafe on our network so that two people can work in the same database. We run the install, set up two users with the admin program, then install two client versions like it shows.

Once we do that we go into the target database and add it to the Visual SourceSafe  project, which works fine. But when we open Access on one of the client machines and 'Create Database From Visual SourceSafe Project' and get that database we hit a snag.

We check out an item, make changes to it, and check it back in. Then when we log into the target DB we get this message: Another user (Admin) has placed this database under source code control and is the only person who should work with it. Source code control features will be disabled.'

And none of the changes we made appear in the target DB. HELP PLEASE!
0
Comment
Question by:davidsanderson
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
5 Comments
 
LVL 66

Accepted Solution

by:
Jim Horn earned 50 total points
ID: 12059217
Beginning in Access XP you can use Visual Source Safe to check in/out files, and in theory it seems like a great idea, but during a project last year we had huge problems with this, and ended up removing the Access database from VSS:

(1)  If you check out a form, it checks out all queries, subforms, etc. that are bound to that form, and this can take > 5 minues depending on file size.
(2)  When more than person is doing work, (1) above can cast a pretty wide net, which means that you're going to have conflicts like what you describe.
(3)  Over the course of a month the access app w/VSS crashed twice and had to be rebuilt.
(4)  You can't do a historical comparison between versions like you can with other file types.

Looking back, if I was in the same situation, I'd appoint someone to babysit the app, and avoid VSS altogether.   I love VSS for VB and ASP, but not for Access.

Hope this helps.
-Jim
0
 
LVL 39

Expert Comment

by:stevbe
ID: 12060234
MS goofed (IMO) when they made mdb files 1 blob, VSS use to be great but no longer. You may consider using SaveAsText and LoadFromText function to be able to pull individual pieces in and out but it will take a great deal of diligence to get it right.

Steve
0
 
LVL 66

Expert Comment

by:Jim Horn
ID: 12166806
Looks like you have the help you were looking for.  Please award points and close the question.  Thanks in advance.  -Jim
0
 

Author Comment

by:davidsanderson
ID: 12174822
Thank jimhorn but we got it to work finally. First create the "master" mdb, then create the client mdb's that link to the project. The weird bug is that if you're not careful, if you're placing the master mdb and the client mdb on the same computer, it will default to overwrite the master mdb project. It all seems to be working now ok for the time being. Also, the person that creates the project is the admin user and he is the only one that can check in the latest versions of all the objects, it doesn't seem like there's a way to make another use admin. Still, this sure beats trying to keep track of which objects each developer has modified and importing it into the master.
0
 
LVL 66

Expert Comment

by:Jim Horn
ID: 12180404
Okay.  Keep me posted offline at jim at jimhorn dot biz how it goes.  Sucks about only the creator being allowed to check in/out objects. Thanks.  -Jim
0

Featured Post

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Describes a method of obtaining an object variable to an already running instance of Microsoft Access so that it can be controlled via automation.
Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
In Microsoft Access, learn different ways of passing a string value within a string argument. Also learn what a “Type Mis-match” error is about.
In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…

696 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question