Riva CRM Integration - Documentation and Knowledge Base

Riva Insight: There was no endpoint listening at http://localhost/WebAPI/compatibility/SyncService.svc that could accept the message.

Article ID: 2277
Last updated: 13 Sep, 2022

Applies to Riva Insight.

Issue

Riva Insight displays the following error message:

The error can also appear in the Insight client logs:
 

System.ServiceModel.EndpointNotFoundException: There was no endpoint listening at http://localhost/WebAPI/compatibility/SyncService.svc that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details. ---> System.Net.WebException: The remote server returned an error: (404) Not Found.

Potential Causes

  • The WebAPI endpoint may be incorrect, or offline.
  • The port and hostname for the HTTP binding may be missing or incorrect.

Solutions

  1. Ensure that the WebAPI endpoint is online, configured correctly and referenced in AppSettings.xml,
  2. Ensure that there is an HTTP binding to the localhost hostname in IIS Server.

A. To check the WebAPI endpoint:

  1. Restart IIS (or recycle the Application Pools).
     
  2. In IIS, browse to the WebAPI service.
     
  3. Select the compatibility application under the WebAPI application.
     
  4. Select Content View (located at the bottom, middle of the IIS console).
     
  5. Select SyncService.svc.
     
  6. Click the Browse action in the right-hand column.

A web browser will open up and load the URL of the web services. Ensure that the page has no errors, and shows the Service page.
 


If the page has errors, or fails to load, ensure that the compatibility subfolder in the Connections pane of IIS has been converted to an application.
 

B. In \Insight\App_Data\AppSettings.xml, ensure that the following key is present & enabled:

add key="/Insight/SdkAddress" value="http://localhost/WebAPI/compatibility/SyncService.svc" />

To check for the localhost HTTP binding:

  1. On the server hosting Riva Insight, open Internet Information Services (IIS) Manager.
     
  2. In the Connections pane, expand the server name, expand Sites, and then select the Riva Insight Web site.
     
  3. In the Actions pane, select Bindings...
     
  4. If the HTTP localhost binding is missing in the Site Bindings pop-up window, select Add.
     

  1. In the Add Site Binding dialogue box, enter the following information:
     
    1. Type: http
       
    2. Port: 80
       
    3. Host name: localhost
       
  2. Select OK.

This article was:   Helpful | Not helpful
Report an issue
Article ID: 2277
Last updated: 13 Sep, 2022
Revision: 11
Views: 0
Comments: 0