Plugin claims eventserver not running

I’m using the access control plugin template.

After the configuration part, it claims that the event server is not running or that it can’t connect to the event server.

i can’t tell what is missing from the plugin that would cause this.

The demo access plugin has a lot of extra code in there that is not relevant to my access control system so I’m not sure what is missing that I really need in the new plugin.

can anyone tell me what plugin method it is calling from this screen (see attachment).

this is MIPS 2020 SDK and Milestone 2020 VMS

Please debug this. How to debug is described here - https://developer.milestonesys.com/s/article/debugging-techniques-for-Event-Server-plugins

Getting closer…but the debug experience differs from the documentation.

This odd dialog pop ups up…clicking on MIP Items doesn’t seem to do anything…i’m not sure where this dialog is coming from.

I’m attaching a screenshot

When you debug the way suggested in the document you have stopped the Event Server service and instead start it as a WinForms application (by doing the “-x” parameter). So the odd dialog is in fact the Event Server “application”.

If you now have a breakpoint or similar you can get into your code running..

Thank you Bo.

I found that I have to run visual studio as administrator, or the event server isn’t actually running. (management client couldn’t find it) :slight_smile:

so that was the missing piece for me.