Compartilhar via


Introductions and what I'll be talking about.

Hello,

My name is Finbar Ryan and I am an Escalation Engineer in Microsoft Support. I support Internet Information Server and Commerce Server primarily.

You may already know some of my European colleagues who blog.

Doug

Tess

Nico

I've been in Microsoft for nearly 10 years and in that time I've supported FrontPage, Windows NT, Site Server and a variety of other Internet related products. I really enjoy troubleshooting and resolving customer issues.

I'm planning to post about Commerce Server, IIS and maybe some information about how I troubleshoot customer issues.

To get started here is some information on both IIS and Commerce.

 

IIS and IISApp.vbs and a little bit on AppCmd.exe in IIS 7.

I use IISApp.vbs a lot to to troubleshoot IIS issues on IIS 6 machines.

In case you're not familiar with this tool it lives at c:\windows\system32 and here's the command line usage.

C:\WINDOWS\system32>cscript iisapp.vbs /?
Microsoft (R) Windows Script Host Version 5.6
Copyright (C) Microsoft Corporation 1996-2001. All rights reserved.

Description: list IIS application pools and associated worker processes.
Recycle application pools.

Syntax: IIsApp.vbs [{ /a <app_pool_id> | /p <pid> } [/r] ]

Parameters:

Value Description
/a <app_pool_id> Specify an application pool by name. Surround
<app_pool_id> with quotes if it contains spaces.
If used alone without an accompanying action,
IIsApp.vbs will report PIDs of currently running
w3wp.exe processes serving pool <app_pool_id>.
/p <pid> Specify a process by process ID. If used alone
without an accompanying action, IIsApp.vbs will
report the AppPoolId of the w3wp process specified
by <pid>. When a PID is specified with /r, that PID
is mapped to an application pool and the action is
taken upon the application pool. If a PID is given
for a web garden, i.e. an application pool served
by more than one w3wp, then all w3wp's for that
application pool will be acted upon.
/r Recycles the application pool.

DEFAULT: no switches will print out the PID and AppPoolId.

Examples:

IIsApp
IIsApp /p 2368
IIsApp /a DefaultAppPool /r
IIsApp /p 2368 /r

 

I use this to establish what Worker processes are running and what the Process ID is of the Worker Process W3WP.exe. I've also used it with customers in a batch file to see if the worker process is being recycled and how often.

E.G On my machine the output is like this.

C:\WINDOWS\system32>cscript iisapp.vbs
Microsoft (R) Windows Script Host Version 5.6
Copyright (C) Microsoft Corporation 1996-2001. All rights reserved.

W3WP.exe PID: 2912 AppPoolId: DefaultAppPool
W3WP.exe PID: 3692 AppPoolId: ASP.NET V2.0

I've got 2 Application Pools, one for ASP and Asp.Net 1.1 and one for Asp.Net 2.0 Applications.

The documentation for this tool is here.

In IIS 7 this tool is no longer there and so this functionality exists in the AppCmd.exe tool.

For more information check out this link.

Breaking Changes in IIS 7

Here's what the output of this comand looks like on my Vista Laptop.

C:\Windows\System32\inetsrv>appcmd list wp
WP "3024" (applicationPool:DefaultAppPool)

Commerce Server 2007 Development Webcasts.

The Commerce Server Team is launching a series of Webcasts targeted to developers. This starts tomorrow and you can find some more details here.

Commerce Server 2007 Development Webcasts.

Disclaimer:This posting is provided "AS IS" with no warranties, and confers no rights.