This project has moved and is read-only. For the latest updates, please go here.

Getting ComPlusExceptionCode -532462766

Apr 12, 2013 at 10:19 AM
Edited Apr 12, 2013 at 10:30 AM
If i am doing this, i am getting ComPlusException
                    app = new Outlook.Application();
                    ns = app.GetNamespace("MAPI");
                    ns.Logon(null, null, false, false);

                } catch (Exception ex) {
I have set the references to NetOffice, OfficeAPI and OutlookAPI and embedded Interop-Type for OfficeAPI.
Target framework is .NET Framwork 4

What's wrong with this?
Apr 12, 2013 at 3:53 PM
Edited Apr 12, 2013 at 3:54 PM
In the end i have looked in the examples project and compared with mine, so i've got it done ;)
I have thrown away the try catch block, just to ease readability.