473,465 Members | 1,889 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

ASP.NET ServiceName?

Hi,
Does anyone know whether the ASP.NET process is running as a
WindowsService? If it is, then what's the ServiceName?
Thanks for any replies:)
Mar 3 '06 #1
11 1627
The ASP.NET process is started by IIS on demand so it doesn't have a
service name (IIS does though and that's called "World Wide Web
Publishing").

The ASP.NET process is called aspnet_wp.exe or w3wp.exe on 2003 server.

Josh
http://www.thejoyofcode.com/

Mar 3 '06 #2
Josh, thank you very much!
Another question is : is it possible to run the asp.net process in the
UserInteractive mode? I tried to turn on the "Allow service to interact with
desktop" switch for the World Wide Web Publishing service, but it doesn't
work for the asp.net process.
Because I wanna show some windows forms on the server side for the purpose
of capturing and displaying some application monitoring messages. As you
know, windows forms can display realtime messages much more easily than web
pages. :)

"Laser Lu" <la******@hotmail.com> wrote in message
news:%2******************@TK2MSFTNGP12.phx.gbl...
Hi,
Does anyone know whether the ASP.NET process is running as a
WindowsService? If it is, then what's the ServiceName?
Thanks for any replies:)

Mar 3 '06 #3
Hmm... I don't believe ASP.NET worker process can run in
UserInteractive mode but you have a couple of other options.

If you just want to see simple debug/trace messages use DebugView.exe
available free from www.sysinternals.com
(http://www.sysinternals.com/utilities/debugview.html). This will
display any messages written to System.Diagnostics.Trace (and Debug too
I think) and can even be connected to remote servers.

Josh
http://www.thejoyofcode.com/

Mar 3 '06 #4
Josh, thank you very much!
Another question is : is it possible to run the asp.net process in the
UserInteractive mode? I tried to turn on the "Allow service to interact with
desktop" switch for the World Wide Web Publishing service, but it doesn't
work for the asp.net process.
Because I wanna show some windows forms on the server side for the purpose
of capturing and displaying some application monitoring messages. As you
know, windows forms can display realtime messages much more easily than web
pages. :)

"Josh Twist" <jo********@gmail.com> wrote in message
news:11*********************@e56g2000cwe.googlegro ups.com...
The ASP.NET process is started by IIS on demand so it doesn't have a
service name (IIS does though and that's called "World Wide Web
Publishing").

The ASP.NET process is called aspnet_wp.exe or w3wp.exe on 2003 server.

Josh
http://www.thejoyofcode.com/

Mar 3 '06 #5
Why dont you just write the messages to a log, and invoke an application on
the server that reads from the log.

--
Regards

John Timney
Microsoft MVP

"Laser Lu" <la******@hotmail.com> wrote in message
news:OH**************@tk2msftngp13.phx.gbl...
Josh, thank you very much!
Another question is : is it possible to run the asp.net process in the
UserInteractive mode? I tried to turn on the "Allow service to interact
with
desktop" switch for the World Wide Web Publishing service, but it doesn't
work for the asp.net process.
Because I wanna show some windows forms on the server side for the purpose
of capturing and displaying some application monitoring messages. As you
know, windows forms can display realtime messages much more easily than
web
pages. :)

"Josh Twist" <jo********@gmail.com> wrote in message
news:11*********************@e56g2000cwe.googlegro ups.com...
The ASP.NET process is started by IIS on demand so it doesn't have a
service name (IIS does though and that's called "World Wide Web
Publishing").

The ASP.NET process is called aspnet_wp.exe or w3wp.exe on 2003 server.

Josh
http://www.thejoyofcode.com/


Mar 3 '06 #6
Oh, yeah!! Pretty cool!! Thank you, you really helped me:)
Thanks for the cute utility!

"Josh Twist" <jo********@gmail.com> wrote in message
news:11**********************@p10g2000cwp.googlegr oups.com...
Hmm... I don't believe ASP.NET worker process can run in
UserInteractive mode but you have a couple of other options.

If you just want to see simple debug/trace messages use DebugView.exe
available free from www.sysinternals.com
(http://www.sysinternals.com/utilities/debugview.html). This will
display any messages written to System.Diagnostics.Trace (and Debug too
I think) and can even be connected to remote servers.

Josh
http://www.thejoyofcode.com/

Mar 3 '06 #7
The exact purpose I want to achieve is the functionality like the Output
window in the VS.NET, which can capture monitoring message immediately once
it happens. Realtime responding is important to me:)

