Solved

MAPISession.SignOn Error

Posted on 2004-04-29
4
1,922 Views
Last Modified: 2010-05-18
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!
0
Comment
Question by:MariaHalt
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 20

Accepted Solution

by:
hes earned 50 total points
ID: 10953224
have you tried this ?

Const vbExchange As String = "MS Exchange Settings"
Const vbMessageResolveName = 13
Email1.MapiSess.UserName = vbExchange
Email1.MapiSess.SignOn
0
 

Author Comment

by:MariaHalt
ID: 10953373
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.
0
 

Author Comment

by:MariaHalt
ID: 10959395
Also, there is more than one profile.  If I use vbExchange as you suggested, how does it know which profile to use?
0
 

Author Comment

by:MariaHalt
ID: 10963690
After resetting the logon network security value, it seems to work as expected.  Very strange.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question