Home » Visual StudioRSS

TFS 2010 Beta2 Error: Exception Message: Access to the path 'C:\Program Files\Microsoft Team Foundat

Trying to set up single server TFS (which happens to be on a PDC) and can check in a project from my desktop but when I try to make changes from my laptop get the following warning, error, error for each file:

WARNING
=======
TF53010: The following error has occurred in a Team Foundation component or extension:
Date (UTC): 12/22/2009 3:51:45 PM
Machine: PAVILION
Application Domain: /LM/W3SVC/8080/ROOT/tfs-1-129059683517559871
Assembly: Microsoft.TeamFoundation.Framework.Server, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a; v2.0.50727
Service Host:
Process Details:
  Process Name: w3wp
  Process Id: 4780
  Thread Id: 2192
  Account name: 150THREERIVERS\geo

Detailed Message: TF15022: Invalid CacheRoot folder.

Web Request Details
    Url: http://pavilion:8080/tfs/_tfs_resources/VersionControl/v1.0/item.ashx?type=rsa&sfid=1027,1030,1044,1046,1045,1047,1048,1049,1050,1051&ts=633971803027107036&s=ozrK/HOcFdNqyLkL8j7eZHKFSmeI4EEZxXzti6YUnXy2HjfEey53JJH3RaSL4BTcq7Eo762xFI2JzZrvxRcU2sw7gOx1Xx49JJLlVI2Sznkcmi2y9EoNvByjX3vSsnBfrR4TMA5jWhY1vLFmVZsXaC7sI7Hrx2d4+bwz295Xios=&fid=1027 [method: GET]
    User Agent: Team Foundation (devenv.exe, 10.0.21006.1)
    Headers: Accept-Language=en-US&Authorization=NTLM+TlRMTVNTUAADAAAAGAAYAIgAAACmAaYBoAAAABwAHABYAAAABgAGAHQAAAAOAA4AegAAABAAEABGAgAANYKI4gYBsB0AAAAPCj%2fVrDWMbxMPI4lqvlzR5DEANQAwAFQASABSAEUARQBSAEkAVgBFAFIAUwBnAGUAbwBEAEUATABMAFUAWABFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAL2EyNJi3AzxdGknOjvF6p0BAQAAAAAAADw%2fXqkeg8oBlY98C9kx2IYAAAAAAgAcADEANQAwAFQASABSAEUARQBSAEkAVgBFAFIAUwABABAAUABBAFYASQBMAEkATwBOAAQAKAAxADUAMABUAGgAcgBlAGUAUgBpAHYAZQByAHMALgBMAG8AYwBhAGwAAwA6AFAAYQB2AGkAbABpAG8AbgAuADEANQAwAFQAaAByAGUAZQBSAGkAdgBlAHIAcwAuAEwAbwBjAGEAbAAFACgAMQA1ADAAVABoAHIAZQBlAFIAaQB2AGUAcgBzAC4ATABvAGMAYQBsAAcACAA8P16pHoPKAQYABAACAAAACAAwADAAAAAAAAAAAQAAAAAgAABPZI182oXc3Bt4f2UqyIhuMTSfJ5SzGAYfoFnrjsfkXwoAEAAAAAAAAAAAAAAAAAAAAAAACQBEAEgAVABUAFAALwBQAGEAdgBpAGwAaQBvAG4ALgAxADUAMABUAGgAcgBlAGUAUgBpAHYAZQByAHMALgBMAG8AYwBhAGwAAAAAAAAAAAAAAAAAf2VlUsx65o57vHSzoywivg%3d%3d&Host=pavilion%3a8080&User-Agent=Team+Foundation+(devenv.exe%2c+10.0.21006.1)&X-TFS-Version=1.0.0.0&X-TFS-Session=2e26fdd1-fe93-43e1-991f-eeef401601dd&TF-Instance=2e26fdd1-fe93-43e1-991f-eeef401601dd
    Path: /tfs/_tfs_resources/VersionControl/v1.0/item.ashx
    Local Request: False
    Host Address: 192.168.1.100
    User: 150THREERIVERS\geo [authentication type: NTLM]
