You are currently reviewing an older revision of this page.
A "fail to load plugin" message appears at start up. Example:
Internal Errorfail to load plugin [C:\Program Files (x86)\Bentley\promise V8i\promise\Promise\plugins\MyPlugin]Error Message: Could not find part of the path 'C:\ProgramData\Bentley\promis-e V8i(M)\Plugins\MyPlugin\Config.xml'.TargetSite: Void WinIOError(Int32, System.String)DeclaringType: System.IO.__ErrorAttributes: internal staticMemberType: Method
This type of error message typically indicates a necessary file is missing. In the example message above, the Config.xml is missing from the expected path. This commonly occurs when the plugin is "installed" on a new machine, but all the related files are put in one path. In recent releases of promis.e, plugin files belong in two different paths, see below.
Copy the config.xml file for the plugin to the Program data folder\plugins\MyPlugin folder.
The remainder of the files for the plugin typically belong in the Program folder\plugins\MyPlugin folder.
Note: Substitute the actual name of the plugin for "MyPlugin" in the above paths. Ensure that the folder for the plugin is named the same in each path.
Keywords: failed to load plug-in, plug in