...Don't know if many people try to use this anymore but it is worth noting...
SYMPTOM
Receive MAPI_E_FAILONEPROVIDER when attempting to log on anonymously to Exchange 200x using CDO 1.21.
...OR...
After anonymous log on to Exchange 200x using CDO 1.21, session object's AddressLists collection is empty.
CAUSE
In Exchange 200x there are several changes that affect using the anonymous log on method to gain access to Exchange:
"/cn=com/cn=domainname/cn=servername"
RESOLUTION
Change your code to use a temporary (dynamic) profile as illustrated in the following article.
195662 How to log on to Exchange with the ProfileInfo parameter
http://support.microsoft.com/default.aspx?scid=kb;EN-US;195662
ADDITIONAL INFO
When using temporary profiles in an ASP application the account which the ASP code is running in must have access to the Exchange account used in the profile.
Refer to the following article for information on using temporary profiles in an ASP application.
254567 PRB: CDO:"MAPI_E_NOT_FOUND" Error When You Call Session.Logon
http://support.microsoft.com/default.aspx?scid=kb;EN-US;254567