Hi,
I currently have a Windows Service which continually runs throughout the day. It has multiple threads which kick off:
tasks daily to update cache
tasks weekly to do cleanup
24/7 task to import XML into SQL Server
tasks which run for around 12 hours per day kicking off a console application to manage ETL
The tasks are not the imp...
I want to develop a windows service which will be accepting a datatable from an aspx page. Both the windows service and the website are hosted on same machine.
Also I need to set a date and time on which this service is to work. this date and time are to change according to customer needs. once again the date and time are to be fed f...
Processes launched via Process.Start seems to have around a 26-second delay when the spawned process (the "child") launches more new processes (the "grandchildren") - I'm trying to find a way to solve this issue. Specifically, this is occurring when the original process (the "parent") is an ASP.Net website or a Windows Service (tried bo...
I have a problem that probably is not unique, but certainly does not seem to be widely reported.
I need a method to ping a windows service that will tell me if it has stalled out, even if windows is reporting that it is running.
I would prefer to use have a Perl solution but would accept any solution that someone can come up with.
Tha...
I have a windows service that works fine in my dev environment. The build process copies all referenced DLL's into the bin/debug folder. I run installutil from the bin/debug folder. Service starts fine.
Now, I've created a new folder for the service executable. c:\MyService, and the DLLs are in c:\MyService\libraries. Obviously, thi...
hey guys, I've followed some tutorials online regarding creating and installing a windows service and seem to keep getting into a bind. I followed the tutorial here and it while it seems to be working, its not 100%. This is the code im using:
namespace SuperService
{
partial class Logger : ServiceBase
{
public Logger()
{
...
I am working on a project that is a very large central media repository that uses Azure storage to house all of our external binaries that will be cosumed by 3rd party applications. We have the app working with azure, but are now moving forward to adding a bunch of new features and the "develop and test from you local box" form of testi...
I have a .NET 4 application that runs as a windows service. It runs periodic tasks and provides WCF restful webservices. It already hosts a silverlight web page (via WCF) that allows a user to configure the service.
Now I have a requirement to provide information on HTML/java script pages (e.g. for browsers and platforms that don't su...
Hi,
How can I know, by using C++ code, which user runs a specific service? The program I need to write might run under a local administrator account, so I guess there won't be permissions problems.
Is it possible?
TIA.
...
I need to do the check in a method contained in a shared library that is referenced by a windows forms application and a windows service.
When we do the check in console mode, I must allow potential dialogs. In case of the windows service, I will write messages in the event log instead.
I found many way to do that using compilation dir...
Hello all,
I have a WCF service that I have written, and exposed as a windows service. In Visual Studio 2010 for two apps, I can right click on references, select "Add Service Reference...", put the required information in, and it works just fine.
For a different application, when I do this everything looks to be working fine, but when ...
I am trying to use a GCC compiled exe as a service in windows. From what I have researched I should do: C:\Windows\Microsoft.net\Framework\v2.0.50727\InstallUtil.exe [program name]
Although when I try to do this I receive a message as such: Exception occurred while initializing the installation:
System.BadImageFormatException: Could no...
I need to create an application (ASP.NET or WinForms or Windows Service, not sure) that needs to make a call to a url including username and password for basic authentication and have the url return a csv file. I then need to use the csv file in the application. I don't know how to do this. How do I call the url in my app. There can ...
Hello All,
We have service developed in Visul Basic .NET. This service utilizes some COM objects provided by SAP to access SAP database. This has been working fine till yesterday. On this Sunday, we upgraded the SAP system, and subsequently all other programs were also re-builded using the new DLL files (for the COM object). We tried do...
I am using a custom EventLog for my Windows service. The service creates the event source after installtion. I don't have any problems.
However, I have setup my service so that I can run it from the IDE using the following mechanism:
static void Main(string[] args)
{
AppDomain.CurrentDomain.UnhandledException += new UnhandledExce...
We have a windows service (in .NET) that will write a fair amount of messages to a log.
This log is of interest not only to server administrators but also to normal clients who use a web page to access the system. Or to us trying to remote debug the system!
We are considering using the normal windows server event log, or writing to a ...
I've got a class library doing all my NHibernate stuff. It also handles all the mapping using Fluent NHibernate - no mapping files to deploy.
This class library is consumed by a number of apps, including a Windows Service running on my computer. Although it works fine in all my web apps, the Windows Service gets this when it tries to us...
Hello!
I'd developed a WCF Service using netTCPBinding and embedded it in a Windows Service.
The configuration data of wcf is located in standart app.config file.
After that i had created an installation project and include my code (wcf in widows service) there. So I have the setup.exe file to install my windows service with wcf on b...
According to MSDN,
[The pipe name] must have the
following form:
\\.\pipe\pipename
The pipename part of the name can
include any character other than a
backslash, including numbers and
special characters. The entire pipe
name string can be up to 256
characters long. Pipe names are not
case sensitive.
But the...
Hi everyone,
I created a windows service,by this windows service i am publishing the web service
through a server for access to remote machines.
when i am create the setup of that particular and install it will access only from local
machine but cant access those web service from remote machine.
but at the time when i am debugging...