John Joseph February 2016

MAPI_E_NETWORK_ERROR (not logged in) Redemption (using Outlook not MAPI standalone)

I have got my application working fine with the standalone MAPI (1.2.1 CDO) however after removing that and installing Outlook, I cannot get it working.

I get a MAPI_E_NETWORK_ERROR, which when I catch and return the exception message caught comes up with

System.Runtime.InteropServices.COMException: Not logged on. Please log on first

Do I have to do anything different to get this working with an outlook installation? This is thrown when doing

LogonExchangeMailbox(username, exserver)

Answers


Dmitry Streblechenko February 2016

MAPI_E_NETWORK_ERROR is a network access error. Is firewall active on that machine? Was your app added to the exclusion list?

Post Status

Asked in February 2016
Viewed 2,111 times
Voted 14
Answered 1 times

Search




Leave an answer