...Don't know if many people try to use this anymore but it is worth noting...
Receive MAPI_E_FAILONEPROVIDER when attempting to log on anonymously to Exchange 200x using CDO 1.21.
After anonymous log on to Exchange 200x using CDO 1.21, session object's AddressLists collection is empty.
In Exchange 200x there are several changes that affect using the anonymous log on method to gain access to Exchange:
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
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