Error: No connection could be made because the target machine actively refused it

Error: No connection could be made because the target machine actively refused it

Error:
The error message below may be seen in the FosVendorSyncService.log

12/20/2016 11:01:34 AM , Vendor Activation - Sync Started
12/20/2016 11:01:36 AM , No connection could be made because the target machine actively refused it
SOURCE: System
TARGETSITE: Void .ctor(System.String, Int32)
STACKTRACE: at System.Net.Sockets.TcpClient..ctor(String hostname, Int32 port)
at Pervasive.Data.SqlClient.Lna.ak.a6()
at Pervasive.Data.SqlClient.k.d()
at Pervasive.Data.SqlClient.k.ac()
at DDInt.Common.al.a6()
at DDInt.Common.d.b(l A_0, x A_1)
at DDInt.Common.ad.i()
at DDInt.Common.ao.bh(Object A_0)
at DDInt.Common.ad.a(Transaction A_0, ah A_1)
at DDInt.Common.d.a(Object A_0, l A_1, Boolean A_2, ah A_3)
at Pervasive.Data.SqlClient.PsqlConnection.Open()
at FosVendorSyncService.DataProviders.FosDataProvider.OpenConnection(String owner)
at FosVendorSyncService.DataProviders.FosDataProvider.GetOwner()
at FosVendorSyncService.DataProviders.FosDataProvider..ctor()
at FosVendorSyncService.BusinessProviders.FosBusinessProvider.GetVendorActivationList(Int32
Status)
at FosVendorSyncService.BusinessProviders.FosBusinessProvider.GetActivationMessageList()

Solution:
Edit the FosVendorSyncService.exe.config file line
<add key="FosConnectionString" value="Server=localhost;ServerDSN=FOSDATA" /> to replace 'localhost' with the server IP address or the DSN.
    • Related Articles

    • Account Sync Error - FOS Mobile

      Account Sync Error checkbox in the FOS Users Module A new checkbox has been added to the main screen of the FOS Users module for the viewing of Mobile account issues. This field has been added for FOS Version 3.11.4 and higher and corresponds to the ...
    • Error: Charter Vendor update failed: XML Document must have a top level element.

      Error: Charter Vendor update failed: XML Document must have a top level element. Solution: 1. Increase the number of dynamic ports using "netsh" command OR 2. Reboot the system
    • Introduction to the Flight Log

      Introduction to the Flight Log The Flight Log displays all pertinent post flight information dealing with a trip, split up into legs. Selecting a leg from the top section will display specific information for that leg on each of the different tabs. ...
    • Error: Unexpected end of stream on connection

      Error: Unexpected end of stream on connection{fos.XXXXX.com:80, proxy=DIRECT hostAddress=XXXX cipherSuite=none protocol=http/1.1} (recycle count =0)(loadConfig) Solution: Please confirm the following: All users receive this error. The internal / ...
    • Flight Log (Input post flight information)

      Flight Log (Input post flight information) Once a flight has been completed, you will want to enter the post flight information inside the trip on the Flight Log tab. There are a couple of ways to navigate to this section. First option: is to ...