472,125 Members | 1,387 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

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

creating mailboxes on exchange 2003 clusters

I use C# to connect a database with student information directly to the
Active Directory (2003). This means that as the student is enlisted an
account and mailbox is created in the active directory. Creating users is
flawless en mailbox creating went perfect against a single exhange server
using code from KB article 313114 of which part is displayed below.

mailbox = (IMailboxStore)user.NativeObject;
mailbox.CreateMailbox(homeMDB);
user.CommitChanges();

Now I need to let this code run against an exhange cluster and I can't get
it to work. It gives "There is no such object on the server" errors. I
personally think that somhow the homeMDB url is incorrect. But I can't find
any information on what the differences might be between the path on a
cluster or 'normal' exchange machine. I traced the path using ldap browsers
and it looks to be correct.

Any insights are welcome.
Nov 16 '05 #1
1 1857
You don't post the value of the homeMDB parameter you are using. The homeMDB
should be in the form:

CN=MAILSTORENAME,CN=STORAGEGROUPNAME,
CN=InformationStore,CN=EXCHANGEVIRTUALSERVERNAME,
CN=Servers,CN=ADMINISTRATIVEGROUPNAME,
CN=Administrative Groups,CN=EXCHANGEORGNAME,
CN=Microsoft Exchange,CN=Services,
CN=Configuration,DC=DOMAIN,DC=COM

Replace captical valuenames with appropriate values. There is really no
difference in clustered or normal exhcange MDB paths... You can use ADSI
edit to locate the mailstore's distinguished name in active directory.
Arild
"B. Zuidgeest" <BZ********@discussions.microsoft.com> wrote in message
news:1D**********************************@microsof t.com...
I use C# to connect a database with student information directly to the
Active Directory (2003). This means that as the student is enlisted an
account and mailbox is created in the active directory. Creating users is
flawless en mailbox creating went perfect against a single exhange server
using code from KB article 313114 of which part is displayed below.

mailbox = (IMailboxStore)user.NativeObject;
mailbox.CreateMailbox(homeMDB);
user.CommitChanges();

Now I need to let this code run against an exhange cluster and I can't get
it to work. It gives "There is no such object on the server" errors. I
personally think that somhow the homeMDB url is incorrect. But I can't
find
any information on what the differences might be between the path on a
cluster or 'normal' exchange machine. I traced the path using ldap
browsers
and it looks to be correct.

Any insights are welcome.

Nov 16 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by Ron Vecchi | last post: by
3 posts views Thread by Sunil | last post: by
1 post views Thread by - Steve - | last post: by
1 post views Thread by Gerhard | last post: by
reply views Thread by leo001 | last post: by

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.