windowservice

WCF service running as WindowsService and somehow goes into FaultedState

Hi, WCF Service hosted as windows service Using netmsmq binding MSMQ is transactional Windows 2003 server to host MSMQ 3.0 Due to some reason exceptions are raised and so it puts the message back in the queue and tries for serval times and then goes in faulted state. So what should be the mechanism to handle this type of scenarios...

windowservice versus API

Can anyone tell me the difference between windowservice and API. ...

Windowservice error

Hi i made some changes in windowservice coding side(some class files related to that),,means i did coding to fetch version value from registry,,After stopping the service i copied the exe from the application side which was 72 Kb to installerpath side which was 74 Kb as fresh when installed from Installershield.So here 74kb old one is re...

restarting windowservice problem

Hi i made some changes in windowservice coding side(some class files related to that),,means i did coding to fetch version value from registry in that class files,,,,After ...

project requirement

in my project i have a requirement like "**Set the version to something like 0.0.0.0 if the method cannot get the version from the environment variable**" and the coding where i need to look is like this array,,any one have idea about this on string[] sade = new string[6]; . . . . sade [5] = Registry.GetValue(@"HKEY_LOCAL_MACHI...

Parameterise Service start option in WiX installer

I have a ServiceInstall component in a WiX installer where I have a requirement to either start auto or demand depending on parameters passed into the MSI. So the Xml element in question is <ServiceInstall Vital="yes" Name="My Windows Service" Type="ownProcess" Account="[SERVICEUSERDOMAIN]\[SERVICEUSERNAME]" Display...

Resilience for WCF service hosted as windows service.

We have got WCF services one hosted as windows service (it uses MSMQ binding) and other hosted in IIS. To have resilience we have got 7 servers where WCF is hosted on IIS, and the 3rd party tool randomly sends request to either of the servers. How to achieve a similar functionality for WCF service hosted on windows service using MSMQ bi...

Accessing a windows application form from an ASPX page

hi, I have an aspx page and I want to access an application on the client after seeking user permission. Both the windows application and the website are to be made in VB.NET. Does any one have any idea as how to go about solving this problem? Thanks EDIT: Here is the problem. From my .aspx webpage in vb.net, a visitor clicks on a li...

Capturing KeyPress Event in WIndow Service.

I am trying to create a window service to create a small keylogger application. I am new to window service and sole purpose is to learn. How all the events that are available in winforms can be obtained in window service. I am searching for it on google. But not getting good stuff and currently reading about keyhook dll ...

C++ Service Error While Starting : Could not Start the Service on Local Compueter

I have created a Win32 Service using C++ and installed to the Services Successfully. Now While I try Starting the service from Services.msc , I am getting the Error: Could not start the Service on Local Computer . Error 2: The system can not find the File specified. Here is the code snippet I am defining in the Service Entry Point: #i...

SQL Server named instance

Is it possible to mimic the way SQL Server installation works? With SQL Server you could have multiple "named instances" installed on the same machine. I believe it is one single executable but they do something in the registry to make it multiple instance. Anyone knows how SQL Server achieves this? We have a window service develop with...

Restarting windows service (hosting WCF service) after it reaches particular memory limit.

I would like to restart Windows Service after memory consumption of it reaches certain limit. Scenario: I have WCF Service hosted on Windows Service. WCF service keeps on increasing in memory consumption after every call without releasing significantly as seen from Task Manager. It results in OutOfMemory exception. I would like to res...

RabbitMQ consumer question

I have a Windows Service that retrieves messages from a RabbitMQ queue. The service works locally on a Windows 7 machine. When I install the service on a Windows 2008 server it does not work (and does not throw any errors). My ASP.net MVC app can publish messages to the same queue. Could there be a firewall or security issue here? ...