|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Installing a .net windows serviceI have recently built a .net windows service. This is a very simple
service that fires off a web service at a scheduled time. I then created a setup using the following microsoft guidelines. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon/html/vbwlkwalkthroughcreatingwindowsserviceapplication.asp I then ran the setup. The service never shows up in my list of services. Has anyone else run in to this problem or resolved this type of problem Thanks in advance for any help or advice
Show quote
Hide quote
"rockdady" <rockd***@sbcglobal.net> wrote in message You need to run "Installutil.exe servicename.exe" to install the service. news:1139436544.680615.25510@g14g2000cwa.googlegroups.com... >I have recently built a .net windows service. This is a very simple > service that fires off a web service at a scheduled time. I then > created a setup using the following microsoft guidelines. > > http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon/html/vbwlkwalkthroughcreatingwindowsserviceapplication.asp > > I then ran the setup. The service never shows up in my list of > services. > > Has anyone else run in to this problem or resolved this type of problem > > Thanks in advance for any help or advice > Then you can configure the service launching the Administrative Tools -> Services app. -- Al Reid This doesn't answer your question but I just wanted to comment: Anything
that involves "scheduling" is best done IMO with Window's built-in Task Scheduler... which many people don't realize doesn't need a logged-on user to run and allows you to execute a program using specific credentials exactly as if the program were a service. A lot of folks including commercial ISV's seem to want to reinvent this wheel. Be sure your scheduled task doesn't expect to interact with a windows form or
UI in some way or another. You can generally get away with a console interface that dumps data to stdout or stderr by redirecting the output to a file but a windows app may not work at all or may work intermittently and fail intermittently. For instance if the program is primarily a batch operation written in vb but it has some left over form window this may cause problems when running as a background task even if the form isn't referenced. -- Show quoteHide quoteVayTek Programmer "CMM" wrote: > This doesn't answer your question but I just wanted to comment: Anything > that involves "scheduling" is best done IMO with Window's built-in Task > Scheduler... which many people don't realize doesn't need a logged-on user > to run and allows you to execute a program using specific credentials > exactly as if the program were a service. A lot of folks including > commercial ISV's seem to want to reinvent this wheel. > > >
Threading
IsNumeric Bug or misunderstanding? what's the difference Function parameter function sorting inherited BindingList problem with localization Simple but difficult to find solution for loading HTML into object Help referencing a variable in HTML of an aspx page Strange behavior data-bound combobox SOAP with Attachments |
|||||||||||||||||||||||