|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Creating a Windows Service (VS2005 - VB.NET) ProblemsI have created a new project in VB.NET that is a Windows Service. (Just writing a single event entry to the log, just to make sure it works) I have right-clicked in the designer and chosen Add Installer and modified the properties appropriately. I then added a Setup Project and built both solutions. I opened the Visual Studio 2005 Command Prompt and navigated to the bin/debug folder and ran installutil.exe myservicename.exe and it looked like it was going to work. The last message on the command prompt indicated that installation failed and that it was rolled back. I then opened the Application Event Log and saw a single error entry for my service. The error stated: "Service process could not connect to the service controller." How can I resolve this issue and get my service to connect to the service controller? Thanks! In your ProjectInstaller, have you added both the ServiceInstaller and the
ServiceProcessInstaller? These are both required. Show quoteHide quote "NathanC" <Nath***@discussions.microsoft.com> wrote in message news:009026E9-5B96-488F-AE8A-18AA9D07DC1D@microsoft.com... >I am trying to create a simple service since and have never done this >before. > > I have created a new project in VB.NET that is a Windows Service. > (Just writing a single event entry to the log, just to make sure it works) > > I have right-clicked in the designer and chosen Add Installer and modified > the properties appropriately. > > I then added a Setup Project and built both solutions. > > I opened the Visual Studio 2005 Command Prompt and navigated to the > bin/debug folder and ran installutil.exe myservicename.exe and it looked > like > it was going to work. The last message on the command prompt indicated > that > installation failed and that it was rolled back. > > I then opened the Application Event Log and saw a single error entry for > my > service. The error stated: > > "Service process could not connect to the service controller." > > How can I resolve this issue and get my service to connect to the service > controller? > > Thanks! >
Saving changes made in DataGridView
how to force a 'SyncWithCurrencyManager' update hex to unicode: problem Atomic Operation? Generic collection question One Last Class Question - Example that works Are codes ran in try blocks expensive? how to make a mouseup event called only once during a double click event? DefaultValueAttribute And Array Properties Strange float behaviour |
|||||||||||||||||||||||