MongoDB Driver Error: Unable to Connect to Server Local Host (119471)

  • Title

    MongoDB Driver Error: Unable to Connect to Server Local Host
  • Description

    You may see an error message in the gUI that contains the following phrase:

    “MongoDB.Driver.MongoConnectionException: Unable to connect to server localhost:27017”

    Restarting the MongoDB service does not resolve this issue.

    This issue is most likely caused by inconsistencies in one or both of the following files:


    To ensure this is indeed the issue, review your Core log files for the driver-related information presence:

    ERROR 2013-03-27T11:00:26 [177] – WCFClientBase.EncapsulatedException ()
    Caught an exception deserializing encapsulated exception of type ‘Replay.Core.Contracts.Storage.StorageConnectionException’
    System.Runtime.Serialization.SerializationException: Unable to find assembly ‘MongoDB.Driver, Version=, Culture=neutral, PublicKeyToken=f686731cfb9cc103′.

  • Resolution


    • Stop the Core Service. -
    • Rename the original MongoDB file and move it to another folder (by default it is located on C:\Program Files\AppRecovery\Core\CoreService).
    • Run a Core Repair.
    • Restart the Core Service and ensure that events are working.

    You may also remove the inconsistent DLL files and repair the Core installation, provided you have not applied any custom binaries to your installation.

Feedback submitted.

Did this article help?

[Select Rating]

Thank you for your rating!


Request or Create a KB Article »

5.4.3, 5.4.2, 5.4.1, 5.3.7, 5.3.6, 5.3.5, 5.3.4, 5.3.3, 5.3.2, 5.3.1, 5.3, 5.2

Troubleshooting, Troubleshooting, Troubleshooting

Article History:
Created on: 1/27/2014
Last Update on: 3/24/2015