Different collections use

Jul 19, 2012 at 9:42 PM

Hi. So I have a question. Can Aggregator works with different collections? i have num of collections on one tfs instance. As I understood we have to put full path to the collection. Am I right? 

Coordinator
Aug 22, 2012 at 9:49 PM

This is a fuzzy discussion.  My experience has this working for all collections.  I set mine up like this:

<AggregatorItems tfsServerUrl="http://MyTFSServer:8080/tfs" >

However, others have told me that they need to put in the collection to make it work.  I have not been able to duplicate this scenario.

Apr 9, 2014 at 8:40 AM
Edited Apr 9, 2014 at 8:41 AM
hi,

I cant seem to get it to work on all collections as well :(

It works fine when I specify a collection but when I use <AggregatorItems tfsServerUrl="http://MyTFSServer:8080/tfs" > I get the following error on Debug View: 00001788 3:39:10 AM [4940] TFSAggregator: Exception encountered processing Work Item [503]: TF31002: Unable to connect to this Team Foundation Server: http://xxx:8080/tfs/.
00001789 3:39:10 AM [4940] TFSAggregator: Team Foundation Server Url: http://xxx:8080/tfs/.
00001790 3:39:10 AM [4940] TFSAggregator:
00001791 3:39:10 AM [4940] TFSAggregator: Possible reasons for failure include:
00001792 3:39:10 AM [4940] TFSAggregator: - The name, port number, or protocol for the Team Foundation Server is incorrect.
00001793 3:39:10 AM [4940] TFSAggregator: - The Team Foundation Server is offline.
00001794 3:39:10 AM [4940] TFSAggregator: - The password has expired or is incorrect.
00001795 3:39:10 AM [4940] TFSAggregator:
00001796 3:39:10 AM [4940] TFSAggregator: Technical information (for administrator):
00001797 3:39:10 AM [4940] TFSAggregator: The remote server returned an error: (404) Not Found.
00001798 3:39:10 AM [4940] TFSAggregator: Stack Trace: at Microsoft.TeamFoundation.Client.TfsConnection.EnsureProviderConnected()
00001799 3:39:10 AM [4940] TFSAggregator: at Microsoft.TeamFoundation.Client.TfsConnection.CreateInternalProxy(Type serviceType)
00001800 3:39:10 AM [4940] TFSAggregator: at Microsoft.TeamFoundation.Client.TfsConnection.GetServiceInstance(Type serviceType, Object serviceInstance)
00001801 3:39:10 AM [4940] TFSAggregator: at Microsoft.TeamFoundation.Client.TfsConnection.GetService(Type serviceType)
00001802 3:39:10 AM [4940] TFSAggregator: at Microsoft.TeamFoundation.Client.TfsConnection.GetServiceT
00001803 3:39:10 AM [4940] TFSAggregator: at Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItemStore.InitializeInternal()
00001804 3:39:10 AM [4940] TFSAggregator: at Microsoft.TeamFoundation.Client.TfsTeamProjectCollection.InitializeTeamFoundationObject(String fullName, Object instance)
00001805 3:39:10 AM [4940] TFSAggregator: at Microsoft.TeamFoundation.Client.TfsConnection.CreateServiceInstance(Assembly assembly, String fullName)
00001806 3:39:10 AM [4940] TFSAggregator: at Microsoft.TeamFoundation.Client.TfsConnection.GetService(Type serviceType)
00001807 3:39:10 AM [4940] TFSAggregator: at TFSAggregator.TFSAccess..ctor(String tfsUri, String username, String password)
00001808 3:39:10 AM [4940] TFSAggregator: at TFSAggregator.Store.get_Access()
00001809 3:39:10 AM [4940] TFSAggregator: at TFSAggregator.WorkItemChangedEventHandler.ProcessEvent(TeamFoundationRequestContext requestContext, NotificationType notificationType, Object notificationEventArgs, Int32& statusCode, String& statusMessage, ExceptionPropertyCollection& properties)
00001810 3:39:10 AM [4940] TFSAggregator: Inner Exception: The remote server returned an error: (404) Not Found.
00001811 3:39:10 AM [4940] TFSAggregator: Stack Trace: at System.Net.HttpWebRequest.GetResponse()
00001812 3:39:10 AM [4940] TFSAggregator: at Microsoft.TeamFoundation.Client.Channels.TfsHttpWebRequest.SendRequestAndGetResponse(HttpWebRequest webRequest, WebException& webException)