Microsoft KB Archive/169996

From BetaArchive Wiki
Knowledge Base


To Run an ISAPI DLL with #exec, Use the CGI Statement

Article ID: 169996

Article Last Modified on 6/23/2005



APPLIES TO

  • Microsoft Internet Information Server 3.0



This article was previously published under Q169996

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:

SYMPTOMS

When you run an ISAPI DLL as an #exec server-side include, the ISAPI DLL does not run.

CAUSE

The following line in the HTML document has been written with an ISA statement:

   <!--#exec isa ="/scripts/w3test.dll?SimulatePendingIO"-->
                


The above is the stated method in the documentation. However, this is incorrect.

WORKAROUND

Write the #exec line with a CGI statement as stated in the sample below:

   <!--#exec cgi ="/scripts/w3test.dll?SimulatePendingIO"-->
                


Additional query words: iis

Keywords: kbother kbprb KB169996