473,804 Members | 3,312 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Poll different machines for a windows service

1 New Member
Hi,

My web application is running on 5000 different machines. For example, if i have to know who are all the clients which are using my application, what would be my appoach?

Correct me if iam wrong, but I came up with an idea of installing a windows service on each of the client machines whichever are using my .net application. This way I can perform a check on all those machines having the windows service up & running.

At my server, I would like to know which all clients are running my application. I need to ping the IP's of the clients (which are stored in our database) and if a reply is there, i need to check if the windows service is running on that IP. All this should happen in an interface and then show me the results as such which all machines are active and which are inactive.

Iam unable to come to a conclusion as of how to achieve this task. Please help me out with this.
Oct 29 '08 #1
3 1138
MrMancunian
569 Recognized Expert Contributor
Hi,

My web application is running on 5000 different machines. For example, if i have to know who are all the clients which are using my application, what would be my appoach?

Correct me if iam wrong, but I came up with an idea of installing a windows service on each of the client machines whichever are using my .net application. This way I can perform a check on all those machines having the windows service up & running.

At my server, I would like to know which all clients are running my application. I need to ping the IP's of the clients (which are stored in our database) and if a reply is there, i need to check if the windows service is running on that IP. All this should happen in an interface and then show me the results as such which all machines are active and which are inactive.

Iam unable to come to a conclusion as of how to achieve this task. Please help me out with this.
Wouldn't it be easier for you to write some code in the application that everyone is using, that 'calls home' or something? Like a small database entry with the login time, IP-address, logout time etc.?

Steven
Oct 29 '08 #2
Plater
7,872 Recognized Expert Expert
Wouldn't it be easier for you to write some code in the application that everyone is using, that 'calls home' or something? Like a small database entry with the login time, IP-address, logout time etc.?

Steven
I would have to agree here, "calling home" is much more likely to succeed. Just firewall settings alone would be much better off going "out" rather then "in"
Oct 29 '08 #3
stoogots2
77 New Member
It is probably not the most efficient method, but I would try putting some code in your Session_Start event, and writing it to a Sql server Table, or perhaps ApplicationStat e.
Oct 29 '08 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

4
7043
by: Mario | last post by:
Hello everybody, Does anybody know how i make a script to make a poll? I mean a small poll when you can choose yes or no? -- -------"""------- ---()--- °?----(_)-----?° | Greetz Mario|
2
6699
by: Shankar | last post by:
Platform: Windows 2000 machine with SP4 I use MSINFO to find system information on the remote machines on our local network. I am able to run MSINFO successfully on other Windows 2000 machines using the command MSINFO32 /computer:<another W2K machine> /report <filename>.
1
1772
by: RM | last post by:
I am using DataSet's .ReadXml() method to parse an XML file that has an inline schema and Im getting "different" results on various machines using the same myDataSet.ReadXml("myExample.xml"). Out of 5 test machines, my results are as follows. 1 Windows 2000 Server and 2 Windows XP Professional PC's that parses the XML, builds 2 tables with appropriate format columns (string, int, etc) and populates the tables with rows of data as...
4
1687
by: Dan Walls | last post by:
Hi, I am deploying an ASP.Net web app into the following scenario: Internet --> Firewall --> WebServer (IIS) --> --> However I am not sure what sort of authentication options are available to me in gettingthe application to talk to the SQL server. How do I talk between the web app and the database server - if TCP/IP then
6
4018
by: Pat Carden | last post by:
Hi, We need to allow webusers to upload a file on our website (on Server3, all servers run Server 2003, remotely hosted) and eventually save it on our SBS Server (Server2) which is not exposed through our firewall. We have another server (Server1) within the SBS domain that is exposed through port 80 of the firewall on which we host some web services and images. What is the best architecture for getting the file from the remotely...
6
5536
by: Programatix | last post by:
Hi, I'm trying to distribute my application written using .NET Framework 2.0. It uses a MDB file for it's database. On certain machines with Windows XP (I have also tried updating them to SP2), I received this exception when the application tries to connect to the MDB "The .Net Framework Data Providers require Microsoft Data Access Components
6
2366
by: robert | last post by:
I get python crashes and (in better cases) strange Python exceptions when (in most cases) importing and using cookielib lazy on demand in a thread. It is mainly with cookielib, but remember the problem also with other imports (e.g. urllib2 etc.). And again very often in all these cases where I get weired Python exceptions, the problem is around re-functions - usually during re.compile calls during import (see some of the exceptions below). But...
3
6639
by: Yves Gagnon | last post by:
Hi, I try to debug a WCF hosted in a windows services on a serveur that is on an other domaine then my developpement machine. I tried many things without succes. Here is what I tried: First I installed on the server I want to debug, the remote debugger tools from the VS 2005 CD. I just install the windows application. I tried from there to debug, without succes. I could connect to the remote machine only when the msvsmon.exe is in the...
2
2131
by: =?Utf-8?B?UGV0ZQ==?= | last post by:
I have a .Net application (VB, VS 2005, FX 2) running in more than one country. As part of the product registration process, some information on the computer is collected and sent to a web service; this includes the operating system which is obtained using the My.Computer.Info.OSFullName function. For some machines we get "Microsoft Windows XP Professional" and for others "Microsoft Windows NT 5.1.2600 Service Pack 2". I understand these...
0
10589
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10340
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10327
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9161
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7625
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6857
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5527
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5663
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3828
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.