=======
ERROR
=======
TF53010: The following error has occurred in a Team Foundation component or extension:
Date (UTC): 12/22/2009 3:51:45 PM
Machine: PAVILION
Application Domain: /LM/W3SVC/8080/ROOT/tfs-1-129059683517559871
Assembly: Microsoft.TeamFoundation.Framework.Server, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a; v2.0.50727
Service Host: 0bafb4c1-9672-40b3-87b6-1a02cf9f5b4d (DefaultCollection)
Process Details:
  Process Name: w3wp
  Process Id: 4780
  Thread Id: 2192
  Account name: 150THREERIVERS\geo

Detailed Message: Unable to initialize the specified service Microsoft.TeamFoundation.VersionControl.Server.LocalVersionControlProxyService.

Web Request Details
    Url: http://pavilion:8080/tfs/_tfs_resources/VersionControl/v1.0/item.ashx?type=rsa&sfid=1027,1030,1044,1046,1045,1047,1048,1049,1050,1051&ts=633971803027107036&s=ozrK/HOcFdNqyLkL8j7eZHKFSmeI4EEZxXzti6YUnXy2HjfEey53JJH3RaSL4BTcq7Eo762xFI2JzZrvxRcU2sw7gOx1Xx49JJLlVI2Sznkcmi2y9EoNvByjX3vSsnBfrR4TMA5jWhY1vLFmVZsXaC7sI7Hrx2d4+bwz295Xios=&fid=1027 [method: GET]
    User Agent: Team Foundation (devenv.exe, 10.0.21006.1)
    Headers: Accept-Language=en-US&Authorization=NTLM+TlRMTVNTUAADAAAAGAAYAIgAAACmAaYBoAAAABwAHABYAAAABgAGAHQAAAAOAA4AegAAABAAEABGAgAANYKI4gYBsB0AAAAPCj%2fVrDWMbxMPI4lqvlzR5DEANQAwAFQASABSAEUARQBSAEkAVgBFAFIAUwBnAGUAbwBEAEUATABMAFUAWABFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAL2EyNJi3AzxdGknOjvF6p0BAQAAAAAAADw%2fXqkeg8oBlY98C9kx2IYAAAAAAgAcADEANQAwAFQASABSAEUARQBSAEkAVgBFAFIAUwABABAAUABBAFYASQBMAEkATwBOAAQAKAAxADUAMABUAGgAcgBlAGUAUgBpAHYAZQByAHMALgBMAG8AYwBhAGwAAwA6AFAAYQB2AGkAbABpAG8AbgAuADEANQAwAFQAaAByAGUAZQBSAGkAdgBlAHIAcwAuAEwAbwBjAGEAbAAFACgAMQA1ADAAVABoAHIAZQBlAFIAaQB2AGUAcgBzAC4ATABvAGMAYQBsAAcACAA8P16pHoPKAQYABAACAAAACAAwADAAAAAAAAAAAQAAAAAgAABPZI182oXc3Bt4f2UqyIhuMTSfJ5SzGAYfoFnrjsfkXwoAEAAAAAAAAAAAAAAAAAAAAAAACQBEAEgAVABUAFAALwBQAGEAdgBpAGwAaQBvAG4ALgAxADUAMABUAGgAcgBlAGUAUgBpAHYAZQByAHMALgBMAG8AYwBhAGwAAAAAAAAAAAAAAAAAf2VlUsx65o57vHSzoywivg%3d%3d&Host=pavilion%3a8080&User-Agent=Team+Foundation+(devenv.exe%2c+10.0.21006.1)&X-TFS-Version=1.0.0.0&X-TFS-Session=2e26fdd1-fe93-43e1-991f-eeef401601dd&TF-Instance=2e26fdd1-fe93-43e1-991f-eeef401601dd
    Path: /tfs/_tfs_resources/VersionControl/v1.0/item.ashx
    Local Request: False
    Host Address: 192.168.1.100
    User: 150THREERIVERS\geo [authentication type: NTLM]

