Error: Identity Validation Error: "invalid username or password"
The following error occurs when entering username and password information into the ArcGIS .NET ADF impersonation control.
Identity Validation Error: "Invalid username or password : The impersonation cannot be set. Refer to the ESRI Knowledge Base for more details"
The administrator who installed Visual Studio .Net did not add the developer's account to the 'VS Developers' group on the Operating System. Without inclusion in this group, the developer cannot populate the impersonation control attributes.
This error can occur even if the developer is a member of the Administrators group on the machine.
Solution or Workaround
The developer's user account must be added to the VS Developers group.
- Right-click MyComputer and select Manage to open the Computer Management Dialog.
- Navigate to 'Local Users and Groups' > Groups and double-click VS Developers to open the property page.
- Add the developer's user account to this group and click Apply.
- Click OK.
Log off and log back on to the machine in order for the changes to take effect.