Problem:
Administrator account with full permission gets the following message when deploying/updating a configuration. "The user name or password is incorrect".
ProfileUnity Server console log shows the following message.
2016-09-12 14:56:08 [26] INFO - Connecting to share '\\fileShare\YourFolder' using 'Domain\username'.
2016-09-12 14:56:08 [26] INFO - Connected to remote share.
2016-09-12 14:56:08 [26] ERROR - WebMessage Error: The user name or password is incorrect.
2016-09-12 14:56:08 [26] ERROR - System.IO.IOException: The user name or password is incorrect.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.Directory.InternalCreateDirectory(String fullPath, String path, Object dirSecurityObj, Boolean checkHost)
at System.IO.Directory.InternalCreateDirectoryHelper(String path, Boolean checkHost)
at ProfileUnity.WindowsManagement.FileSystem.WindowsFileManager.CopyToRemote(Byte[] bytes, String remotePath, String username, SecureString password, String domain, Boolean overwrite)
at ProfileUnity.Legacy.ClientTool.LegacyClientToolManager.Deploy(Byte[] bytes, String remoteFullPath, String username, SecureString password, String domain, Boolean overwrite)
at ProfileUnity.Web.Modules.Main.Api.ConfigurationModule.GetConfigurationScript(Object o)
Cause:
A very likely reason for this error (assuming no permission issues are involved) is that the administrator has recently changed a password. The administrator has changed his AD password, however, the cashed password on the PU server is still set to the old one.
Resolution:
The easiest way to fix this problem is to restart a VM that hosts ProfileUnity web console, and log in with new password.
Product: ProfileUnity
Product Version: 6.5.6 and above