From: sreehari on
We are trying to use the CDO (in .NET) objects to access Exchange server 2003.

Whenever I add the CDO 1.21 Library as a reference I get this message:

"A reference to 'Microsoft CDO 1.21 Library' could not be added. Could not
load the type library. Library not registered. (Exception from HRESULT:
0x8002801D (TYPE_E_LIBNOTREGISTERED))"

I've tried registering the DLL using regsvr32 which is going fine and the
message is “Dllregister server in cdo.dll succeeded”, but when tried to add
the reference to the application we are getting the same error. Could
anybody please throw some light on this.

We are using Visual Studio 2005 on a Windows XP box.