Hi all, I’m starting with Milestone and I’ve installed server, client and MIP SDK.
In the tutorial they say that in the Server Event Manager I should find the plugins for the server, but actually I don’t see anything. I expect to see at least the plugins with load env set to Service and/or Administration in the .def file.
I can see the plugins on the SmartClient instead (with load env set to SmartClient)
What am I doing wrong ?
I also checked the folder privileges and look ok (the programs run in administration mode).
The MIP SDK comes with many samples. The plugin samples are automatically deployed to your developer PC when you install the MIP SDK. You will find the binaries copied to [C:\Program](file:C:/Program) Files\Milestone\MIPPlugins
When a plugin is in this location it will load in the environment of a 64-bit Milestone application or service. These environments are Smart Client (64-bit), Management Client or Event Server. If you need to test or run a plugin with a Management Application or a 32-bit Smart Client you need to copy the plugin from [C:\Program](file:C:/Program) Files\Milestone\MIPPlugins to [C:\Program](file:C:/Program) Files (x86)\Milestone\MIPPlugins
In each plugin folder you will find the dll which loads (a plugin is minimum one dll) and executes in the Milestone MIP environment and a plugin.def file. The plugin.def file is described in the Getting Started - Plug-in Development, page in the MIP Documentation
The fastest way to see if the Event Server has loaded the dll is to look in the log file, either by use of the Milestone XProtect Event Server Manager or by looking directly at - “[C:\ProgramData\Milestone\XProtect](file:C:/ProgramData/Milestone/XProtect) Event Server\logs\C[YYYY-MM-DD].log”
The ConfigDump tool sample is a good sample to use as a first test:
Verify there is a [C:\Program](file:C:/Program) Files\Milestone\MIPPlugins\ConfigDump folder and it contains ConfigDump.dll and plugin.def
Restart the event server so that it loads plugins.
Verify that it is loaded by finding this in the log file.
2016-11-21 09:15:00 UTC+01:00 Info MapPlugInManager Plugin loaded: ConfigDump v1.1.0.0 - Milestone Systems A/S
As a last point you can verify that the plugin has made output to the MIP log..
This is much describing the way it should work, if you still do not see expected behavior we will have to go deeeper into troubleshooting,..
Thank you a lot Bo. In my Program Files (x86)\Milestone I have no the folder MipPlugins. I’ve added it and and try to copy inside some plugins (like the chat). And it work!