Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Knowing the application ID
Message
From
06/01/2011 17:56:51
 
 
To
05/01/2011 11:11:02
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01494772
Message ID:
01495072
Views:
31
So far, I haven't found a way to detect the process ID of the w3wp.exe instance loaded by the application pool when the Web site launches a new one. I have seen some ShellExecute() approach but this only applies when you launch the application manually. By using its handle, it would then be possible to get the process ID. But, this is from a Web application. It is launched by IIS.

I have seem some interesting thing like this:

http://it.toolbox.com/blogs/coding-dotnet/drilling-info-about-aspnet-worker-process-10002

But, this only work with IIS 5 compatability.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Reply
Map
View

Click here to load this message in the networking platform