Re: Calling IMailboxStore.CreateMailbox fails

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Thanks a lot Joe!!!

Will do that ....

Cheers
Dimi
Joe Richards [MVP] schrieb:

Ok an error there means it isn't even getting into CDOEXM, that is
simply trying to get the object you are trying to mailbox enable. Not
sure what you could do to get an ops error there.

Get a network trace of the operation, that will have the extended error
info.

--
Joe Richards Microsoft MVP Windows Server Directory Services
Author of O'Reilly Active Directory Third Edition
www.joeware.net


---O'Reilly Active Directory Third Edition now available---

http://www.joeware.net/win/ad3e.htm


Dimi wrote:
Hi Joe,

done the steps with your tool.The result is the following:

In the step "Creating mailboxes ... " I am getting the following error:
ERROR: (ADsGetObject) (0x80072020) An operations error occurred.

So I am now again at the beginning....

Here are all parameters which I am using:

-h ADSERVER
-b CN=bbla,OU=Belgium,OU=Western,OU=EU,OU=All
Users,DC=rgp,DC=rc-corp,DC=com
-cr EXCHANGESERVER:EU:Western

Any ideas ?

Dimi



Joe Richards [MVP] wrote:
Can exchmbx create the mailbox if you specify the same URL? If not, what
if you don't use the URL but instead give exchmbx the info in the format
server:SG:DB?

http://www.joeware.net/win/free/tools/exchmbx.htm


joe

--
Joe Richards Microsoft MVP Windows Server Directory Services
Author of O'Reilly Active Directory Third Edition
www.joeware.net


---O'Reilly Active Directory Third Edition now available---

http://www.joeware.net/win/ad3e.htm


Dimi wrote:
Hi,

I got a serious problem with the recommended way of exchange mail box
creation.
The situation:
Environment W2k3 AD + Exchange 03

I have written now a program in C# where I can create AD accounts
(which is working fine).

Now, I have the requirement that I need to assign a mailbox to each
account I create.

But with the recommended way of mailbox creation:

CDOEXM.IExchangeMailbox mb =
(CDOEXM.IExchangeMailbox)entry.NativeObject;
mb.CreateMailbox(homeMDB);
entry.CommitChanges();

I get an error on the CreateMailbox call:
ComException with
"Unspecified error"
Error Code : -2147467259

I have checked almost everything like HomeMDB string, exchange rights
for the domain account which is trying to create the mailbox, etc.

But I have not found a way to get around it.

Can anyone point me to the right direction?


Dimi



.



Relevant Pages

  • Re: I was just wondering
    ... I think people are tried of false marketing claims ... Joe Richards Microsoft MVP Windows Server Directory Services ...
    (microsoft.public.security)
  • Re: Fix Tombstoned FSMO ?
    ... Joe Richards Microsoft MVP Windows Server Directory Services ... Ace Fekay wrote: ...
    (microsoft.public.windows.server.active_directory)
  • Re: Calling IMailboxStore.CreateMailbox fails
    ... Ok an error there means it isn't even getting into CDOEXM, that is simply trying to get the object you are trying to mailbox enable. ... Joe Richards Microsoft MVP Windows Server Directory Services ... for the domain account which is trying to create the mailbox, ...
    (microsoft.public.exchange.development)
  • Re: Sub OU Limitations
    ... Yep no problem Ace. ... Joe Richards Microsoft MVP Windows Server Directory Services ...
    (microsoft.public.windows.server.active_directory)
  • Re: Tool to import users and PASSWORDS into AD
    ... The version that handles CSV updates should be out within the next ... Joe Richards Microsoft MVP Windows Server Directory Services ...
    (microsoft.public.windows.server.active_directory)