Microsoft KB Archive/312941

= PRB: IIS May Hang If You Enable ASP Server-Side Script Debugging =

Article ID: 312941

Article Last Modified on 12/3/2007

-

APPLIES TO


 * Microsoft Internet Information Server 4.0
 * Microsoft Internet Information Services 5.0
 * Microsoft Internet Information Services 6.0

-



This article was previously published under Q312941



We strongly recommend that all users upgrade to Microsoft Internet Information Services (IIS) version 6.0 running on Microsoft Windows Server 2003. IIS 6.0 significantly increases Web infrastructure security. For more information about IIS security-related topics, visit the following Microsoft Web site:

http://www.microsoft.com/technet/security/prodtech/IIS.mspx



SYMPTOMS
If you enable Active Server Pages (ASP) server-side script debugging in the Web site configuration and ASP encounters a scripting error, Internet Information Services (IIS) may hang, but no error messages are sent to the client browser.

NOTE: This behavior may occur if you have installed the Microsoft Script Debugger or Microsoft Visual Interdev on a server that is running Microsoft IIS 4.0 or later in a development environment.



CAUSE
This behavior occurs because you have not properly configured the default debugger that is in use.



RESOLUTION
To resolve this behavior, make the additional configurations that are outlined in the following article in the Microsoft Knowledge Base:

281427 PRB: Microsoft Script Debugger Does Not Break at Error



STATUS
This behavior is by design.



MORE INFORMATION
You should not enable the Enable Server-Side Script Debugging property on a production environment.

The enabling of server-side script debugging causes ASP to run in a single threaded mode; therefore, one thread at a time only executes for each application. Even if you properly configure the Microsoft Script Debugger, this dramatically affects the Web server performance.

When ASP server-side script debugging is enabled, the value for ASP Requests Executing in Performance Monitor will never be more than 1. The value for ASP Requests Queued will grow depending on the number of requests that are made to the server. This is known as &quot;ASP execution serialization&quot;.

Additional query words: iis 5 iis5 iis 6 iis 6.0 iis6 debugger Script pdm msscrdbg ASP execution serialization Requests Executing queued

Keywords: kbprb kbdocerr KB312941

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.