Product(s): | Promis.e, Bentley Substation | ||
Version(s): | 08.11.10.67 - 08.11.13.140 | ||
Environment: | N/A | ||
Area: | Installation_Configuration | ||
Subarea: | N/A |
A "fail to load plugin" message appears at start up, or the plug-in is missing from the Plug-ins menu or the Plug-ins menu is missing.
Example error message from Promis.e V8i SELECTseries 8:
Internal Error
fail to load plugin [C:\Program Files (x86)\Bentley\Promise V8i\Promise\Promise\plugins\MyPlugin]
API Error Message: Could not find part of the path 'C:\ProgramData\Bentley\Promise V8i\Plugins\MyPlugin\Config.xml'.
TargetSite: Void WinIOError(Int32, System.String)
DeclaringType: System.IO.__Error
Attributes: internal static
MemberType: Method
StackTrace: C:\ProgramData\Bentley\Promise V8i\Config\LastError.txt
Product Version: Promise V8i (SELECTseries 8)
DB Version: SQLServer 8.1.33
Example error message from previous versions:
Internal Error
fail 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.__Error
Attributes: internal static
MemberType: 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, plugin files belong in two different paths, see below.
Copy the config.xml file for the plugin to the <[[Program data folder - promis.e|Promis.e Program data folder]]>\plugins\MyPlugin folder or the <[[Program data folder - Substation|Substation Program data folder]]>\plugins\MyPlugin folder as the case may be.
The remainder of the files for the plugin typically belong in the <[[Program folder - promis.e|Promis.e Program folder]]>\plugins\MyPlugin folder or the <[[Program Folder - Substation|Substation 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.
Original Author: | Matt_P |
Keywords: failed to load plug-in, plug in, unable