I wonder if anyone can help please with what may be a simple problem. I'm trying to use VSS (Visual SourceSafe) with VFP (Visual Foxpro) on my Windows 10 PC with a local VSS database on my D drive, i.e. not on a network drive. I have done this many times the past and it is an excellent way to keep track of changes between versions.
This works fine on a PC at the location of a client who I support, which runs XP. Also, on my own Windows 10 PC, VSS works perfectly from the VSS application, but when I try to access it from VFP I get "database XXX does not exist".
I've tried creating a new database but to no avail. The srcsafe.ini file is in the VSS folder, so I can't understand what might be the problem. Could it be an issue with Windows 10?
Any pointers would be hugely appreciated!
Martin
Is VSS an option in the VFP? Tools - Options - Projects Tab - Source control options - Active source control provider
HTH, Tracy
-----Original Message----- From: ProfoxTech [mailto:profoxtech-bounces@leafe.com] On Behalf Of Martin Rochford Sent: Monday, November 30, 2020 9:55 AM To: profoxtech@leafe.com Subject: SourceSafe from within Foxpro
I wonder if anyone can help please with what may be a simple problem. I'm trying to use VSS (Visual SourceSafe) with VFP (Visual Foxpro) on my Windows 10 PC with a local VSS database on my D drive, i.e. not on a network drive. I have done this many times the past and it is an excellent way to keep track of changes between versions.
This works fine on a PC at the location of a client who I support, which runs XP. Also, on my own Windows 10 PC, VSS works perfectly from the VSS application, but when I try to access it from VFP I get "database XXX does not exist".
I've tried creating a new database but to no avail. The srcsafe.ini file is in the VSS folder, so I can't understand what might be the problem. Could it be an issue with Windows 10?
Any pointers would be hugely appreciated!
Martin
[excessive quoting removed by server]
Hi Martin,
This works fine on a PC at the location of a client who I support, which runs XP. Also, on my own Windows 10 PC, VSS works perfectly from the VSS application, but when I try to access it from VFP I get "database XXX does not exist".
Sometimes Microsoft's VirtualStore makes it look like a file is in a location, but when you access the same location with a different user or with an elevated application, then suddenly it's not there. The easiest way to check is using MODIFY FILE from VFP to see if VFP has actually the same content that you see from VSS. VirtualStore is located at %LOCALAPPDATA%\VirtualStore.
If it turns out that everything is still OK, I would use Process Monitor as my next step to find out which file location VFP is looking at to find the VSS database and what error message Windows reports back. You can download Process Monitor from https://docs.microsoft.com/en-us/sysinternals/downloads/procmon https://docs.microsoft.com/en-us/sysinternals/downloads/procmon.
From SS you can do a file compare as well. Allows you to see what the diff
is between the control and your workstation.
On Fri, Dec 4, 2020 at 12:31 AM Christof Wollenhaupt < christof@wollenhaupt.org> wrote:
Hi Martin,
This works fine on a PC at the location of a client who I support, which runs XP. Also, on my own Windows 10 PC, VSS works perfectly from the VSS application, but when I try to access it from VFP I get "database XXX
does
not exist".
Sometimes Microsoft's VirtualStore makes it look like a file is in a location, but when you access the same location with a different user or with an elevated application, then suddenly it's not there. The easiest way to check is using MODIFY FILE from VFP to see if VFP has actually the same content that you see from VSS. VirtualStore is located at %LOCALAPPDATA%\VirtualStore.
If it turns out that everything is still OK, I would use Process Monitor as my next step to find out which file location VFP is looking at to find the VSS database and what error message Windows reports back. You can download Process Monitor from https://docs.microsoft.com/en-us/sysinternals/downloads/procmon < https://docs.microsoft.com/en-us/sysinternals/downloads/procmon%3E.
-- Christof
--- StripMime Report -- processed MIME parts --- multipart/alternative text/plain (text body -- kept) text/html
[excessive quoting removed by server]