Microsoft KB Archive/172024

From BetaArchive Wiki
Knowledge Base


INFO: Server Side Include Directives Are Not Processed by ASP

Article ID: 172024

Article Last Modified on 5/2/2006



APPLIES TO

  • Microsoft Active Server Pages 4.0
  • Microsoft Internet Information Server 4.0
  • Microsoft Internet Information Services 5.0



This article was previously published under Q172024

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:

SUMMARY

When attempting to process a Server Side Include (SSI) directive within an Active Server Pages (ASP) file, the only directive type that will be processed is the #INCLUDE directive. Other directives such as #EXEC are not supported by ASP.

MORE INFORMATION

If the page containing your source code has a file extension of .asp, then it will be processed by Asp.dll. Asp.dll and Ssinc.dll do not interact; therefore, SSI directives will not be processed by Ssinc.dll. The only SSI directive that will be processed by Asp.dll is the #INCLUDE directive.

NOTE: The other SSI directives are: #CONFIG, #ECHO, #EXEC, #FLASTMOD, and #FSIZE.

REFERENCES

For the latest Knowledge Base artices and other support information on Visual InterDev and Active Server Pages, see the following page on the Microsoft Technical Support site:

Keywords: kbinfo kbscript kbwebserver KB172024