What
you need is a way to trace the error as it occurs without tracing everything that goes on
with your server (which in and of itself would degrade server performance and consume
a lot of disk space). You need to complete four steps to get automatic failed request tracing
to work on your server:
1. Tracing must be installed as role services for the Web Server (IIS) role.
2. Verify that the FailedRequestTracingModule is defined in IIS Manager.
3. Enable Failed Request Tracing.
4. Configure failure definitions.
Hands-On Exercise: Setting Up Automatic Failed Request Tracing
In this exercise, we install IIS Tracing. We then enable failed request tracing and create
failure definitions that the server will use to decide whether to create a trace due to a
specific condition.
1. Open Server Manager.
2. In the Roles Summary section, click Web Server (IIS).
3. Click the Add Role Service link.
206 Microsoft Windows Server 2008 Administration
4. Select Tracing from the Role Services list, as shown in Figure 6-15. Then click
Next and then Install to complete the installation.
5. Open IIS Manager.
6. Select your server in the Connections pane.
7. Double-click Modules from the Feature list and verify that FailedRequestTracing
Module is listed (Figure 6-16).
8. In the Web Sites folder under your server in the Connections pane, select the
Web site on which you want to enable failed request tracing.
Pages:
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258