You are right Willy. In fact, I've two test environments:
1- Win2000, Exchange installed - everything works fine
2- Win2003, without Exchange - tests fails
I just create manually all the extensionAttributeN in win2003 (using the
same data than un Win2000)
but now if I include some extensionAttribute on my addUser method throws an
exception (If I don't include any extensionAttribute everything works fine)
Exception: The requested operation did not satisfy one or more constraints
associated with the class of the object.
Any Idea
> These are exchange extension attributes, did you migrate a W2K AD to W2K3 AD
> or did you upgrade an existing W2K AD domain?
[quoted text clipped - 20 lines]
> >
> > invocarPropiedad(ref
objNuevoUsuario,"Description",v_objContenedorUsuario.obtenerDescripcion());
> > invocarPropiedad(ref
> > objNuevoUsuario,"sAMAccountName",v_objContenedorUsuario.obtenerLogin());
[quoted text clipped - 5 lines]
> >
> > invocarPropiedad(ref
objNuevoUsuario,"extensionAttribute1",v_objContenedorUsuario.obtenerCedula()
> > );
> >
> > /*
> >
> > invocarPropiedad(ref
objNuevoUsuario,"extensionAttribute2",v_objContenedorUsuario.obtenerCorreoEl
> > ectronico());
> >
> > invocarPropiedad(ref
objNuevoUsuario,"extensionAttribute3",v_objContenedorUsuario.obtenerDepartam
> > ento());
> >
> > invocarPropiedad(ref
objNuevoUsuario,"extensionAttribute4",v_objContenedorUsuario.obtenerEntidad(
> > ));
> >
> > invocarPropiedad(ref
objNuevoUsuario,"extensionAttribute5",v_objContenedorUsuario.obtenerJefeDire
> > cto());
> >
> > invocarPropiedad(ref
objNuevoUsuario,"extensionAttribute6",v_objContenedorUsuario.obtenerNombre()
> > );
> >
> > invocarPropiedad(ref
objNuevoUsuario,"extensionAttribute7",v_objContenedorUsuario.obtenerPrimerAp
> > ellido());
> >
> > invocarPropiedad(ref
objNuevoUsuario,"extensionAttribute8",v_objContenedorUsuario.obtenerPuesto()
> > );
> >
> > invocarPropiedad(ref
objNuevoUsuario,"extensionAttribute9",v_objContenedorUsuario.obtenerSegundoA
> > pellido());
> >
> > invocarPropiedad(ref
objNuevoUsuario,"extensionAttribute10",v_objContenedorUsuario.obtenerTelefon
> > o());
> >
[quoted text clipped - 42 lines]
> >> Paul ~~~ pclement@ameritech.net
> >> Microsoft MVP (Visual Basic)
Paul Clement - 30 Apr 2004 15:28 GMT
¤ You are right Willy. In fact, I've two test environments:
¤
¤ 1- Win2000, Exchange installed - everything works fine
¤ 2- Win2003, without Exchange - tests fails
¤
¤ I just create manually all the extensionAttributeN in win2003 (using the
¤ same data than un Win2000)
¤
¤ but now if I include some extensionAttribute on my addUser method throws an
¤ exception (If I don't include any extensionAttribute everything works fine)
¤
¤ Exception: The requested operation did not satisfy one or more constraints
¤ associated with the class of the object.
¤
Can you try adding one extension attribute at a time until you trigger the error? This will allow
you identify the attribute in question (if it isn't all of them).
The error seems to indicate that there is a configuration or data related issue. It could be a data
validation issue or possibly a relationship between attributes that is being violated.
Paul ~~~ pclement@ameritech.net
Microsoft MVP (Visual Basic)