473,394 Members | 1,879 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

CDO.Person problem

I am running Exchange 2003 on a Windows 2003 Active Directory.
I am trying to mailbox-enable a user account with VB.NET.
Dim person As CDO.Person
Dim mailbox As CDOEXM.IMailboxStore
person = New CDO.Person
person.DataSource.Open("...")
mailbox = person
mailbox.CreateMailbox("...")
It is failing on person = New CDO.Person. It gives me the following
error:
System.Runtime.InteropServices.COMException: COM object with CLSID
{CD000107-8B95-11D1-82DB-00C04FB1625D} is either not valid or not
registered.

The Exchange System Manager is installed on this Domain Controller and
I have manually copied cdo.dll, cdoexm.dll and cdoex.tlb to
c:\windows\system32. I regsitered cdo.dll manually, but cdoexm.dll
failed to register every time I tried.
Does anyone have any suggestions? Thanks!

Jul 21 '05 #1
1 1681
Jason,
See the microsoft.public.dotnet.languages.vb newsgroup for my comments.

Hope this helps
Jay
"Jason" <ja*************@hotmail.com> wrote in message
news:11*********************@c13g2000cwb.googlegro ups.com...
I am running Exchange 2003 on a Windows 2003 Active Directory.
I am trying to mailbox-enable a user account with VB.NET.
Dim person As CDO.Person
Dim mailbox As CDOEXM.IMailboxStore
person = New CDO.Person
person.DataSource.Open("...")
mailbox = person
mailbox.CreateMailbox("...")
It is failing on person = New CDO.Person. It gives me the following
error:
System.Runtime.InteropServices.COMException: COM object with CLSID
{CD000107-8B95-11D1-82DB-00C04FB1625D} is either not valid or not
registered.

The Exchange System Manager is installed on this Domain Controller and
I have manually copied cdo.dll, cdoexm.dll and cdoex.tlb to
c:\windows\system32. I regsitered cdo.dll manually, but cdoexm.dll
failed to register every time I tried.
Does anyone have any suggestions? Thanks!

Jul 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

28
by: Steve Bywaters | last post by:
There are several hundred of my client's franchisees happily accessing my ASP/VBscript web site... but one - just one - has reported the following: "I have been trying to log onto the LSM since...
2
by: Remco Groot Beumer | last post by:
Hello I've created an ASP.NET page, which uses some variables which are set after login. When person A logs in, a new public object is instanced (i'm not sure if that is a correct word), after...
5
by: Jason | last post by:
I am running Exchange 2003 on a Windows 2003 Active Directory. I am trying to mailbox-enable a user account with VB.NET. Dim person As CDO.Person Dim mailbox As CDOEXM.IMailboxStore person =...
26
by: Martin Jørgensen | last post by:
Hi, I don't understand these errors I get: g++ Persort.cpp Persort.cpp: In function 'int main()': Persort.cpp:43: error: name lookup of 'j' changed for new ISO 'for' scoping Persort.cpp:37:...
1
by: Jamie J. Begin | last post by:
I'm very new to the world of Python and am trying to wrap my head around it's OOP model. Much of my OOP experience comes from VB.Net, which is very different. Let's say I wanted to create an...
21
by: phpCodeHead | last post by:
Code which should allow my constructor to accept arguments: <?php class Person { function __construct($name) { $this->name = $name; } function getName()
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.