473,408 Members | 1,822 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,408 software developers and data experts.

CDOEXM Issues

Hello,

I'm having trouble implementing the CDOEXM Namespace in an asp.net
application (VB.NET). I've read many conflicting discussions
surrounding the use of CDOEXM remotely and would appreciate any
constructive insight.

Our basic server setup is as follows:

Server 1 (Webserver):
Windows Server 2003 Enterprise Edition.
IIS 6.0 / .NET 1.1
Exchange Management tools installed

Server 2 (Active Directory Server):
Windows Server 2003 Enterprise Edition
Active Directory

Server 3 (Exchange Server):
Exchange Server 2003

I'm trying to programatically create a new mailbox enabled user in AD.
I'm using ADSI and the System.DirectoryServices namespace to first
create the user in AD, which works without any problems. However I
cannot get the CDOEXM portion to work. The code I need to work is only
a few lines, basically as follows:

Imports CDOEXM
Dim user As New DirectoryEntry("LDAP Path to User Object")
Dim mbx as IMailboxStore = user.NativeObject
mbx.CreateMailbox("LDAP Path to MailBox Store Location")
user.CommitChanges

I get a compilation error, stating that the CDOEXM namespace is
unknown? i.e.:
Compiler Error Message: BC30466: Namespace or type 'CDOEXM' for the
Imports 'CDOEXM' cannot be found.

So my questions are:

1. Is CDOEXM usuable in .NET on a separate machine from Exchange
(2003), as long as the Exchange Management tools are installed on the
remote machine?

2. If so, what are the steps required after installing the management
tools on the remote machine?

3. Can I reference the CDOEXM namespace from a codebehind file? or does
it have to be from within a compilied .NET assembly?
Any help or suggestions would be greatly appreciated.

Thanks.

Nov 19 '05 #1
0 1084

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

Similar topics

0
by: Erick Bodine | last post by:
I am trying to get a list of Storage Groups on an Exchange Server (E2K) with an eye towards deleting/creating more. I am going off of the Exchange SDK docs in msdn...
0
by: Dave Spina | last post by:
I have been working with the System.DirectoryServices namespace and the CDOEXM COM objects in a recent project. After probing the CDOEXM object set for a while I noticed that beyond the usual...
4
by: Barry G Freeman | last post by:
I'm fairly new to C# and I need to be able to enumerate the storage groups and mailstores on our Exchange 2k server. So far, i've figured out that I need to ue CDOEXM which I've added as a COM...
0
by: Ingram Leedy | last post by:
Hi, I am using the example from Microsoft Knowledge Base Article - 313114, "HOW TO: Create a MailBox-Enabled Recipient by using C#.NET". The WindowsXP computer is part of the Microsoft 2003...
1
by: TM | last post by:
Greetings, I've more or less figured out how to get a list of users who have access to a particular user's mailbox (code below), but I'm stumped as to how to get a list of users that a particular...
0
by: TM | last post by:
Greetings, I've more or less figured out how to get a list of users who have access to a particular mailbox (code below), but I'm stumped as to how to get a list of mailboxes that a particular user...
8
by: Rob Edwards | last post by:
When trying to add the Microsoft CDO for Exchange Management Library (aka CDOEXM.dll) I receive the following message: "A reference to 'Microsoft CDO for Exchange Management Library' could not be...
0
by: Mandy | last post by:
Hi, I am trying to create a exchange mailbox-enabled user on Exchange Server 2003 via w ASP.NET web applcation (written in C#). I can create the user successfully but when I try to create the...
0
by: Tommy Holm Jakobsen | last post by:
Hi, In my csproj, how can I add a reference to the CDOEXM library, so I can manage my Exchange 2003 server remotely? According to the following URL, I have to install the "Exchange Management...
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
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
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

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.