CDO.Person - Component Not Registered
Exchange Server Forum Index Exchange Server
Discussion forums for Microsoft Exchange Server users.
Microsoft Outlook
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web ExchangeServerHelp.com
CDO.Person - Component Not Registered

 
Post new topic   Reply to topic    Exchange Server Forum Index -> Development
Author Message
dln
Guest





Posted: Fri Aug 12, 2005 12:19 am    Post subject: CDO.Person - Component Not Registered Reply with quote

Hello all,

I'm trying to write a C# application that uses CDO and CDOEXM via interop
assemblies. The application works if it's run on a fully installed Exchange
(2003) server. However, if I attempt to run the same application on a
system that has only the Exchange Management Tools installed, I get the
error "{"COM object with CLSID {CD000107-8B95-11D1-82DB-00C04FB1625D} is
either not valid or not registered." }" when I attempt the following call:

CDO.Person contact = new CDO.PersonClass();

I can run regsvr32 on both cdo.dll and cdoexm.dll with no errors, but this
doesn't fix the problem. The software being developed needs to be sitting
on a publicly available web site and therefore I would prefer that it
doesn't sit on on an Exchange Server. Unfortunately I don't see any other
options if I'm tied to using CDO and CDOEXM. So I'm wondering if there's
any way to use CDO without running the code on an Exchange server (i.e. is
there some way to register the appropriate COM components event though MS
states that you should register them yourself)?

Alternatively, is there a way to create mail-enabled contacts (recipients)
and distribution lists using an alternate method such as WebDAV? I've seen
several examples on how to create public folders and calendar items with
WebDAV, but the only example I've seen where an AD contact entry is created
doesn't seem to mail-enable the contact. I've yet to find a WebDAV examples
that demonstrates how to create a mail enabled distribution list. Does
anybody have any suggestions or tips?

Thanks,

dln

Back to top
dln
Guest





Posted: Fri Aug 12, 2005 4:59 pm    Post subject: Re: CDO.Person - Component Not Registered Reply with quote

I got past the COM object not registered error - it turns out you need to
run regsvr32 on cdo.dll, cdoexm.dll and cdoex.dll - once the third dll was
registered, things worked like a charm! Still, does anybody know how to go
about creating mail-enabled recipients and distribution lists via WebDAV?

Thanks again,

dln

"dln" <dnadon_nospm@hotmail.com> wrote in message
news:OzezdmqnFHA.3408@tk2msftngp13.phx.gbl...
Quote:
Hello all,

I'm trying to write a C# application that uses CDO and CDOEXM via interop
assemblies. The application works if it's run on a fully installed
Exchange (2003) server. However, if I attempt to run the same application
on a system that has only the Exchange Management Tools installed, I get
the error "{"COM object with CLSID {CD000107-8B95-11D1-82DB-00C04FB1625D}
is either not valid or not registered." }" when I attempt the following
call:

CDO.Person contact = new CDO.PersonClass();

I can run regsvr32 on both cdo.dll and cdoexm.dll with no errors, but this
doesn't fix the problem. The software being developed needs to be sitting
on a publicly available web site and therefore I would prefer that it
doesn't sit on on an Exchange Server. Unfortunately I don't see any other
options if I'm tied to using CDO and CDOEXM. So I'm wondering if there's
any way to use CDO without running the code on an Exchange server (i.e. is
there some way to register the appropriate COM components event though MS
states that you should register them yourself)?

Alternatively, is there a way to create mail-enabled contacts (recipients)
and distribution lists using an alternate method such as WebDAV? I've
seen several examples on how to create public folders and calendar items
with WebDAV, but the only example I've seen where an AD contact entry is
created doesn't seem to mail-enable the contact. I've yet to find a
WebDAV examples that demonstrates how to create a mail enabled
distribution list. Does anybody have any suggestions or tips?

Thanks,

dln
Back to top
Jeffrey Lathrop
Guest





Posted: Sat Aug 20, 2005 6:07 am    Post subject: Re: CDO.Person - Component Not Registered Reply with quote

WebDav is not a management component, it allows access to mailbox/public
folder resources(the mailbox or public folder must exist before webdav has
any affect). It allows you to create folders and folder content, not the
parent folder(container).
--
Jeffrey Lathrop
Network Systems Administrator


"dln" wrote:

Quote:
I got past the COM object not registered error - it turns out you need to
run regsvr32 on cdo.dll, cdoexm.dll and cdoex.dll - once the third dll was
registered, things worked like a charm! Still, does anybody know how to go
about creating mail-enabled recipients and distribution lists via WebDAV?

Thanks again,

dln

"dln" <dnadon_nospm@hotmail.com> wrote in message
news:OzezdmqnFHA.3408@tk2msftngp13.phx.gbl...
Hello all,

I'm trying to write a C# application that uses CDO and CDOEXM via interop
assemblies. The application works if it's run on a fully installed
Exchange (2003) server. However, if I attempt to run the same application
on a system that has only the Exchange Management Tools installed, I get
the error "{"COM object with CLSID {CD000107-8B95-11D1-82DB-00C04FB1625D}
is either not valid or not registered." }" when I attempt the following
call:

CDO.Person contact = new CDO.PersonClass();

I can run regsvr32 on both cdo.dll and cdoexm.dll with no errors, but this
doesn't fix the problem. The software being developed needs to be sitting
on a publicly available web site and therefore I would prefer that it
doesn't sit on on an Exchange Server. Unfortunately I don't see any other
options if I'm tied to using CDO and CDOEXM. So I'm wondering if there's
any way to use CDO without running the code on an Exchange server (i.e. is
there some way to register the appropriate COM components event though MS
states that you should register them yourself)?

Alternatively, is there a way to create mail-enabled contacts (recipients)
and distribution lists using an alternate method such as WebDAV? I've
seen several examples on how to create public folders and calendar items
with WebDAV, but the only example I've seen where an AD contact entry is
created doesn't seem to mail-enable the contact. I've yet to find a
WebDAV examples that demonstrates how to create a mail enabled
distribution list. Does anybody have any suggestions or tips?

Thanks,

dln





Back to top
 
Post new topic   Reply to topic    Exchange Server Forum Index -> Development All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




Windows Server Dedicated Servers
Contact Us
New Topics Powered by phpBB