Start a conversation

Error: 'System.IO.FileNotFoundException: Could not load file or assembly' When Exporting to SQL

Overview

The database operation to export to SQL server does not complete. 

There are two ways to identify the error:

  • Checking the output of the task.
    The outcome will return the following content:
    Start lock count = 0 Initializing export to Sql... System.IO.FileNotFoundException: Could not load file or assembly 'DLib, Version=1.0.0.0,Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified. File name: ''DLib, Version=1.0.0.0,Culture=neutral, PublicKeyToken=null'

  • Reviewing the debug logs.
    Open the file esmdlibm_XXX.csv and try to locate the following extract:
    2013-07-08, 13:46:48, 546, 9, 1310, 6a4, info, esmdlibm.exe, Main, Initializing export to Sql... Creating exporter. 2013-07-08, 13:46:48, 546, 9, 1310, 6a4, info, esmdlibm.exe, Main, Initializing exporter. 2013-07-08, 13:46:48, 562, 0, 1310, 6a4, error, esmdlibm.exe, Main, Unexpected exception: Could not load file or assembly 'DLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified. 2013-07-08, 13:46:48, 562, 0, 1310, 6a4, error, esmdlibm.exe, Main, Stack trace is: at GFILog.LogException(Exception ex)

This article provides a workaround for the issue described above.

Environment

EventsManager 2013 SR1

Resolution

The workaround is to download and apply the patch.

Choose files or drag and drop files
Was this article helpful?
Yes
No
  1. Priyanka Bhotika

  2. Posted

Comments