GetService throws an error: “Could not find a part of the path 'E:\TFSWorkItemTrackingCache\v11”

I am trying to return the WorkItemStore from a TfsTeamProjectCollection instance.

The code is straight forward:

TfsTeamProjectCollection tfs = new TfsTeamProjectCollection(new Uri(this.Path), new NetworkCredential(this.UserName, pwd, this.Domain));

tfs.Authenticate();

WorkItemStore store = (WorkItemStore)tfs.GetService(typeof(WorkItemStore));

but that line errors out when calling GetService. The error passed back reads:

"Could not find a part of the path 'E:\TFSWorkItemTrackingCache\v11"

There is no such path on the server where the TFS instance resides, and even adding the folder makes no difference.

What is going on here and how can I get rid of this error? Any help would be appreciated.

Answers


Found the problem. Someone added this to the web.config add key="WorkItemTrackingCacheRoot" value="E:\TFSWorkItemTrackingCache"


Need Your Help

Android socket io client node js cant get values

java android node.js object socket.io

I am developing an android application implementing socket io client by using https://github.com/Gottox/socket.io-java-client.

view all links after pagination

codeigniter pagination codeigniter-2

is it possible to add a view All results link after or before the << First 1 2 3 Last >> links of the pagination?

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.