PC Review


Reply
Thread Tools Rate Thread

CDOEXM Issues

 
 
KPipher@simcoehealth.org
Guest
Posts: n/a
 
      13th Jun 2005
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.

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
CDOEXM dll reference Tommy Holm Jakobsen Microsoft C# .NET 0 9th Jul 2008 10:45 PM
.NET version of CDOExM? Gregory Gadow Microsoft Dot NET Framework 0 4th Apr 2006 09:05 PM
CDOEXM and ActiveDS =?Utf-8?B?R0c=?= Microsoft Outlook VBA Programming 0 9th Feb 2005 02:41 PM
CDOEXM in VB.Net Cary Microsoft Windows 2000 Active Directory 1 30th Aug 2004 09:32 PM
CDOEXM in C# =?Utf-8?B?QmFycnkgRyBGcmVlbWFu?= Microsoft Dot NET 4 2nd Mar 2004 09:54 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:17 PM.