473,657 Members | 2,418 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ASP.NET Reporting site using WMI

Hi there,

I've developed a reporting website in the past using a Windows Service
which periodically queried network hosts for data and produced a XML
report which could be parsed by a ASP website.

I want to rebuild this reportingsite using C# and ASP.NET and get rid
of the Windows Service.
My question is:

- Can I get the server to periodically update a report without using a
Windows Service? I'm not an experienced .NEt programmer so forgive me
if this is a easy task.

I really don't want to let the users initiate the WMI queries (only
throttled maybe). With more than 3 hits a second at peeks, this is not
good for performance :)

Could someone point me in the right direction?

Thanks in advance

Aug 2 '06 #1
2 1568
mpriem,

If you don't want to do a windows service, you could always create an
executable which will perform the task. Then, set up a scheduled task which
will run your executable and perform the queries.

While you could have ASP.NET do this periodically, I don't recommend it.
Things like this should just be set up as scheduled tasks.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

"mpriem" <sp**@mpriem.co mwrote in message
news:11******** **************@ i3g2000cwc.goog legroups.com...
Hi there,

I've developed a reporting website in the past using a Windows Service
which periodically queried network hosts for data and produced a XML
report which could be parsed by a ASP website.

I want to rebuild this reportingsite using C# and ASP.NET and get rid
of the Windows Service.
My question is:

- Can I get the server to periodically update a report without using a
Windows Service? I'm not an experienced .NEt programmer so forgive me
if this is a easy task.

I really don't want to let the users initiate the WMI queries (only
throttled maybe). With more than 3 hits a second at peeks, this is not
good for performance :)

Could someone point me in the right direction?

Thanks in advance

Aug 2 '06 #2
Thanks Nicholas!

So if I understand correctly it is common practice to use a windows
service for these kinds of operations. I thought I had choosen a rather
strange solution for my issue.
I'll stick to the Windows Service then.

However. Could you point out how I accomplish this without the use of a
service and scheduled task. I'm curious...

Regards,

Mark

Nicholas Paldino [.NET/C# MVP] schreef:
mpriem,

If you don't want to do a windows service, you could always create an
executable which will perform the task. Then, set up a scheduled task which
will run your executable and perform the queries.

While you could have ASP.NET do this periodically, I don't recommend it.
Things like this should just be set up as scheduled tasks.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

"mpriem" <sp**@mpriem.co mwrote in message
news:11******** **************@ i3g2000cwc.goog legroups.com...
Hi there,

I've developed a reporting website in the past using a Windows Service
which periodically queried network hosts for data and produced a XML
report which could be parsed by a ASP website.

I want to rebuild this reportingsite using C# and ASP.NET and get rid
of the Windows Service.
My question is:

- Can I get the server to periodically update a report without using a
Windows Service? I'm not an experienced .NEt programmer so forgive me
if this is a easy task.

I really don't want to let the users initiate the WMI queries (only
throttled maybe). With more than 3 hits a second at peeks, this is not
good for performance :)

Could someone point me in the right direction?

Thanks in advance
Aug 5 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

14
3432
by: Jeff Boyer | last post by:
Hello everyone, I have recently developed a web application across my clients intranet. We used ASP with Interdev 6.0 and SQL server as the backend. They have now come to me asking me to develop some reports that can be accessed via a drill down within the app. They don't have Crystal Reports so this is not an option. Can anyone suggest an alternative to using crystal reports to publish dynamic reports via the web and ASP?
6
2341
by: P Jones | last post by:
Hi, I support an enterprise web application (IE client) built in VB6, with about 200 classes, serving about 7000 users, running on 3 clustered servers. I need to incorporate web reporting for the first time, so I am interested in learning what web reporting options are out there, and the pros and cons of each. In general I need to generate reports with XML documents as inputs, and make them available to all web users. I am partial...
2
2213
by: Charles | last post by:
Hello, I need to ad some reports (Invoicing,AR Aging) to my VB ASP.NET project. And would like to use stored procedures for the data calls. Any suggestions? Charles
0
1063
by: Wayne Wengert | last post by:
I develop my web pages using VSNET 2003 (VB). I have the full developer version of Crystal Reports 10. My Web site is hosted by a commercial ISP - I simply buy the service. I want to run reports against my database (SQL Server 2000). Based on this, I see two options: 1) User Crystal Reports or 2) Use SQL Server Reports. I cannot get the CR solution to work and based on discussions with 2 ISPs, I cannot afford the SQL Reports solution. ...
9
2414
by: Frankie | last post by:
I need to provide reports for number of page requests, etc made to an internal company Web site (available only on our Intranet). I have seen various hosting providers making available reports that summarize traffic on a hosted Web sites (number of page requests - graphs, summary stats, etc). I need to provide similar reports internally. Where do I get started? I would appreciate any guidance on: 1. Are there things built into ASP.NET or...
8
3108
by: Brendan Reynolds | last post by:
I'm trying to integrate SQL Server Reporting Services reports into an ASP.NET app (SRS 2000, ASP.NET 1.1). I know how to do this using direct URL addressing, but this exposes in the query string parameters that should not be exposed. Each user is associated with a school, and should see only that school's data. When the user logs in, I retrieve the SchoolID associated with that user, and that SchoolID is used as a parameter in all stored...
2
8189
by: Martin Widmer | last post by:
Hi guys I am looking for the best way to generate new reports with reporting services for SQL server 2005. The reports will be generated programmatically from a .Net VB application. So far I see the only way to do it is to feature my objects (text blocks, pictures, tables drawn from excel and databases etc.) with a "render to RDL"- function and thus create an RDL definition of the report, then push that one to the server using the...
1
6471
by: rmk | last post by:
How can I get the 2000 and 2005 versions of SQL Server Reporting Services both working on my development laptop ????? I have ASP.NET 1.1 and 2.0 installed on my laptop. I have Visual Studio 2003 and 2005 installed on my laptop. I have my default website configured for ASP.NET 2.0. I have the developer edition of SQL Server 2000 installed on my laptop as
3
2896
by: Blasting Cap | last post by:
I'm using VS 2005, SQL 2005 reporting services. SQL reporting services is working, and I have it both on my local computer, as well as on a server. I've created a report in the SQL Business Intelligence development studio that works in that environment. I've uploaded the same report to both the Reporting services on my local computer as well as the server, and can log in to them and run the
0
946
by: jvcoach23 | last post by:
we are looking for an aspx reporting component. i had the vs 2005 report viewer and it was wired up and working great except for it can't print the report. so i'm off looking for something else to use. the reporting component will be bound to iList.. so that is one of the big requirements. I looked at devExpress reporting, but have not been able to get that to work clear through yet.. and their support is a long time between responses.....
0
8402
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8315
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8829
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
7341
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
6172
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
4164
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
4323
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2733
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1962
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.