Hi,
Thank you for your update(s). It was really helpful. I fixed it yesterday, and the error occured because I had IceLib.dll in my AddIns directory. Took me a while to figure out that, since the file is copied over when I do debugging.
What I was trying to do:
- Capture key pressed, ie "L" (L for Ledig, which means Available in norwegian:-))
- Get the current Session
- Get the logged in user
- Call a handler, and change the status in handler
_Session = _serviceProvider.GetService(typeof(Session)) as Session;
sUserId = _Session.UserId;
string[] sArray = new string[] {sUserId};
CustomMessageHeader header = new CustomMessageHeader (CustomMessageType.ServerNotification, "Status_Objekt", "Status");
CustomRequest request = new CustomRequest(header);
request.Write(sArray);
CustNotify = new CustomNotification(_Session);
CustNotify.SendServerRequestNoResponse(request);
Works fine now, after removing the Icelib.dll from Addins folder. But I havent testet it enough to find if it causes other errors or suspect behaviours in the system.