One or more executable files cannot be loaded during startup of a server instance


 Product(s):APM Implementation and Performance Management
 Version(s):All
 Environment:N\A
 Area:N/A
 Subarea:N\A

Problem

One or more files (e.g., .dll, .exe) cannot be loaded during startup of a server instance.

A server log message, similar to the following, is posted, and may be seen in the Web Monitor.

"Exception occurred loading WCF Plugin: Ivara.Replication.Remote.RemoteService.RemoteServicePlugin, RemoteService, Version=7.4.0.0, Culture=neutral, PublicKeyToken=null.  See log file for exception details...."

Solution

The issue happens when a file (e.g., a DLL or EXE) is manually copied into the server binaries folder from a zip downloaded from the Internet (e.g., hotfixes or custom DLLs). This is controled by a server setting that flags the file when it is downloaded. (more info: http://www.howtogeek.com/70012/what-causes-the-file-downloaded-from-the-internet-warning-and-how-can-i-easily-remove-it/)

As far as we know, it doesn’t happen to files which are created via an installer.

This seeting prevents the process from accessing the file; the symptoms could vary.

To resolve, find the blocked file and go to the properties of the file and unblock it. Mass update is possible too (see link above)

See Also

N/A.

 Original Author:Roy Suthers