Note: This is documentation for version 5.4 of Source. For a different version of Source, select the relevant space by using the Spaces menu in the toolbar above
Plugin not loading issues
/wiki/spaces/SC/pages/51643422When trying to run a plugin:
- If you are downloading plugins you will need to manually 'unblock' this file in Windows after downloading. To do this, right click on the dll file in windows explorer and select properties. At the bottom of this window will be comment along the lines of 'this file has been downloaded from the internet and has been blocked to protect this computer':
There should be an 'unblock' button next to the warning. Click unblock and then click ok. The plugin should then load. - Insufficient user permissions to edit the registry.
You could try:
- Copy the entire folder from "C:\Program Files\eWater\Source x.x.x.x" to the desktop
- Copy the plugin dll into the same folder
- Open Desktop\Source x.x.x.x\RiverSystem.Forms.exe
- Try to add the plugin again.
When Building the plugin:
- Plugin was built referencing the incorrect dll's (TIME.dll, RiverSystem.dll etc..)
- Incorrect .net version used - we are using 4.0
- Incorrect assembly configuration - needs to be "AnyCpu
NHibernate.MappingException - NHibernate.DuplicateMappingException
Duplicate Mapping Exception means that some how the dll has been loaded twice. There are a few ways this can happen
- Loading the plugin twice
- Loading a plugin and loading a second plugin that has a reference to the first plugin
- Copying the plugin into the Program Files Folder and also loading the plugin from a different location
NHibernate.MappingException - NHibernate.??
Otyher mapping exceptions can occur when you don't have your mapping file as an Embedded resource. By default it's added as content - however it should be an embedded resource.