When trying to access Globals.ThisAddIn.outlookApplication.Session
I get a NullReferenceException on application.Session
.
Redemption.RDOSession session = Redemption.RedemptionLoader.new_RDOSession();
session.MAPIOBJECT = Globals.ThisAddIn.outlookApplication.Session.MAPIOBJECT;
The same add-in works for other users on the same machine. This callback is hit from a click event on a ribbon button in Outlook. The user has a logged in session with Exchange and can interact with Exchange server normally.
Please note I do not need to handle the null reference, I need to know why the Session is null.