Link to home
Start Free TrialLog in
Avatar of -Dman100-
-Dman100-Flag for United States of America

asked on

MSI Installer error: No mapping between account names and security ID's was done

I have created a windows service that I am trying to install on a target machine for testing.

When I tried to install the service by double-clicking the msi file, the installer issued this message:

Set Service Login
Username:
Password:
Password Confirmation:

After I entered my windows username and password, the installation failed with this message:

"No mapping between account names and security ID's was done."

The installer saved just two files in the target directory.

SforcePrototypeService.InstallState and TDB4BB.tmp

This is my first attempt at creating a windows service and setup/deployment project that installs the service.

I'm not sure what or where I am going wrong?

Any help is appreciated.

Thanks.
ASKER CERTIFIED SOLUTION
Avatar of Vadim Rapp
Vadim Rapp
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of -Dman100-

ASKER

Hi vadimrapp1,

yes, absolutely, the username and password are valid on the target machine.

Should the installer be asking for a username and password when installing a windows service?  When I added the installer, should I have specified LocalService or LocalSystem for the Account in the properties for ServiceProcessInstaller1?  It was set as User, which might be causing the problem.

This is my first windows service, so I'm somewhat novice at this.
Yes, usually all services run under one of those predefined accounts. In the past, everything was localsystem, then less privileged localservice and networkservice were added - the best practice is to use the account with the minimum required privileges. See this technet article for details.