Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Knowing the application ID
Message
De
06/01/2011 17:56:51
 
 
À
05/01/2011 11:11:02
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01494772
Message ID:
01495072
Vues:
32
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform