Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

The SourceSafe database path Admin does not exist. Please select another database.

246 views
Skip to first unread message

Joseph Geretz

unread,
Oct 23, 2002, 3:02:20 AM10/23/02
to
The SourceSafe database path Admin does not exist. Please select another
database.

But it does exist!

\\Dimension2\Dimension2\Data\VSS\users\admin (I copied this string from my
explorer window.)

and that's exactly where the users.txt file in the VSS folder is pointing
to. I know the VSS repository is set up properly because I can access it
through the VSS explorer. I know my code works properly because I can access
a local VSS repository. For some reason though, I cannot programmatically
open a repository which is on a network share whether the share is accessed
using \\...\ notation, or whether I map this to a logical drive assignment.
It makes no difference. The following statement always fails:

DB.Open(IniFile, UID, PWD);

IniFile="\\Dimension2\Dimension2\Data\VSS\srcsafe.ini"
or
IniFile="V:\srcsafe.ini"

and the UID and PWD are correct. And just to reiterate, I am able to open
this repository via VSS Explorer itself. So why can't I open it
programmatically?

Thanks for any help you can offer.

- Joe Geretz -


Joseph Geretz

unread,
Oct 23, 2002, 4:44:19 PM10/23/02
to
Can no one offer a solution to this? I see that Ryan is experiencing a very
similar problem. (Presented below titled 'Invalid DOS Path' in
microsoft.public.vstudio.sourcesafe.)

Thanks for your help

- Joe Geretz -

"Joseph Geretz" <jge...@nospam.com> wrote in message
news:#BRT2HmeCHA.1596@tkmsftngp10...

Joseph Geretz

unread,
Oct 23, 2002, 6:02:21 PM10/23/02
to
Problem solved! It is a question of security.

The code in question is running from an IIS/ASP.NET web site. I adjusted the
site security to use Windows authentication and to use impersonation. Thus
when running the process through the browser (locally), I am using the same
credentials as I use when I open the VSS Explorer. At this setting the code
works!

So I need to ask around a bit on some of the security groups about how
exactly to set this up. Where the VSS database is on onse server, and the
code accessing it runs in an ASP.NET process on another server.

- Joe Geretz -

"Joseph Geretz" <jge...@nospam.com> wrote in message
news:#BRT2HmeCHA.1596@tkmsftngp10...

0 new messages