Creating Exchange Mailbox

S

- Steve -

I can create a mailbox using ASP.NET if I authenticate the administrator
using IIS authentication. I've switched to forms based authentication,
authenticating against AD, and everything is working fine except for the
creation of mailboxes. I can create the user fine, but when I try to
mailbox enable the user it throws the message, "Catastrophic failure".

Here's the code I'm using

CDOEXM.IMailboxStore mailboxStore = (IMailboxStore)objUser.NativeObject;

//this line below is where it fails

mailboxStore.CreateMailbox(myMailboxStore); //myMailboxStore is a String
of the DN of the database on Exchange

objUser.CommitChanges();


--

Steve Evans
Email Services
SDSU Foundation
(619) 594-0708
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top