Partager via


MOSS 2007 - During password synchronization special characters are not passed.

SYMPTOMS:
==========

Error while completing the password synchronization of SharePoint 2003 or 2007 as per the KB article 934838

Expected: No Error message while running the stsadm commands.

Actual: One of the following errors may be seen as a result.

1) The password supplied with the username cor\s-mossdba was not correct. Verify that it was entered correctly and try again.

OR

2) The specified credentials are invalid. Parameter name: account.

CAUSE:
=======
Error is seen as the password is having special Character

RESOLUTION:
===========

Add double quotes when the password contains a special characters.

Example:

stsadm.exe -o osearch -farmserviceaccount DomainName\UserName -farmservicepassword <password&> should look like as given below.

stsadm.exe -o osearch -farmserviceaccount DomainName\UserName -farmservicepassword "password&"