VSS 2005 with Visual Studio 2003, login problem

Dear all,
I followed the steps of configuring VSS2005 over the internet & worked succesffuly over the internet with Visual studio 2003. But in fact my PC acts as both Server that holds the SourceSafe database and Client as am a developer with the rest of my team.

Any way it worked perfectly with the clients that connects to the source safe database on my PC.But the problem is that I can't work in my PC with that project as it requires login to my PC using the IP (xxx.xxx.xxx.xxx) although i write a correct username & password.

So the problem on my pc that acts as server for my team that working with me. Am badly in trouble with that, I appreciate your time time for reading. Please if there are any solution please send me to implement.

Thank you very much for your time

Yours,
Fares Abdo




Answer this question

VSS 2005 with Visual Studio 2003, login problem

  • kevin_i_orourke

    When I use the IE using the following URL:

    http://localhost/SourceSafe/VssService.asmx

    An ASP.NET error:
    Server Error in '/SourceSafe' Application.
    Runtime Error

    but when i use the URL:
    http://196.205.187.235/SourceSafe/VssService.asmx

    where "196.205.187.235" is my IP that my team connect to.
    I got the login message of that IP, & when I enter my account or any of my team account I the following error appeared:

    "You are not authorized to view this page"

    So, am badly in need to solve this problem ASAP. I dont think i have a troubel in VSS configuration, but also i dont know what is the reason for this. Also, please note that when I add the project to SS use "localhost" it's added successfully, but once I have closed the VS.NET and try to open the solution again, the login message appears. Kindly Please help me to solve this problem,
    Thanks for your expected response in advance



  • dogdogkit

    You have some sort of IIS or disk access rights configuration problem. This has nothing to do with VSS at this point. You will get the same problem with any web service running on your computer.

    It is very strange that you get different results from localhost and your IP. Do you have some sort of proxy or a firewall client that makes you go through proxy

    Check the IIS log to see which user you are trying to connect as and which IP address request is comming from. (C:\WINDOWS\system32\Logfiles\W3SVC1\...) You can adjust what is saved into the log file in IIS Manager->Web site properties->Web Site->Enable Logging->Properties->Extended Properties

    Also it is not recomended using Window XP as a VSS Server as it allows only 10 user connections.


  • drdre2005

    I’m not sure if I have clear picture of your configuration.

    You configured internet access to your VSS database on your PC. Did you require SSL

    If you required SSL did you create SSL certificate for your IP (not the computer name)

    Did you turn off anonymous access (In IIS manager) and enable impersonation (in web.config)

    What exactly does not work Are you not able to connect from another computer to your VSS server

    What connection settings are you using (Address and the folder)

    When exactly do you get the error and what exactly the error message


  • Yoni Hemi

    This should work. Make sure you are using correct address to connect to your IIS web site you are running VSS web service on.

    Do you get the same login prompt if you try to navigate to this service with IE

    http://<your computer address>/SourceSafe/VssService.asmx

    Do you have the same problem connecting to any web site on your IIS server

    Can you access this database from your computer using VSS Exporer through the same share VSS Web service is using


  • Thuyen Tran

    Dear Roman Golovin
    Thanks for your reply, I configured it correctly I dont use SSL, the problem is my PC acts as the SourceSafe database server and my team connected to the database perfectly.

    The problem when I (as client) cant connect like other of my team members. I wanna use my PC as client too. So, when i try to do so, the login to my PC appears.

    I set the folders permission correclty as it works for all my team & i gave my account the same permission as their accounts.
    * I disable the anynomuse acces
    * I enable the Integrated windows Authentication
    * I did not make any change in the web.config.

    So, my main problem is that I cant use my PC as a client for the SourceSafe database. but it acts as server perfectly for my team.

    Thanks for your expected response in advance...



  • VSS 2005 with Visual Studio 2003, login problem