c# - TFS API not returning results in MVC application -


i have code retrieve changesets tfs server. code works great in console application. code looks this:

tfsteamprojectcollection tpc = new tfsteamprojectcollection(new uri("http://tfs.....")); tpc.authenticate(); versioncontrolserver vcs = tpc.getservice<versioncontrolserver>();  versionspec = versionspec.parsesinglespec(versionfromstring, null); versionspec = versionspec.parsesinglespec(versiontostring, null); var histories =     vcs.queryhistory(         path + "/*.cs", versionspec.latest, 0, recursiontype.full, null, from, to, int32.maxvalue, true, true, true);   foreach (changeset history in histories) {     foreach (change change in history.changes)     {          // results here....     } } 

but when move code inside mvc application, there no error, returns empty list of histories @ line: foreach (changeset history in histories)

i thought due insufficient privileges, used impersonation of network service. code not complaining impersonation, still no result @ line.

do think still user-related issue? should user have specific privileges in order execute , bring results?

if had access server, have installed processmon see going on, don't.

your appreciated.

i got access server. related privileges. user using turned out not setup admin on tfs server. needed use alternate 1 administrative account.


Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -