Blog focused on software development, configuration management, Amazon, Microsoft and related technologies
Showing posts with label Service Installer. Show all posts
Showing posts with label Service Installer. Show all posts
Thursday, January 28, 2010
All Your .base
I encountered some issues with a .NET service installer embedded into an .MSI package today. If you have classes dependent upon service startup in your installer and the service fails to start you will often get some unexpected and often cryptic messages. It gets even worse if your messages are relating to event log messages that wont write because of permissions or other similar issues. One gotcha I am guilty of was using EventLog instead of base.EventLog. I also failed to set the event log location when calling the static version of the method calls. By using base.EventLog the ServiceBase class creates an event log source and applies all messages to the Application log. Do this and all event log messages are not belong to us.
Monday, March 23, 2009
Error 1001. No mapping between account names and security IDs was done during msi installation
I have had a hard time finding out how to fix this message in my case it turned out to be a situation
where the user name and password used to install a .net service using the serviceinstaller were incorrect. Would have
been nice if the message said something like the user name and password are incorrect.
Labels:
.NET,
C#,
Error 1001,
Installation,
MSI,
Service Installer
Subscribe to:
Posts (Atom)