Error in setting user properties by import

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

I am trying to import via vb script and I am getting an error message.

Error 0X8007200A occurred in setting properties for user cn=ABC123

The user object is created but it is disable and the properties like sn,
givenname, displayname is not created.

Anybody know what this error message mean?

Thanks
Tony
 
John said:
I am trying to import via vb script and I am getting an error message.

Error 0X8007200A occurred in setting properties for user cn=ABC123

The user object is created but it is disable and the properties like sn,
givenname, displayname is not created.

Anybody know what this error message mean?

Hi,

I've never found error numbers useful. This one might mean a value specified
for an attribute is invalid. The error message should have given a line
number in the script where the error was raised. This often helps. In this
case, it's probably the line where you invoke the SetInfo method. This means
that one of the attributes has an invalid value, especially if the script
was successful for other user objects. There are many possible reasons. It
would help to see a code snippet and the attribute values that were assigned
when the error was raised.

Possible problems include:

An invalid character
A blank value
 
Richard Mueller said:
Hi,

I've never found error numbers useful. This one might mean a value specified
for an attribute is invalid. The error message should have given a line
number in the script where the error was raised. This often helps. In this
case, it's probably the line where you invoke the SetInfo method. This means
that one of the attributes has an invalid value, especially if the script
was successful for other user objects. There are many possible reasons. It
would help to see a code snippet and the attribute values that were assigned
when the error was raised.

Possible problems include:

An invalid character
A blank value
I never had a problem with the import before but I do noticed that all the
account I was importing was disabled. All the other value are not created
(displayname, sn, givename, extensionattribute1, extensionattribute2).

I was using the standard adduser vbscript from Windows 2000 resource kit.

Thanks.
 
Back
Top