I'm writing a Windows Service in C#. I have a samba share on a linux server that I can browse/read/write from the windows machine, and I have it mapped to a drive letter. The Windows service is running as the SYSTEM user and cannot write to the share.
What should I change?
...
Hi,
I have this question from a client, to run some database scripts on a daily or biweekly basis, depending on the type of period. They have defined a 'busy' period and a 'quiet' period. They are using shared hosting for their applications and they can't add SQL Server jobs to their database.
What I want to do is create a windows serv...
I have some WCF services that are hosted in a windows service. Yesterday I looked at Task Manager and noticed that the CPU time for my windows service process was over 5 hours, while the majority of all other processes were at 0.
What does that mean?
Should I be concerned that the CPU Time was 5+ hours?
...
I'm writing a Windows Service that needs to take a file from an FTP folder on the local computer and parse the data in that file, and push it to an external source. The file will be uploaded to the FTP folder at some point from some other party, and I can't predict when the file will be uploaded. I need the service to be able to scan t...
The title says it all, really. I know this is largely an opinion, but I'm interested if you have one and what your reasons are.
Duplicate: How reliable is windows task scheduler for scheduling code to run repeatedly?
...
i building a small windows service (not a web service) that periodically check for some data and based on that and call a class library to do some work
BTW: this is the first time i try to create a windows service
...
Hello,
What are the pros/cons of using SRVANY compared to creating a Windows service?
(I've noticed here that SRVANY is not advised to be used
in a production environment, but would like to understand the reasons)
Thanks.
...
I have a NT server application running in background on Windows Vista, and I want the server to lanuch Notepad.exe when server received a specific command, BUT it doesn't work, I have tried with shellexec, winexec and createprocess functions, all are failed. Notepad always runs on the server desktop, Vista will show a message to ask me t...
Hi,
Has anybody managed to get Tomcat to run as a service on Win2008 64bit? I need it for a 3rd party component that my site relies on. It works fine otherwise, but I just can't get it to run as a service. I've tried all the googling I can, and experimented with various 64bit tomcat.exe / tomcatw.exe without success. Upgrading to Tomcat...
I can't find documentation for how to do it, which makes me think I'm not supposed to do it.
...
I have a VB.NET Windows Service that I wrote and it works fine. In VB.NET there is an overrideable method called OnStop() that gets called when the service is stopped. However, it appears it only gets stopped if someone actually stops the service from the Services MMC Console Window.
My question is, is there an event or an overridable m...
I am currenting manintaining a windows service that programmatcially generates a HttpWebRequest and HttpWebResponse objects for retrieving the response message of the request.
The UserAgent property of the HttpWebRequest was hard coded to use IE 6 as the browser agent. Is the a way to programmatcially detect which version of IE is inst...
I have a windows service set to copy files from a local directory to a samba share.
The service connects via a UNC path to the server (i.e. \remoteserver\shareddir).
I have logged in as the user under which the service is running, and was able to both copy files and create files on the samba share, using the UNC path.
However, when ru...
I wrote a VB.NET windows service and I'd like to know if there is some library or something that will provide me with a very simple mini web server. If my service is running, I'd just like to be able to type, in my browser:
http://localhost:1234
And have a status page popup. It will only be one single page and very simple html. Anyone ...
I have a WCF service hosted on a Windows Service application and it should return all installed printers on the machine it is hosted on. I have used System.Drawing.Printing.PrinterSettings.InstalledPrinters to retrieve the list of installed printers but I don't know why in Windows Vista it doesn't return all printers.
The host Windows ...
Is there a way to set a dependency of one "myWindowsService" to another service running on the same machine such as "SqlService"?
The prob is if you dont know the name of the "sql service" where "myWindowsService" will be installed, but my service depends on that the sql is already running..
thanx
...
I'm developing an application to achieve work in background through a Windows Service.
I've created the service thanks to the MSDN tutorial, and then I can Start or Stop it correctly.
My service also need to execute custom commands. Therefore, I've implemented the "OnCustomCommand" method in the service's class.
I can send custom execu...
I have a windows service and use nlog for logging. Everything works fine when I run from the visual studio ide. The log file updates with no issues. When I install the service, the service runs fine but the log file never updates. I am running under LOCAL SERVICE if that helps. Yes, I have created the logs directory under my applica...
I have created a service which display a sort of splash screen on the desktop of a specific user and only when that user is logged in (kiosk user).
That splash screen, once entered a valid code, will tell that to the service and the service goes to sleep for an x amount of time (depending of the code).
The splash screen simply quits. N...
What are the necessary items need from creating a deployment project for a windows service? I need to uninstall the previous version of the service before I install the new version.
...