Solved

MAPISession.SignOn Error

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
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…
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…

932 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now