Team System Developer Center > Visual Studio Team System Forums > Team Foundation Server - General > Visual studio builds, or TFS gets, making files writable, after domain change
Ask a questionAsk a question
 

QuestionVisual studio builds, or TFS gets, making files writable, after domain change

  • Wednesday, October 28, 2009 3:42 PMDerrick1298 Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    We recently underwent a domain change where our developer machines are on domain xyz, but our TFS server is still on domain abc. 

    Our developers, via control panel > user accounts > advanced tab > manage passwords, have added their previous abc domain user names\pwds so that they do not have to login to the tfs server on every start of studio.

    However, we are getting numerous reports of studio (via the ui, or devenv cmd line builds, I am not 100% sure of the cause) making files writable. 

    I myself have a laptop and go offline every day.  This was working great prior to the domain change, when I went back "online" with my project, studio and tfs were very good about identifying files and changed and checking them out.  After the domain change, when I go back "online", studio is now telling me every single file in the solution was modified, which is not the case at all.

    I have tried:

    1) completely deleting the project working directory, and the workspace, and setting it all up again
    2) devenv with the "/reseteverything" sort of switch

    Still no dice.

    Any suggestions would be greatly appreciated,

    Derrick

All Replies

  • Thursday, October 29, 2009 3:43 AMHongye SunMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hi Derrick,

    I was unable to reproduce the issue. So I suspect this should be an environmental issue.

    In order to narrow down this issue, I'd like you to do the following test:

    1. Can you create a new local user to repro this issue?
    2. If you join back to Domain abc, are you able to repro this issue?
    3. Are you able to repro this issue in another machine?

    Are you sure what operation can cause the issue?
    In my repro attempt, I performed following steps:
    1. Disconnect computer from network
    2. Open souce controlled project and go offline
    3. Change certain file and build
    4. Connect computer to network
    5. Go online in Team Explorer

    If you have performed any additional operations, please let me know.

     

    Hongye Sun [MSFT]
    MSDN Subscriber Support in Forum
    If you have any feedback on our support, please contact msdnmg @ microsoft.com


    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
  • Thursday, October 29, 2009 6:30 PMDerrick1298 Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Hi Hongye,

    Unfortunately, I cannot create new local users or do anything with the domain, so I can't try 1 or 2.  However, re:#3, yes, nearly all our 20 or so developers are reporting this problem.

    All we have to do to reproduce the writable issue is:
    1) do a command line, or studio UI, TFS get
    2) open a solution and build
    3) try a get again, there are a number of writable files, version info, as well as other core code files.

    Regarding the offline problems, yes, I basically am following your steps 1-5 and am seeing TFS tell me every single file in my solution has changed when going back online.

    Thanks again for the help, and in advance for any ideas.

    Derrick