none
Access to the path 'C:\Users\UserName\AppData\Local\TFSTemp4348{#$@;._}3352' is denied.

    Question

  • Greetings:

     

    I am getting the following error from Visual Studio Team System when I do a "Get Specific Version", force get checkbox selected:

     

    "C:\SourceCode\DiscountStoreRoom.com\Website\App_Themes\Basic\main.css: Access to the path 'C:\Users\UserName\AppData\Local\TFSTemp4348{#$@;._}3352' is denied.


    Here are the exact steps:

    1. Open the VS Solution
    2. Right click on the solution and select "Get Specific Version"
    3. Set the type dop-down to "Latest Version"
    4. "Force get of file versions already in workspace" checkbox is checked

    In reading similiar posts I have done the following (and tested again with no success):

    1. Added NETWORK SERVICE with full permissions to the
      C:\Users\UserName\AppData\Local\Temp and
      C:\Users\UserName\AppData\Local\TFSTemp folders.
    2. Added ASP.NET Machine Account with full permissions to the
      C:\Users\UserName\AppData\Local\Temp
      and C:\Users\UserName\AppData\Local\TFSTemp folders.

    Other observations:
    It is never the same file or folder, just random.


    My concern is that the correct file or files will not pulled for builds
    and we all know that could result in a ton of hours wasted chasing down
    phantom bugs (ones that were fixed in the past of course...really...).

     

    Any help  would be greatly appreciated.


    With gratitude,

     

    Jim

    http://www.DiscountStoreRoom.com

     

    Monday, September 24, 2007 7:17 PM

Answers

  • Jim

    If you are having issue while doing Get from VS IDE itself, it is more of TFS Source Control issue. Giving permissions to Network Service account (that is build service account) wouldn't help here.

     

    Is it possible by any chance that files in folder C:\Users\UserName\AppData\Local  are mapped into your workspace where you really don't have access to it.

     

    If you continue seeing issue with Get, I would suggest posting the issue in TFS Source Control forum.

     

    Thanks,

    Bhavik

    Thursday, September 27, 2007 9:48 PM