By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,369 Members | 1,138 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,369 IT Pros & Developers. It's quick & easy.

creating mailboxes on exchange 2003 clusters

P: n/a
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
Share this Question
Share on Google+
1 Reply


P: n/a
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.