"John Timney ( MVP )" <ti*****@despammed.com> wrote in message
news:eu**************@tk2msftngp13.phx.gbl...
Why dont you just write the messages to a log, and invoke an application
on the server that reads from the log.

--
Regards

John Timney
Microsoft MVP

"Laser Lu" <la******@hotmail.com> wrote in message
news:OH**************@tk2msftngp13.phx.gbl...
Josh, thank you very much!
Another question is : is it possible to run the asp.net process in the
UserInteractive mode? I tried to turn on the "Allow service to interact
with
desktop" switch for the World Wide Web Publishing service, but it doesn't
work for the asp.net process.
Because I wanna show some windows forms on the server side for the
purpose
of capturing and displaying some application monitoring messages. As you
know, windows forms can display realtime messages much more easily than
web
pages. :)

"Josh Twist" <jo********@gmail.com> wrote in message
news:11*********************@e56g2000cwe.googlegro ups.com...
The ASP.NET process is started by IIS on demand so it doesn't have a
service name (IIS does though and that's called "World Wide Web
Publishing").

The ASP.NET process is called aspnet_wp.exe or w3wp.exe on 2003 server.

Josh
http://www.thejoyofcode.com/



Mar 3 '06 #8
Then create s coekt listeneer in your application, and report via a socket
connection to the listener, it will be about as instant as it can be.

--
Regards

John Timney
Microsoft MVP

"Laser Lu" <la******@hotmail.com> wrote in message
news:ex*************@TK2MSFTNGP15.phx.gbl...
The exact purpose I want to achieve is the functionality like the Output
window in the VS.NET, which can capture monitoring message immediately
once it happens. Realtime responding is important to me:)

"John Timney ( MVP )" <ti*****@despammed.com> wrote in message
news:eu**************@tk2msftngp13.phx.gbl...
Why dont you just write the messages to a log, and invoke an application
on the server that reads from the log.

--
Regards

John Timney
Microsoft MVP

"Laser Lu" <la******@hotmail.com> wrote in message
news:OH**************@tk2msftngp13.phx.gbl...
Josh, thank you very much!
Another question is : is it possible to run the asp.net process in the
UserInteractive mode? I tried to turn on the "Allow service to interact
with
desktop" switch for the World Wide Web Publishing service, but it
doesn't
work for the asp.net process.
Because I wanna show some windows forms on the server side for the
purpose
of capturing and displaying some application monitoring messages. As you
know, windows forms can display realtime messages much more easily than
web
pages. :)

"Josh Twist" <jo********@gmail.com> wrote in message
news:11*********************@e56g2000cwe.googlegro ups.com...
The ASP.NET process is started by IIS on demand so it doesn't have a
service name (IIS does though and that's called "World Wide Web
Publishing").

The ASP.NET process is called aspnet_wp.exe or w3wp.exe on 2003 server.

Josh
http://www.thejoyofcode.com/



Mar 3 '06 #9
Thank you! It's a nice alternative, I'll consider about it.:)

"John Timney ( MVP )" <ti*****@despammed.com> wrote in message
news:uX**************@tk2msftngp13.phx.gbl...
Then create s coekt listeneer in your application, and report via a socket
connection to the listener, it will be about as instant as it can be.

--
Regards

John Timney
Microsoft MVP

"Laser Lu" <la******@hotmail.com> wrote in message
news:ex*************@TK2MSFTNGP15.phx.gbl...
The exact purpose I want to achieve is the functionality like the Output
window in the VS.NET, which can capture monitoring message immediately
once it happens. Realtime responding is important to me:)

"John Timney ( MVP )" <ti*****@despammed.com> wrote in message
news:eu**************@tk2msftngp13.phx.gbl...
Why dont you just write the messages to a log, and invoke an application
on the server that reads from the log.

--
Regards

John Timney
Microsoft MVP

"Laser Lu" <la******@hotmail.com> wrote in message
news:OH**************@tk2msftngp13.phx.gbl...
Josh, thank you very much!
Another question is : is it possible to run the asp.net process in the
UserInteractive mode? I tried to turn on the "Allow service to interact
with
desktop" switch for the World Wide Web Publishing service, but it
doesn't
work for the asp.net process.
Because I wanna show some windows forms on the server side for the
purpose
of capturing and displaying some application monitoring messages. As
you
know, windows forms can display realtime messages much more easily than
web
pages. :)

