473,395 Members | 1,377 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,395 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 1682
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:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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:
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.