Sunday, June 1, 2008

Fibrids Back And Foot Pain

VSS Update for Internet via HTTP

Hello

The 2005 version of Visual SourceSafe has the option to access a database from anywhere in the world via HTTP so easy and simple, then I will describe how to configure VSS to share a DB to allow access via Iinternet.

to use the following scenario a server 2003 in which BD is the VSS and we will be an XP machine, both must have the VSS installed. There are 2 ways to configure Internet access from one is using SSL (secure socket layer) and the other without using SSL, the latter is easier to configure but also less secure because the information is transferred as plain text and is therefore susceptible to theft.

For both types of access should be installed, configured and published on IIS on a computer

Let

access without SSL

  • First of all must share the folder in which it was created BD SourceSafe, for this just open a browser windows and folder sharing, you have to take into account the access permissions to that folder via LAN for users who will have access to the database. Suppose that our database is in the folder D: \\ ss \\ mydb
  • Now that we have shared the DB on the LAN administrator open up the VSS (SSAdmin) and open the database but with UNC address \\ \\ mymachine \\ mydb
  • Once we open the database with management the option is enabled UNC Server \\ Settings No, let's go to that opcióny Check to "Enable SourceSafe for this computer" and also "Enable SourceSafe Internet for this database "then place the IP or DNS name of the team's web server, which is supposed to have IIS up and running.
  • VSShttp1
  • Pressing accept elsiguiente receive warning
  • VSShttp2
  • Press NO to continue working without SSL
  • That would be everything you need, now let's try if all is well we test access from the Internet by opening an IE and putting the IP of the site indicated inthe Settings, call the webservice that is automatically configured on our IIS, something similar to the following:
    http://205.150.152.001/SourceSafe/VssService.asmx


  • If all is well see a window asking for a valid user on the server, there must give the name and password of a valid user of the server that has access to the shared folder count is the BD server, you must have read / write permissions. One very important thing to understand here is that if we do not use SSL, the WAS (Web Service) VSS uses impersonation which means that the user provided when the Explorer we requested must have read / write permissions to the folder of the BD and it MUST be created as user in the VSS database, finally you must activate the option & # 243; n "Use network name for the user's Session start automatically" is at Tools / Options / General, this is set up well by default. Well if this is true will fail WAS but one in which we see that actually is responding, we realize that this error is entitled as follows: "Error application server in '/ SourceSafe'. "

Well now that you have everything properly configured on the server, go to the remote machine that seeks access to the database. Well this is the most simple and consists of the following: Open the

  • VS2005, go to Tools / Options / Source Control / Selection of complement and there ; selects Microsoft Visual SourceSafe (internet) and in the following figure
  • VSShttp3
  • Now go to Tools / Options / Source Control / Configuration complement, place the name of the user who has access to the database and the server, then click Advanced and destickee the option to use SSL, as inthe following figure:
  • VSShttp4

Well that's it for configuration, now we only tested for example by opening a solution that we already have in the database. For this there is a procedure "Special" is the comment below: Let us open

  • VS2005 Let
  • Open Project and then set to "SourceSafe (Internet)"
  • 's select "Add SourceSafe database, a wizard that will ask the IP or domain name (in my example http://205.150.152.001 ) and folder shared ( \\ \\ mymachine \\ mydb ), to give the following, if the connection does ask for a username and password on the target machine, the user must provide, if properly authenticate us ask us to give a name to the conexióny ready.
  • Now only select the project you want to open in the BD and ready brazen VS2005 project will start in our project default folder which is set to (tools / options / projects and solutions / general / VS projects location)

I commented that I use this way and it really works well is f & # 225; easy to use and its configuration is not no big deal, just be careful with permissions to the folders in the database and make sure your domain users using the BD est & # 225, n created as users of the BD

Well that's all for now, I hope to guide them up soon!, I describe another access via SSL

salu2 SergioT

0 comments:

Post a Comment