Exception Message: Access to the path 'C:\Program Files\Microsoft Team Foundation Server 2010\Application Tier\Web Services\_tfs_data\fd879eac-6e71-4fe9-a693-aab83d158ad6\Proxy' is denied. (type UnauthorizedAccessException)

Exception Stack Trace:    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.Directory.InternalCreateDirectory(String fullPath, String path, Object dirSecurityObj)
   at System.IO.Directory.CreateDirectory(String path)
   at Microsoft.TeamFoundation.VersionControl.Server.Proxy.FileCache.CreateDirectory(String path, Boolean clean)
   at Microsoft.TeamFoundation.VersionControl.Server.Proxy.FileCache..ctor(ProxyProperties properties, TeamFoundationRequestContext requestContext, TeamFoundationVersionControlProxyService proxyService)
   at Microsoft.TeamFoundation.VersionControl.Server.LocalVersionControlProxyService.GetFileCache(TeamFoundationRequestContext systemRequestContext)
   at Microsoft.TeamFoundation.VersionControl.Server.Proxy.TeamFoundationVersionControlProxyService.InitializeProxyPropertiesAndDependents(TeamFoundationRequestContext systemRequestContext)
   at Microsoft.TeamFoundation.VersionControl.Server.Proxy.TeamFoundationVersionControlProxyService.Microsoft.TeamFoundation.Framework.Server.ITeamFoundationService.ServiceStart(TeamFoundationRequestContext systemRequestContext)
   at Microsoft.TeamFoundation.Framework.Server.ServiceProvider.GetService[T]()

======
ERROR
======
TF53010: The following error has occurred in a Team Foundation component or extension:
Date (UTC): 12/22/2009 3:51:45 PM
Machine: PAVILION
Application Domain: /LM/W3SVC/8080/ROOT/tfs-1-129059683517559871
Assembly: Microsoft.TeamFoundation.Framework.Server, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a; v2.0.50727
Service Host:
Process Details:
  Process Name: w3wp
  Process Id: 4780
  Thread Id: 2192
  Account name: 150THREERIVERS\geo

Detailed Message: TF15003: The cache root specified in the fileCacheRoot configuration value must be an absolute (rooted) path.  File caching will be disabled.

Web Request Details
    Url: http://pavilion:8080/tfs/_tfs_resources/VersionControl/v1.0/item.ashx?type=rsa&sfid=1027,1030,1044,1046,1045,1047,1048,1049,1050,1051&ts=633971803027107036&s=ozrK/HOcFdNqyLkL8j7eZHKFSmeI4EEZxXzti6YUnXy2HjfEey53JJH3RaSL4BTcq7Eo762xFI2JzZrvxRcU2sw7gOx1Xx49JJLlVI2Sznkcmi2y9EoNvByjX3vSsnBfrR4TMA5jWhY1vLFmVZsXaC7sI7Hrx2d4+bwz295Xios=&fid=1027 [method: GET]
    User Agent: Team Foundation (devenv.exe, 10.0.21006.1)
    Headers: Accept-Language=en-US&Authorization=NTLM+TlRMTVNTUAADAAAAGAAYAIgAAACmAaYBoAAAABwAHABYAAAABgAGAHQAAAAOAA4AegAAABAAEABGAgAANYKI4gYBsB0AAAAPCj%2fVrDWMbxMPI4lqvlzR5DEANQAwAFQASABSAEUARQBSAEkAVgBFAFIAUwBnAGUAbwBEAEUATABMAFUAWABFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAL2EyNJi3AzxdGknOjvF6p0BAQAAAAAAADw%2fXqkeg8oBlY98C9kx2IYAAAAAAgAcADEANQAwAFQASABSAEUARQBSAEkAVgBFAFIAUwABABAAUABBAFYASQBMAEkATwBOAAQAKAAxADUAMABUAGgAcgBlAGUAUgBpAHYAZQByAHMALgBMAG8AYwBhAGwAAwA6AFAAYQB2AGkAbABpAG8AbgAuADEANQAwAFQAaAByAGUAZQBSAGkAdgBlAHIAcwAuAEwAbwBjAGEAbAAFACgAMQA1ADAAVABoAHIAZQBlAFIAaQB2AGUAcgBzAC4ATABvAGMAYQBsAAcACAA8P16pHoPKAQYABAACAAAACAAwADAAAAAAAAAAAQAAAAAgAABPZI182oXc3Bt4f2UqyIhuMTSfJ5SzGAYfoFnrjsfkXwoAEAAAAAAAAAAAAAAAAAAAAAAACQBEAEgAVABUAFAALwBQAGEAdgBpAGwAaQBvAG4ALgAxADUAMABUAGgAcgBlAGUAUgBpAHYAZQByAHMALgBMAG8AYwBhAGwAAAAAAAAAAAAAAAAAf2VlUsx65o57vHSzoywivg%3d%3d&Host=pavilion%3a8080&User-Agent=Team+Foundation+(devenv.exe%2c+10.0.21006.1)&X-TFS-Version=1.0.0.0&X-TFS-Session=2e26fdd1-fe93-43e1-991f-eeef401601dd&TF-Instance=2e26fdd1-fe93-43e1-991f-eeef401601dd
    Path: /tfs/_tfs_resources/VersionControl/v1.0/item.ashx
    Local Request: False
    Host Address: 192.168.1.100
    User: 150THREERIVERS\geo [authentication type: NTLM]

