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

Exception Message: An error occurred while sending the test email.

13 Answers 262 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Vivid Group
Top achievements
Rank 1
Vivid Group asked on 24 Nov 2011, 03:49 AM

Hi there,
Upgraded to the latest version of TeamPulse and having issues configuring the mail server settings. Upon sending a test email I receive the following:
I can confirm the Integration service is running. Perhaps the user account that this service runs under does not have permissions to access the mail server? What steps do I need to take to troubleshoot?

Exception Type: TeamPulse.Client.TeamPulseException
Exception Message: An error occurred while sending the test email.  Please ensure that the TeamPulse integration service running and try again.

(Inner Exception)
Exception Type: System.ServiceModel.CommunicationException
Exception Message: The remote server returned an error: NotFound.
   at System.ServiceModel.AsyncResult.End[TAsyncResult](IAsyncResult result)
   at System.ServiceModel.Channels.ServiceChannel.EndCall(String action, Object[] outs, IAsyncResult result)
   at System.ServiceModel.ClientBase`1.ChannelBase`1.EndInvoke(String methodName, Object[] args, IAsyncResult result)
   at TeamPulse.Client.NotificationService.NotificationServiceClient.NotificationServiceClientChannel.EndSendTestEmail(IAsyncResult result)
   at TeamPulse.Client.NotificationService.NotificationServiceClient.TeamPulse.Client.NotificationService.INotificationService.EndSendTestEmail(IAsyncResult result)
   at TeamPulse.Client.NotificationService.NotificationServiceClient.OnEndSendTestEmail(IAsyncResult result)
   at System.ServiceModel.ClientBase`1.OnAsyncCallCompleted(IAsyncResult result)
(Inner Exception)
Exception Type: System.Net.WebException
Exception Message: The remote server returned an error: NotFound.
   at System.Net.Browser.AsyncHelper.BeginOnUI(SendOrPostCallback beginMethod, Object state)
   at System.Net.Browser.BrowserHttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
   at System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelAsyncRequest.CompleteGetResponse(IAsyncResult result)
(Inner Exception)
Exception Type: System.Net.WebException
Exception Message: The remote server returned an error: NotFound.
   at System.Net.Browser.BrowserHttpWebRequest.InternalEndGetResponse(IAsyncResult asyncResult)
   at System.Net.Browser.BrowserHttpWebRequest.<>c__DisplayClass5.<EndGetResponse>b__4(Object sendState)
   at System.Net.Browser.AsyncHelper.<>c__DisplayClass4.<BeginOnUI>b__0(Object sendState)

 

 

13 Answers, 1 is accepted

Sort by
0
Ryan
Telerik team
answered on 24 Nov 2011, 05:29 PM
Hello Vivid Group,

Sounds like the 'TeamPulse Integration Service' is not running.  This service is installed on the server. Please verify that the service is indeed running by looking in the Services administrative area of Windows on your TeamPulse server. It should also be set to start Automatically.

If the problem still occurs, let us know.

Regards,
Ryan
the Telerik team
Idea and Feedback Portal is here!
Join us for the Portal Release Webinar and be among the first to see it.
Reserve a seat today!
0
Ryan
Telerik team
answered on 24 Nov 2011, 05:47 PM
Hi Vivid Group,

Sorry, I missed the part in your message where you mention that you have confirmed that the integration service is running. To help fix this problem, we will need the integration service log files located in: C:\Program Files (x86)\Telerik\TeamPulse\logs\

All the best,
Ryan
the Telerik team
Idea and Feedback Portal is here!
Join us for the Portal Release Webinar and be among the first to see it.
Reserve a seat today!
0
Arjaan den Ouden
Top achievements
Rank 2
answered on 15 Mar 2012, 09:47 AM
Hi,

I experience the same problems! 

I'd like to add the integration-log.txt, but only images are allowed. Let me know how to send it to you.

Regards,
Arjaan den Ouden
0
David Harris
Telerik team
answered on 16 Mar 2012, 06:12 PM
Hi Arjaan,

In order to send files other than images you will need to initiate a support ticket. You can do so by following the link above the text entry box on your forum reply (see attached image).

Regards,
David Harris
the Telerik team
0
Mohammad
Top achievements
Rank 1
answered on 27 Apr 2012, 11:54 AM
Hi,
I have this problem with Email and TFS amSynchronization.

Exception Type: TeamPulse.Client.TeamPulseException
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 is listening at the following address: http://mydomain.net/Services/SynchronizationService.svc

I have check the service is running i have restarted service as well and still getting same error

please help to fix this issue.

regards,
Irfan
0
David Harris
Telerik team
answered on 27 Apr 2012, 02:53 PM
Hi Mohammad,

I'm sorry to hear you are unable to connect to the TeamPulse integration service. In hopes of discovering a resolution we will need to perform some diagnostic steps.

1) Please locate and open for editing the Telerik.TeamPulse.Integration.Service.exe.config file located in your \TeamPulse\IntegrationService\ directory.
2) Within the config file, locate the service entry for the Synchronization Service and copy the baseAddress property. The section should look like this:

<service name="TeamPulse.Integration.Core.Services.SynchronizationService">
  <endpoint address="" binding="basicHttpBinding" contract="TeamPulse.Integration.Core.Synchronization.Interfaces.ISynchronizationService" bindingConfiguration="basicHttp">
    <identity>
      <dns value="localhost" />
    </identity>
  </endpoint>
  <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" />
  <host>
    <baseAddresses>
      <add baseAddress="http://[yourdomain:portnumber]/TeamPulse.Services/Synchronization/" />
    </baseAddresses>
  </host>
</service>
3) Using a web browser, please navigate to the base address. You should see a generic response from the service indicating basic information on how one might create a client application to access the service. If you receive an error please send the information in a response.
4) Assuming you were able to get a legitimate response from the synchronization service base address, please locate and open the web.config file found in the \TeamPulse\wwwroot\ folder.
5) Inside the web.config file, please locate the client binding information for the synchronization service. This section should look like the following:
<system.serviceModel>
    <client>
      <endpoint address="http://[yourdomain:portnumber]/TeamPulse.Services/Synchronization/"
        binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_ISynchronizationService"
        contract="SynchronizationService.ISynchronizationService" name="BasicHttpBinding_ISynchronizationService" />
6) Please ensure that the endpoint address value is the same URL you navigated to in step 3. If this value is different, please modify the value in the web.config, save the file, and retry synchronizing or sending a test email from TeamPulse.

Hopefully these steps can help lead to a resolution to your connectivity issue.

Regards,
David Harris
the Telerik team
0
Mohammad
Top achievements
Rank 1
answered on 27 Apr 2012, 03:04 PM

Thanks for your reply.

right now it is showing me only this text.


<%

@ ServiceHost Language="C#" Debug="true" Service="TeamPulse.Client.Host.Services.SynchronizationService" CodeBehind="SynchronizationService.svc.cs" %>



regards,
Irfan
0
David Harris
Telerik team
answered on 27 Apr 2012, 03:06 PM
Hi,

Can you please indicate the URL you visited to receive that response?

All the best,
David Harris
the Telerik team
0
Mohammad
Top achievements
Rank 1
answered on 27 Apr 2012, 04:37 PM
Hi,


http://www.telerik.com/agile-project-management-tools/community/forums/teampulse/tfs-integration/switching-to-other-tfs-project-to-sync.aspx


this is the link i used. but i have not replaced SynchronizationService file. i have created backup firts and past this text and when i check there is no change in error I have restored the orignal file but it is still showing the code which i have tried from this link.

regards,
Irfan
0
David Harris
Telerik team
answered on 27 Apr 2012, 09:42 PM
Hello,

I'm not sure I understand. Can you please send a screenshot of the URL you are typing into your browser window during step 3 of my earlier instructions and the rendered result ?

Thanks,
David Harris
the Telerik team
0
Mohammad
Top achievements
Rank 1
answered on 28 Apr 2012, 09:04 AM
HI,

http://teampulse.ideafocus.net/Services/SynchronizationService.svc

please see screeshot for the Error we are getting when try to sync TFS. and here is this URL error when i open in browser.


SynchronizationService Service

You have created a service.

To test this service, you will need to create a client and use it to call the service. You can do this using the svcutil.exe tool from the command line with the following syntax:

svcutil.exe http://teampulse.ideafocus.net/Services/SynchronizationService.svc?wsdl

This will generate a configuration file and a code file that contains the client class. Add the two files to your client application and use the generated client class to call the Service. For example:


C#
 
class Test
{
    static void Main()
    {
        TeamPulseSynchronizationServiceClient client = new TeamPulseSynchronizationServiceClient();
 
        // Use the 'client' variable to call operations on the service.
 
        // Always close the client.
        client.Close();
    }
}
 
 
Visual Basic
 
Class Test
    Shared Sub Main()
        Dim client As TeamPulseSynchronizationServiceClient = New TeamPulseSynchronizationServiceClient()
        ' Use the 'client' variable to call operations on the service.
 
        ' Always close the client.
        client.Close()
    End Sub
0
Mohammad
Top achievements
Rank 1
answered on 30 Apr 2012, 12:02 PM
Hi,

Error on service screenshot is attached.

regards,
Irfan
0
David Harris
Telerik team
answered on 30 Apr 2012, 02:37 PM
Hi,

I will respond to this via one of your submitted support requests as we will need to have more files attached to diagnose the configuration issues.

Regards,
David Harris
the Telerik team
Tags
General Discussions
Asked by
Vivid Group
Top achievements
Rank 1
Answers by
Ryan
Telerik team
Arjaan den Ouden
Top achievements
Rank 2
David Harris
Telerik team
Mohammad
Top achievements
Rank 1
Share this question
or