This is a migrated thread and some comments may be shown as answers.

R5 & TFS 2012 Manage Sync Servers Failure

4 Answers 50 Views
TFS Integration
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Chris Adams
Top achievements
Rank 1
Chris Adams asked on 18 Jan 2013, 01:53 AM
Hello-

We recently noticed a problem when we went to change our password for one of our Sync Servers.  The sync server in question is TFS 2012 and it is failing with the following error:
Exception Type: TeamPulse.Client.TeamPulseException<BR>Exception Message: A
Communication Exception occurred while attempting to connect to the
Synchronization Service. No server entry has been added to TeamPulse. Please
ensure the TeamPulse Integration Service is running on your TeamPulse server and
at
TeamPulse.Client.Presentation.Sync.SyncServersPresenterModel.service_TestConnectionToRemoteServerCompleted(Object
sender, TestConnectionToRemoteServerCompletedEventArgs e)<BR>   at
TeamPulse.Client.SynchronizationService.TeamPulseSynchronizationServiceClient.OnTestConnectionToRemoteServerCompleted(Object
state)<BR>(Inner Exception)<BR>Exception Type:
System.ServiceModel.CommunicationException<BR>Exception Message: The remote
server returned an error: NotFound.<BR>   at
System.ServiceModel.AsyncResult.End[TAsyncResult](IAsyncResult
result)<BR>   at
System.ServiceModel.Channels.ServiceChannel.EndCall(String action, Object[]
outs, IAsyncResult result)<BR>   at
System.ServiceModel.ClientBase`1.ChannelBase`1.EndInvoke(String methodName,
Object[] args, IAsyncResult result)<BR>   at
TeamPulse.Client.SynchronizationService.TeamPulseSynchronizationServiceClient.TeamPulseSynchronizationServiceClientChannel.EndTestConnectionToRemoteServer(IAsyncResult
result)<BR>   at
TeamPulse.Client.SynchronizationService.TeamPulseSynchronizationServiceClient.TeamPulse.Client.SynchronizationService.ITeamPulseSynchronizationService.EndTestConnectionToRemoteServer(IAsyncResult
result)<BR>   at
TeamPulse.Client.SynchronizationService.TeamPulseSynchronizationServiceClient.OnEndTestConnectionToRemoteServer(IAsyncResult
result)<BR>   at
System.ServiceModel.ClientBase`1.OnAsyncCallCompleted(IAsyncResult
result)<BR>(Inner Exception)<BR>Exception Type:
System.Net.WebException<BR>Exception Message: The remote server returned an
error: NotFound.<BR>   at
System.Net.Browser.AsyncHelper.BeginOnUI(SendOrPostCallback beginMethod, Object
state)<BR>   at
System.Net.Browser.BrowserHttpWebRequest.EndGetResponse(IAsyncResult
asyncResult)<BR>   at
System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelAsyncRequest.CompleteGetResponse(IAsyncResult
result)<BR>(Inner Exception)<BR>Exception Type:
System.Net.WebException<BR>Exception Message: The remote server returned an
error: NotFound.<BR>   at
System.Net.Browser.BrowserHttpWebRequest.InternalEndGetResponse(IAsyncResult
asyncResult)<BR>   at
System.Net.Browser.BrowserHttpWebRequest.<>c__DisplayClassa.<EndGetResponse>b__9(Object
sendState)<BR>   at
System.Net.Browser.AsyncHelper.<>c__DisplayClass4.<BeginOnUI>b__0(Object
sendState)

 

 
This is troubling because we have the following facts still true:

1)  We can access the URL http://servername/Services/SynchronizationService.svc with not problem
2)  We have another sync'd server pointing to TFS 2010 and it works fine

Any assistance at all on how we can debug and figure out what is happening is greatly appreciated!

Thanks,
-Chris

4 Answers, 1 is accepted

Sort by
0
Joel
Telerik team
answered on 21 Jan 2013, 08:19 PM
Hi Chris,

The service that you mentioned you can connect to is really just a proxy that calls down to the TeamPulse Integration Service and it's the integration service that communicates with TFS.  Since you mentioned that you have another project that is syncing fine, it's not likely the integration service not running that's the problem, but it's still worth checking to make sure that it is indeed running.

You also mentioned that you were just trying to change the password of the connection to your TFS 2012 server.  Does this mean that connecting to this TFS server was working at one point?  Has anything else about the connection information changed (i.e. server name, collection name, etc.)?

The easiest way to debug this would be if we could get your log files.  You can't attach files to forum posts, but if you submit a support ticket you can.  Your account indicates that you have active support through the support ticket system.

For the log files, you can just zip up the entire Logs folder in the TeamPulse installation directory on the server.  This folder is usually located here: C:\Program Files (x86)\Telerik\TeamPulse\Logs.

It would also be helpful if you could tell us exactly which version of TeamPulse you have.  There are two places to check for this:  1) In TeamPulse go to Help > About TeamPulse and 2) On the TeamPulse server, check the File Version property of this file: C:\Program Files (x86)\Telerik\TeamPulse\IntegrationService\Telerik.TeamPulse.Integration.Service.exe.


Thanks,
Joel
the Telerik team
0
Chris Adams
Top achievements
Rank 1
answered on 22 Jan 2013, 12:51 AM
Hey-

I appreciate the response.  I've opened a ticket 650960 to see if y'all  can fix.  Look forward to any help.

Thanks,
-Chris
0
Chris Adams
Top achievements
Rank 1
answered on 22 Jan 2013, 12:59 AM
Hey-

I realized that I didn't answer one of your questions - we are on  2012.6.1217.0 which should be the latest :)

Thanks,
-Chris
0
Joel
Telerik team
answered on 23 Jan 2013, 10:14 PM
This issue was dealt with in a support ticket, but for the benefit of others who may come across the same problem, I'll re-post the solution here.

The issue turned out to be related to changes made to the TeamPulse web site web.config file and the integration service config file (Telerik.TeamPulse.Integration.Service.exe.config) for the purpose of hosting TeamPulse on port 80.  Some web service endpoints in the integration service were changed to be on port 80, but the corresponding client endpoint reference in the web.config file was not updated to reflect the changes.

There are two ways to resolve this issue.  To expose the TeamPulse web site over port 80, no changes need to be made to the integration config file, so the preferred way to resolve this issue is to change the web service endpoints exposed by the integration service back to the default of port 9899.  The other option is to change the client endpoint references to these services in the web.config file to the new port that was specified (in this case port 80).  The client endpoint references can be found in the following section of the web.config file.

<system.serviceModel>
  <client>
  ...
  </client>
</system.serviceModel>


Regards,
Joel
the Telerik team
Tags
TFS Integration
Asked by
Chris Adams
Top achievements
Rank 1
Answers by
Joel
Telerik team
Chris Adams
Top achievements
Rank 1
Share this question
or