Add-on locked as registered add-on – but runs fine while debugged by VS2010
I’ve developed a simple Business One Add-On.
It shows a messagebox and adds an event-listener that observes a checkbox.
I combined it with an installer (I slightly modified the sample “14.AddOnInstaller”), created the registration file and installed it successfully.
The add-on starts fine, some log-files are written, the messagebox shows up as expected but instead of running in background, B1 says, it is locked.
Debugging the add-on in VisualStudio 2010 gives me no error. The messagebox and the event-listener are working good. I encapsulated the connection establishment using try/catch and write every cought exception to a logfile.
Any further suggestions?