Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Exchange
2000.active.directory
2000.admin
2000.announcements
2000.app.conversion
2000.applications
2000.clients
2000.clustering
2000.connectivity
2000.development
2000.documentation
2000.general
2000.information.store
2000.interop
2000.kms
2000.misc
2000.protocols
2000.realtime.collabo.
2000.setup
2000.transport
2000.win2000
admin
application.conversion
applications
clients
clustering
connectivity
design
development
misc
mobility
setup
tools
  
 
date: Thu, 9 Feb 2006 08:13:03 -0800,    group: microsoft.public.exchange2000.development        back       


Createmailbox error c1032227 "the obejct is of the wrong class"   
Attempting to create an Exchange 2003 mailbox using ASP, with domain admin 
account, I've got this error message : "The object is of the wrong class 
error id=c1032227 Microsoft CDO for Exchange Management -2147024809"

Technical environment:
Exchange 2003 v6.5.7226.0
Windows 2003 Server Standard Edition SP1
IIS 6
Native 2003 Active Directory environment

This is my code:
Set objuser = 
GetObject("LDAP://xx.yy.com/CN=username,CN=Users,DC=xx,DC=yy,DC=com")
Set objMailbox = objUser 'IMailboxStore interface
objMailbox.CreateMailbox "LDAP://CN=Banque de boƮtes aux lettres 1,CN=Banque 
1,CN=InformationStore,CN=EXCHANGESERVER,CN=Servers,CN=EXCHANGESITE,CN=Administrative 
Groups,CN=EXCHANGEORG,CN=Microsoft 
Exchange,CN=Services,CN=Configuration,DC=xx,DC=yy,DC=com"

Help or ideas would be very appreciated.
Regards
Jean
date: Thu, 9 Feb 2006 08:13:03 -0800   author:   Jean Giraud

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us