If you are using the ExOleDB provider on Exchange 2007 it might fail with this error message:
Error : Provider cannot be found. it may not be properly installed. / 800A0E7A / ADODB.Connection
I know of two errors which can cause this message:
- Your are trying to access the ExOleDB provider from a 32bit process. Exchange 2007 is completely 64bit. This typically breaks old Visual Basic programs or scripts running under the 32bit version of the Windows Scripting Host. To check this, open the Task manager and search for the process name under the "Processes" tab. If the process name is appended with a *32, it runs as a 32bit process.
- The COM registration of the ExOleDB provider is messed up. This can be fixed by calling Regsvr32 "C:\Program Files\Exchsrvr\bin\exodbprx.dll".