Microsoft Knowledge Base Email Alertz

(172024) - 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.

Search KbAlertz

Advanced Search

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]











Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks

Article ID: 172024 - Last Review: July 3, 2008 - Revision: 6.0

INFO: Server Side Include Directives Are Not Processed by ASP

This article was previously published under Q172024
We strongly recommend that all users upgrade to Microsoft Internet Information Services (IIS) version 7.0 running on Microsoft Windows Server 2008. IIS 7.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 (http://www.microsoft.com/technet/security/prodtech/IIS.mspx)
For more information about IIS 7.0, visit the following Microsoft Web site:
http://www.iis.net/default.aspx?tabid=1 (http://www.iis.net/default.aspx?tabid=1)

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:
http://support.microsoft.com/search/default.aspx?qu=vinterdev (http://support.microsoft.com/search/default.aspx?qu=vinterdev)

APPLIES TO
  • Microsoft Active Server Pages 4.0
  • Microsoft Internet Information Server 4.0
  • Microsoft Internet Information Services 5.0
Keywords: 
kbinfo kbscript kbwebserver KB172024
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate