G
Guest
Hello all I prepared a windows service and tried to install it with a small
bat like this:
@ECHO OFF
REM The following directory is for .NET 2.0
set DOTNETFX2=%SystemRoot%\Microsoft.NET\Framework\v2.0.50727
set PATH=%PATH%;%DOTNETFX2%
echo Installing WindowsService...
echo ---------------------------------------------------
InstallUtil /i TSMService.exe
echo ---------------------------------------------------
net start TSMService
echo Done.
and also with setup project.
On my company machines it works great, but on my client machine I get this
error:
Running a transacted installation.
Beginning the Install phase of the installation.
See the contents of the log file for the C:\APPs\TSMService\TSMService.exe
assembly's progress.
The file is located at C:\APPs\TSMService\TSMService.InstallLog.
An exception occurred during the Install phase.
System.ComponentModel.Win32Exception: No mapping between account names and
security IDs was done
The Rollback phase of the installation is beginning.
See the contents of the log file for the C:\APPs\TSMService\TSMService.exe
assembly's progress.
The file is located at C:\APPs\TSMService\TSMService.InstallLog.
The Rollback phase completed successfully.
The transacted install has completed.
There are hundreds of questions like this in forums but I haven't found a
solution that works or a tutorial that will show step by step on how to
install a service
Anyone has an Idea on how to solve this bug?
Thanx
Itzik
bat like this:
@ECHO OFF
REM The following directory is for .NET 2.0
set DOTNETFX2=%SystemRoot%\Microsoft.NET\Framework\v2.0.50727
set PATH=%PATH%;%DOTNETFX2%
echo Installing WindowsService...
echo ---------------------------------------------------
InstallUtil /i TSMService.exe
echo ---------------------------------------------------
net start TSMService
echo Done.
and also with setup project.
On my company machines it works great, but on my client machine I get this
error:
Running a transacted installation.
Beginning the Install phase of the installation.
See the contents of the log file for the C:\APPs\TSMService\TSMService.exe
assembly's progress.
The file is located at C:\APPs\TSMService\TSMService.InstallLog.
An exception occurred during the Install phase.
System.ComponentModel.Win32Exception: No mapping between account names and
security IDs was done
The Rollback phase of the installation is beginning.
See the contents of the log file for the C:\APPs\TSMService\TSMService.exe
assembly's progress.
The file is located at C:\APPs\TSMService\TSMService.InstallLog.
The Rollback phase completed successfully.
The transacted install has completed.
There are hundreds of questions like this in forums but I haven't found a
solution that works or a tutorial that will show step by step on how to
install a service
Anyone has an Idea on how to solve this bug?
Thanx
Itzik