Good day.
Recently upgraded to MS Office 2007 (hence outlook 2007) and now code in my InfoPath form is no longer working. It was working fine before the install.
g_oMapiSession = new ActiveXObject("MAPI.Session");
The above line gives the error "Automation Server Can't Create object".
(I thought it was just a certificate issue, or running it in preview mode, but I re-signed the form, and installed it in SharePoint and it still gives the error on my machine)
It is working just fine on users who have not upgraded to 2007 (they are still on 2003).
Does anyone know what would cause this to quit working on my machine and how I can get this to work in Outlook 2007.