Common CDO Errors

If you want your program to do more than just announce the fact that some error has occurred, you need to recognize the most common errors that can occur in different situations. This section details, by activity, the errors that are most commonly raised and what causes them. How you handle the error is dependent on your program, but knowing why it has occurred will help. Many of the errors described under one activity can actually occur in a variety of locations, a fact that is noted as each is covered.

Logging In

At the start of any work with CDO, you log in to your Session object, which establishes the connection between that instance of the CDO library and the underlying MAPI system. Many things can go wrong at this point ...

Get Exchange & Outlook®: Constructing Collaborative Solutions now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.