Exception Message: Access to the path 'C:\Program Files\Microsoft Team Foundation Server 2010\Application Tier\Web Services\_tfs_data\fd879eac-6e71-4fe9-a693-aab83d158ad6\Proxy' is denied. (type UnauthorizedAccessException)

Exception Stack Trace:    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.Directory.InternalCreateDirectory(String fullPath, String path, Object dirSecurityObj)
   at Microsoft.TeamFoundation.VersionControl.Server.Proxy.FileCache.IsFileCacheRootValid(String path)


 

 

7 Answers Found

 

Answer 1

Hi geo,

Thanks for your post and welcome to tfs  forum.

From the error  message, it is a permission issue on the file system. Can you help to verify the following items?

1. Check if the directory 'C:\Program Files\Microsoft Team Foundation Server 2010\Application Tier\Web Services\_tfs_data\fd879eac-6e71-4fe9-a693-aab83d158ad6\Proxy' exists

2. Check if the account '150THREERIVERS\geo' can create a folder under 'C:\Program Files\Microsoft Team Foundation Server 2010\Application Tier\Web Services\_tfs_data\fd879eac-6e71-4fe9-a693-aab83d158ad6\Proxy'

3. Chech the security of Proxy folder and if TFS_APPTIER_SERVICE_WPG group has read and write permission

4. Check if '150THREERIVERS\geo' is a member of TFS_APPTIER_SERVICE_WPG group.

 

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

 

Answer 2

Hello Hongye Sun,

Thanks for your reply, here is what I have found.

1)  There are no folders or files under C:\Program Files\Microsoft team  Foundation Server 2010\Application Tier\Web Services\_tfs_data
2) 150ThreeRivers\geo is me and I am in the administrators group on that machine.  I was able to create a folder in C:\Program Files\Microsoft Team Foundation Server 2010\Application Tier\Web Services\_tfs_data and delete it from File Explorer
3) TFS_APPTIER_SERVICE_WPG group  has all but Full Control and Special permissions for   C:\Program Files\Microsoft Team Foundation Server 2010\Application Tier\Web Services
4) No, the only member in  TFS_APPTIER_SERVICE_WPG isn't a user at all, but a computer.  It is the computer on which tfs  is running.

Further detail that might help you:

1) In VS.NET 2010 Team Explorer, 150ThreeRivers\geo is a member of the Team Project's Administrators group.  I can see this from my Desktop, which is where I created the project from.  From my laptop, I can not even see the Project in the Collection from Team Explorer.

Thanks,
George
 

Answer 3

Some further info:

Just found the follow error  Event in the Application Server log:

