Solved

MAPISession.SignOn Error

Posted on 2004-04-29
4
1,918 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: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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

Suggested Solutions

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…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

738 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