G
greg anderson
On a ServiceProcessInstaller, I set the account,
username, and password and I get the following exception.
I have made sure that the account exists and has
the "logon as a service" privilege.
{"No mapping between account names and security IDs was
done" }
[System.ComponentModel.Win32Exception]:
{System.ComponentModel.Win32Exception}
System.Object: {System.ComponentModel.Win32Exception}
_COMPlusExceptionCode: 0xe0434f4d
_className: null
_exceptionMethod: null
_exceptionMethodString: null
_message: "No mapping between account names and
security IDs was done"
_innerException: null
_helpURL: null
_stackTrace: {System.Array}
_stackTraceString: null
_remoteStackTraceString: null
_remoteStackIndex: 0x0
_HResult: 0x80004005
_source: null
_xptrs: 0x0
_xcode: 0xe0434f4d
Message: "No mapping between account names and
security IDs was done"
InnerException: null
TargetSite: {System.Reflection.RuntimeMethodInfo}
StackTrace: " at
System.ServiceProcess.ServiceProcessInstaller.GetAccountSid
(String accountName)
at System.ServiceProcess.ServiceProcessInstaller.Install
(IDictionary stateSaver)
at System.Configuration.Install.Installer.Install
(IDictionary stateSaver)
at AntexService.Installer.Install(IDictionary save) in
f:\crosswater\software\test\antexservice\installer.cs:line
57"
HelpLink: ""
Source: "System.ServiceProcess"
HResult: 0x80004005
username, and password and I get the following exception.
I have made sure that the account exists and has
the "logon as a service" privilege.
{"No mapping between account names and security IDs was
done" }
[System.ComponentModel.Win32Exception]:
{System.ComponentModel.Win32Exception}
System.Object: {System.ComponentModel.Win32Exception}
_COMPlusExceptionCode: 0xe0434f4d
_className: null
_exceptionMethod: null
_exceptionMethodString: null
_message: "No mapping between account names and
security IDs was done"
_innerException: null
_helpURL: null
_stackTrace: {System.Array}
_stackTraceString: null
_remoteStackTraceString: null
_remoteStackIndex: 0x0
_HResult: 0x80004005
_source: null
_xptrs: 0x0
_xcode: 0xe0434f4d
Message: "No mapping between account names and
security IDs was done"
InnerException: null
TargetSite: {System.Reflection.RuntimeMethodInfo}
StackTrace: " at
System.ServiceProcess.ServiceProcessInstaller.GetAccountSid
(String accountName)
at System.ServiceProcess.ServiceProcessInstaller.Install
(IDictionary stateSaver)
at System.Configuration.Install.Installer.Install
(IDictionary stateSaver)
at AntexService.Installer.Install(IDictionary save) in
f:\crosswater\software\test\antexservice\installer.cs:line
57"
HelpLink: ""
Source: "System.ServiceProcess"
HResult: 0x80004005