Log Name:      System
Source:        Microsoft-Windows-DistributedCOM
Date:          12/24/2009 4:32:41 AM
Event ID:      10016
Task Category: None
Level:         Error
Keywords:      Classic
User:          150THREERIVERS\TfsServiceAccount
Computer:      Pavilion.150ThreeRivers.Local
Description:
The application-specific permission settings do not grant Local Activation permission for the COM Server application with CLSID 
{61738644-F196-11D0-9953-00C04FD919C1}
 and APPID 
{61738644-F196-11D0-9953-00C04FD919C1}
 to the user 150THREERIVERS\TfsServiceAccount SID (S-1-5-21-2490845738-350207301-3806065389-1617) from address LocalHost (Using LRPC). This security permission can be modified using the Component Services administrative tool.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Microsoft-Windows-DistributedCOM" Guid="{1B562E86-B7AA-4131-BADC-B6F3A001407E}" EventSourceName="DCOM" />
    <EventID Qualifiers="49152">10016</EventID>
    <Version>0</Version>
    <Level>2</Level>
    <Task>0</Task>
    <Opcode>0</Opcode>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2009-12-24T09:32:41.000000000Z" />
    <EventRecordID>3884</EventRecordID>
    <Correlation />
    <Execution ProcessID="0" ThreadID="0" />
    <Channel>System</Channel>
    <Computer>Pavilion.150ThreeRivers.Local</Computer>
    <Security UserID="S-1-5-21-2490845738-350207301-3806065389-1617" />
  </System>
  <EventData>
    <Data Name="param1">application-specific</Data>
    <Data Name="param2">Local</Data>
    <Data Name="param3">Activation</Data>
    <Data Name="param4">{61738644-F196-11D0-9953-00C04FD919C1}</Data>
    <Data Name="param5">{61738644-F196-11D0-9953-00C04FD919C1}</Data>
    <Data Name="param6">150THREERIVERS</Data>
    <Data Name="param7">TfsServiceAccount</Data>
    <Data Name="param8">S-1-5-21-2490845738-350207301-3806065389-1617</Data>
    <Data Name="param9">LocalHost (Using LRPC)</Data>
  </EventData>
</Event>

Binging this error, I was directed to Component Services\My Computer\DCOM Config\IIS WAMREG admin Service and found that all the Properties under the Security tab are disabled and I can't change any of the properties.

Is this related to the TFS problem and if so, how do I enable those properties so that I can add TfsServiceAccount User to grant Local Activiation Permission?

Thanks,
George 
 

Answer 4

Hello George,

It is abnormal that there is no service account under TFS_APPTIER_SERVICE_WPG group. You must add your TFS service account into this group.

For the IIS WAMREG admin Service, this is because of permission restrictions in Windows 2008 R2. In order to fix this error, you need to first grant edit permission to your current account in registry and then add TFS service account into the activatiion permission group.

Here is a walkthrough about it: http://www.wictorwilen.se/Post/Fix-the-SharePoint-DCOM-10016-error-on-Windows-Server-2008-R2.aspx

Please let me know if they work for you. Thanks.

Merry Chrsitmas.

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

 

Answer 5

Hi George,

I am writing to follow up this issue. Please let me know if you are still having this issue. Thanks.

Have a great holiday season.
 

Answer 6

I too installed clean Windows 2008 R2, promoted to DC, installed SQL Server on it (running on Local System) and installed and created TFS 2010 B2 standalone without issues. Can create projects, check them in, but checking out gives the same message.

Also the initial project checked in build definition files give the same error  message.


Any news on the subject; I can give access  to our lab via RDP to debug the issue, if you provide mail address...


Br,

Kalle


 

Answer 7

I too installed clean Windows 2008 R2, promoted to DC, installed SQL Server on it (running on Local System) and installed and created TFS 2010 B2 standalone without issues. Can create prjects, check them in, but checking out gives the same message.

Also the initial project checked in build definition files give the same error  message.


Any news on the subject; I can give access  to our lab via RDP to debug the issue, if you provide mail address...


Br,

Kalle



Thanks for your explanation! It's quite useful, Now I understand more about it.
 
 
 

<< Previous      Next >>


Microsoft   |   Windows   |   Visual Studio   |   Follow us on Twitter