Solved

MAPISession.SignOn Error

Posted on 2004-04-29
4
1,910 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
  • 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

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Restricting text box entry from \/:?<>"| 9 88
passing parameter in sql procedure 9 63
MS Date Picker 64 bit 32 bit issue 12 55
MS Access 03, TransferText, decimal places 8 72
Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
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…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

803 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