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



The information in this article 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"-->
				

Modification Type:MinorLast Reviewed:6/23/2005
Keywords:kbother kbprb KB169996