"Josh Twist" <jo********@gmail.com> wrote in message
news:11*********************@e56g2000cwe.googlegro ups.com...
> The ASP.NET process is started by IIS on demand so it doesn't have a
> service name (IIS does though and that's called "World Wide Web
> Publishing").
>
> The ASP.NET process is called aspnet_wp.exe or w3wp.exe on 2003
> server.
>
> Josh
> http://www.thejoyofcode.com/
>



Mar 3 '06 #10
socket - damned fingers......lol

--
Regards

John Timney
Microsoft MVP

"Laser Lu" <la******@hotmail.com> wrote in message
news:%2***************@tk2msftngp13.phx.gbl...
Thank you! It's a nice alternative, I'll consider about it.:)

"John Timney ( MVP )" <ti*****@despammed.com> wrote in message
news:uX**************@tk2msftngp13.phx.gbl...
Then create s coekt listeneer in your application, and report via a
socket connection to the listener, it will be about as instant as it can
be.

--
Regards

John Timney
Microsoft MVP

"Laser Lu" <la******@hotmail.com> wrote in message
news:ex*************@TK2MSFTNGP15.phx.gbl...
The exact purpose I want to achieve is the functionality like the Output
window in the VS.NET, which can capture monitoring message immediately
once it happens. Realtime responding is important to me:)

"John Timney ( MVP )" <ti*****@despammed.com> wrote in message
news:eu**************@tk2msftngp13.phx.gbl...
Why dont you just write the messages to a log, and invoke an
application on the server that reads from the log.

--
Regards

John Timney
Microsoft MVP

"Laser Lu" <la******@hotmail.com> wrote in message
news:OH**************@tk2msftngp13.phx.gbl...
> Josh, thank you very much!
> Another question is : is it possible to run the asp.net process in the
> UserInteractive mode? I tried to turn on the "Allow service to
> interact with
> desktop" switch for the World Wide Web Publishing service, but it
> doesn't
> work for the asp.net process.
> Because I wanna show some windows forms on the server side for the
> purpose
> of capturing and displaying some application monitoring messages. As
> you
> know, windows forms can display realtime messages much more easily
> than web
> pages. :)
>
> "Josh Twist" <jo********@gmail.com> wrote in message
> news:11*********************@e56g2000cwe.googlegro ups.com...
>> The ASP.NET process is started by IIS on demand so it doesn't have a
>> service name (IIS does though and that's called "World Wide Web
>> Publishing").
>>
>> The ASP.NET process is called aspnet_wp.exe or w3wp.exe on 2003
>> server.
>>
>> Josh
>> http://www.thejoyofcode.com/
>>
>
>



Mar 3 '06 #11
In fact, debugview is so useful I thought it was deserving of a post:
http://www.thejoyofcode.com/DebugVie...internals.aspx

:)

Mar 3 '06 #12

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

Similar topics

5
by: krisk | last post by:
Could not find ansewr: in ProjectInstaller, RunInstallerAttribute: ..... this.serviceInstaller1.ServiceName = MyServiceName; in the code: public class MyService :...
4
by: DraguVaso | last post by:
Hi, I developped a Windows Service in VB.NET (2005). I need to have it installed two times on 1 machine. When I want to install it a second time, the setup doesn't allow me to install it again...
9
by: Hardy Wang | last post by:
Hi all: I read an article from http://www.c-sharpcorner.com/Code/2003/Sept/InstallingWinServiceProgrammatically.asp about how to install a windows service programmatically. Based ont the code...
0
by: Ly Lam | last post by:
I can install/register a service application (one exe file) as different Windows Services. How can I get the EventLogs for each process to write entries under different sources? The eventlog...
0
by: Cyberhawk | last post by:
Hi, I'm developing an application with communication over IR. Now, in all tutorials I found that I need the Servicename to establish a connection between two devices. Is there a way to ask the...
0
by: John Smith | last post by:
How do I retrieve the ServiceName of the service I am currently running programmatically? I have a class that I have created that I want to programmatically get the name of my current service. ...
0
by: Paul Chapman | last post by:
I have created a service with an installer in Visual Studio 2005 C# and it works just fine. The service simply runs a program with given parameters. I now want to duplicate the service to enable it...
0
by: cbtg2006 | last post by:
HI guys, I'm relatively new to the .net development realm. I am creating an application in vb.net to monitor services on remote servers. The application works great when I am logged in and...
4
by: mmaslar | last post by:
I'm writing a Windows Service. When it starts running, "Service started successfully." is written to the Event Log, w/ a Source of "Service1". Cool -- this happens by default. I'd rather a...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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,...
0
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...
0
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...
0
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...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
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 ...

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.