Createmailbox error C1032227 "Object 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=3Dc1032227 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 =3D
GetObject("LDAP://xx.yy.com/CN=3Dusername,CN=3DUsers,DC=3Dxx,DC=3Dyy,DC=3Dc=
om")
Set objMailbox =3D objUser 'IMailboxStore interface
objMailbox.CreateMailbox "LDAP://CN=3DBanque de bo=EEtes aux lettres
1,CN=3DBanque
1,CN=3DInformationStore,CN=3DEXCHANGESERVER,CN=3DServers,CN=3DEXCHANGESITE,=
CN=3DAdministrative
Groups,CN=3DEXCHANGEORG,CN=3DMicrosoft
Exchange,CN=3DServices,CN=3DConfiguration,DC=3Dxx,DC=3Dyy,DC=3Dcom"

Help or ideas would be very appreciated.
Regards
Jean

0
2/9/2006 4:04:45 PM
exchange.admin 57650 articles. 2 followers. Follow

0 Replies
396 Views

Similar Articles

[PageSpeed] 14

Reply:

Similar Artilces:

Createmailbox error C1032227 "Object 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=3Dc1032227 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 =3D GetObject("LDAP://xx.yy.com/CN=3Dusername,CN=3DUsers,DC=3Dxx,DC=3Dyy,DC=3Dc= om") Set objMailbox =3D objUser 'IMailboxStore interface objMailbox.CreateMailbox "LDAP://CN=3DBanq...