473,326 Members | 2,126 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

Poll different machines for a windows service

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 1087
MrMancunian
569 Expert 512MB
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 Expert 4TB
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
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 ApplicationState.
Oct 29 '08 #4

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

Similar topics

4
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
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...
1
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"). ...
4
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...
6
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...
6
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...
6
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...
3
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...
2
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;...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.