Open Specifications Developer Center > Open Specifications Forums > Using the Exchange Server Protocols > Unable to create mailbox using createmailbox function of CDOEXM by logging as authorised user
Ask a questionAsk a question
 

AnswerUnable to create mailbox using createmailbox function of CDOEXM by logging as authorised user

  • Friday, September 11, 2009 5:24 AMABBhagwat Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    We are calling CDOEXM createmailbox function through ASP VB code.

    We have already done impersonation.

    Our setup is like below

     

    Our AD is installed on Windows 2008 server x64 bit

    Exchange 2k3 server installed on Windows 2k3 x86

    Our product from where create mailbox call is made is installed on   Windows 2k3 x86.

     

    Now createmailbox call fails when we log in as trustee (Authorized user)who is having rights to create mailbox on exchange server 2k3(We have tried all rights from Exchange view only administrator to exchange full administrator). Trustee has also rights to create objects like Groups, user etc in AD.

     

    We get error as below

    Error: 800407D0 : The object is of the wrong object class

     

     

    The same thing was working fine when in the above setup we have AD installed on windowsServer 2003 x86.

     

    Also the call succeeds if we add trustee in local administrator group of the machine where our product is installed.

     

    We don't want to add trustee in local administrator group and looking for other solutions

     

    Regards,

     

    ABB

Answers

All Replies