MAPISession.SignOn Error

How can I resolve error 32053 (MAPI Failure: valid session ID does not exist)?  

It occurs when this line is executed:  MAPISession1.SignOn.

I've super-double checked the profile/password in Outlook and its correct.

Please advise...Thank you!
Who is Participating?
hesConnect With a Mentor Commented:
have you tried this ?

Const vbExchange As String = "MS Exchange Settings"
Const vbMessageResolveName = 13
Email1.MapiSess.UserName = vbExchange
MariaHaltAuthor Commented:
No.  I should have mentioned that it runs fine on my pc, but not the server.  The same profile is stored on each.  Also, we're running MS Outlook.  I'll give it a shot.
MariaHaltAuthor Commented:
Also, there is more than one profile.  If I use vbExchange as you suggested, how does it know which profile to use?
MariaHaltAuthor Commented:
After resetting the logon network security value, it seems to work as expected.  Very strange.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.