Microsoft KB Archive/319794

= BUG: Server.Transfer Does Not Execute Script When You Enable ASP Server-Side Script Debugging =

Article ID: 319794

Article Last Modified on 10/15/2002

-

APPLIES TO


 * Microsoft Active Server Pages 3.0

-



This article was previously published under Q319794



SYMPTOMS
Under the following circumstances, a target Active Server Pages (ASP) page is not executed:
 * 1) The Enable ASP server-side script debugging check box is selected in Microsoft Internet Information Services (IIS).
 * 2) An ASP page named Transfer1.asp calls the Server.Transfer method to transfer control to another ASP page (Transfer2.asp).
 * 3) Transfer2.asp calls the Server.Transfer method to transfer control back to Transfer1.asp.

When Transfer1.asp is executed the second time, the script is not executed.



CAUSE
When you enable debugging in Microsoft Internet Information Services (IIS), all requests are serialized to a single thread. This causes the ASP script engine to reuse the ASP template from the first request for the second request before the first request is finished with the template.



RESOLUTION
To work around this problem, click to clear the Enable ASP server-side script debugging check box in IIS as follows:
 * 1) Click Start, point to Programs, point to Administrative Tools, and then click Internet Services Manager.
 * 2) In the console tree, click the Web site or the File Transfer Protocol (FTP) site that you want to debug.
 * 3) In the Details pane, right-click the Web site or FTP site, and then click Properties.
 * 4) Click the Home Directory tab, and then click Configuration.
 * 5) In the Application Configuration dialog box, click the App Debugging tab, and then click to clear the Enable ASP server-side script debugging check box.



STATUS
Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.

Keywords: kbbug kbnofix kbdebug KB319794

-

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

© Microsoft Corporation. All rights reserved.