Providing of the share-name of the VSS database at he server and client side
By configuring of the interne access for VSS, it is necessary to provide the share of the VSS database.
I do not understand why is this necessary? Even more, by connecting of the client to the VSS over internet the client has to also provide the same share-name. Why the client has to know this at all?
Hi Damir,
A VSS web service installed on a machine can access multiple VSS database available on the same machine. To distinguish between the databases on the server enabled for remote access, the clients have to provide the database location. This also helps with security: to access a VSS database, a client must authenticate with the server and the authenticated user must have access to the database's share.
Alin
Thank you. Now it makes sense.
However, I assume that the location of the VSS-database provided by client is the location from the point of view of the server and not from the point of view of the client.
Is this true?Damir
Correct, you supply the UNC path as if you were accessing the share from the LAN where the server is located (something like
\\myserver\share)
Hay Alin,
But if a company rules state that UNC over the firewall are not allowed only http and/or https, then the VSS webservice functionality is useless. So my questions are:
1. Why is there no configuration option (Web.config) to define the location of the sourcesafe database?
2a. Why not choosen for a one-on-one relation (VSS-WebService)?
or
2b. Why not a option in the webservice to give the eg name, location, id of the VSS database?
3. If you have to provide a UNC path, then why should you use VSS webservice?
With kind regards,
Dennis van Mierlo
> Why is there no configuration option (Web.config) to define the location of the sourcesafe database?
The client specifies the location and the service will try to access it. Only databases enabled for remote access will be accessible (in the server side you'll need nodes created in IIS under SourceSafe node - enabling the service for a database adds these entries)
>2a. Why not choosen for a one-on-one relation (VSS-WebService)?
Because you may have multiple databases on the server you want to make accessible remotely.
>2b. Why not a option in the webservice to give the eg name, location, id of the VSS database?
"location" is the database path, so we have this.
We could have used the friendly database's name, but then what guarantee have the clients they connect to the database they want? (someone can modify on the server to which path the friendly name points to)
"id" is a guid that is not shown anywhere.
> 3. If you have to provide a UNC path, then why should you use VSS webservice?
I think you missunderstood how the service uses the path. The client doesn't have access to that path; the client can only access the service over http. The service will access the UNC share in the server's local network; in most cases the share is a local share on the server itself; we could have used a local file disk (like C:\VssDatabase) but we chose the UNC share of the same database so additional security can be enforced through the share access rights.
Alin
hi Alin,
I facing the "database is not enabled for VSS internet access"
May i know what wrong in my configuration ?
I had follow your guides step 8-12 but I am not sure about the Administrator user in VSS admin needed to put any password for it ?
Ethan,
I have no idea what's wrong in your configuration. In my guide I use Administrator user just as an example, because I was authenticating with the webserver as Windows user Alinc-home\Administrator. Depending on your configuration you may want to use a different Windows user, thus you'll need to add a different VSS user in the VSS database.
I suggest you start a new forum thread describing exactly what is your configuration, what is not working and what you have tried until now.
Alin
I had move the question to a new thread. Please help.
Alin Constantin - MSFT wrote: |
| Ethan, I have no idea what's wrong in your configuration. In my guide I use Administrator user just as an example, because I was authenticating with the webserver as Windows user Alinc-home\Administrator. Depending on your configuration you may want to use a different Windows user, thus you'll need to add a different VSS user in the VSS database. I suggest you start a new forum thread describing exactly what is your configuration, what is not working and what you have tried until now. Alin | |