Home » Bulk AD Users » changing the "title" in AD Messages in this topic - RSS
|
3/25/2011 4:22:33 AM
lanky_bob
lanky_bob
Posts 1
My Rating:Vote Rating:Not Rated Views:3Source:www.wisesoft.co.uk
--------------------------------------------------------------------------------


Hi Folks,

I'm trying to update the job title using "title" in active directory using "Bulk password control" but i keep getting the error "Detail: A constraint violation occurred. (Exception from HRESULT: 0x8007202F)"

Can anyone throw any light on why this error is occuring? everything else updates fine.

Bob

Attachments:
title error.jpg


4/1/2011 3:37:36 AM
admin
admin
Posts 401
Hi,

I think the new value might be too long for the title attribute. I can see that you are replacing "Computer Services Technician" with a shorter string "it technician", but there could be some whitespace characters at the end of the string. I attempted the same update myself and it worked fine. I then added a number of whitespace characters to the end of the string and I was able to produce the same error.

Hope this helps,

David
10/27/2011 4:47:48 AM
aingham
aingham
Posts 2
I am getting the same error message when trying to change the 'Description' attribute.
All other attributes change ok. I have tried different string, but all fail. This is a Windows 2000 domain.
Any help would be greatly appreciated. Adam
10/30/2011 11:58:33 AM
admin
admin
Posts 401
aingham wrote:
I am getting the same error message when trying to change the 'Description' attribute.
All other attributes change ok. I have tried different string, but all fail. This is a Windows 2000 domain.
Any help would be greatly appreciated. Adam


Hi,

I don't have any problems updating the description attribute. What method are you using to update it - CSV Update, Edit In Excel or Bulk Modify? Also, can you post a sample value that is failing?

Thanks,

David
10/31/2011 4:14:02 AM
aingham
aingham
Posts 2
I have tried using 'Edit In Excel' and Bulk Modify, they both fail with the error:

(Error): description - Failure: A constraint violation occurred. (Exception from HRESULT: 0x8007202F)

I have tried using just a one letter string, just in case the string was too long, but this also failed, so its not the length of the string.

Thanks, Adam
11/1/2011 1:31:27 PM
admin
admin
Posts 401
Are you able to edit the attribute in Active Directory Users and Computers? Also have you tried updating a user account using a script like the one below:


set objUser = GETOBJECT("LDAP://CN=MyUser,OU=MyOU,DC=wisesoft,DC=co,DC=uk")

objUser.Put "Description","Test"
objUser.SetInfo

wscript.echo "OK"


Please change the bold text to point to a user in your domain. Let me know how you get on.

Thanks,

David
11/21/2011 8:23:32 AM
cybersaga
cybersaga
Posts 4
This may not be the issue, but in my own .NET development talking to AD, I found that the description attribute is multi-valued, but has a constraint saying it must only contain one value. So if you're going by what the schema says and treat it as a multi-valued attribute, things might not work depending on the environment. I had to make an exception just for the description field. I'm not sure how Bulk Modify implements it.

See here: http://msdn.microsoft.com/en-us/library/windows/desktop/ms675492(v=VS.85).aspx

Specifically this: "This value is restricted as single-valued for backward compatibility in some cases but is allowed to be multi-valued in others."
edited by cybersaga on 11/21/2011
5/9/2019 2:29:41 AM
xiaoou
xiaoou
Posts 127
cheap air jordans
christian louboutin
pandora jewelry canada
coach outlet online
coach factory outlet
under armour shoes
michael kors factory outlet
adidas ultra boost
kate spade outlet
michael kors outlet canada
coach factory outlet
coach outlet online
ray ban sunglasses
ralph lauren outlet online
ralph lauren polo
coach outlet online
pandora charms
coach factory outlet online
rolex watches
manolo blahnik outlet
stone island sale
michael kors outlet
asics running shoes
true religion jeans
coach factory outlet online
nobis jackets
moncler jackets
soccer shoes
pandora jewelry canada
prada sunglasses
pandora jewelry outlet
michael kors outlet clearance
gucci outlet online
louis vuitton outlet store
ferragamo outlet
nike outlet store
michael kors outlet online
yeti cup
mcm outlet store
mont blanc
cheap jordan shoes
snapback hats
coach outlet online
coach handbags
cheap jordans
fjallraven kanken
air jordan shoes
coach outlet online
coach outlet store
ralph lauren polo
birkenstock shoes
louis vuitton outlet online
christian louboutin shoes
pandora charms
cardinals jerseys
air max plus
coach purse
coach outlet store online clearance
ralph lauren uk
coach outlet sale
coach outlet online
nike outlet
lacoste polo shirts
jaguars jersey
canada goose outlet store
hermes bags
coach bags
red sox jerseys
polo ralph lauren outlet
mcm outlet
pandora charms outlet
michael kors outlet online
denver broncos jersey
fitflops
nike air force 1
jets jersey
cheap ray ban sunglasses
coach factory outlet
coach outlet online
twins jerseys
nike factory store
coach outlet online
coach outlet store online
north face outlet
air jordan shoes
cubs jerseys
coach outlet online
christian louboutin outlet
nike sneakers
coach factory outlet online
nike blazer
birkenstocks
coach outlet online
true religion outlet
cheap jordan shoes
guess clothing
asics shoes
nike max
david yurman
falcons jerseys
nba jerseys
yankees jerseys
david yurman
cheap mlb jerseys
maui jim
uggs outlet
kate spade outlet online
juicy couture
canada goose coats
miu miu shoes
kate spade outlet
timberland boots
miu miu shoes
ralph lauren polo
pandora canada
coach outlet
ronaldo jerseys
cincinnati reds jerseys
coach factory outlet online
philipp plein outlet
converse英国官网
air huarache
kappa clothing
mac makeup
ralph lauren outlet online
canada goose
raiders jerseys
retro 11
air jordan shoes
nike outlet store
nike factory store
stone island sale
marc jacobs handbags
browns jerseys
coach factory outlet online
coach outlet online
coach handbags
kate spade outlet online
fitflops
coach outlet canada
coach canada outlet
nike outlet online
pandora charms sale clearance
coach outlet store online
pandora jewelry outlet
coach outlet online
coach factory outlet
coach outlet online
kate spade handbags
coach handbags
kate spade outlet online
david yurman
pandora charms
polo outlet
coach outlet online
mac cosmetics
nike tn
christian louboutin shoes
pandora charms sale clearance
hydro flask cup
fitflops sale clearance
dolce & gabbana Outlet
coach outlet online
adidas outlet online
persol sunglasses
coach factory outlet store
air max
swarovski jewelry outlet
coach factorty outlet online
bathing ape
jordan shoes
moncler pas cher
converse shoes
fivefingers shoes
costa sunglasses sale
vans sneakers
coach outlet store
ugg
converse shoes
coach outlet store
cheap handbags
coach outlet store online
christian louboutin shoes
pandora charms
toms shoes
coach outlet store
coach outlet online
gymshark sale
cheap maui jim sunglasses
off white clothing
minnesota vikings jersey
kate spade outlet online
kobe shoes
true religion jeans
ralph lauren outlet
mlb jerseys
cheap soccer jerseys
michael kors outlet clearance
mbt shoes
phillies jerseys
chi flat iron
pages: 1
|

Home » Bulk AD Users » changing the "title" in AD