简体   繁体   English

在IIS7上使用经典ASP页面进行Response.write

[英]Response.write with classic ASP page on IIS7

以下语句不适用于IIS7网站上的经典ASP页面

<% Response.Write("test") %>

Have you enabled ASP inside Windows features? 您是否在Windows功能中启用了ASP?

在此处输入图片说明

I figured out that it had to do with adding a handler mapping for server side includes. 我发现这与为服务器端包含添加处理程序映射有关。 When I added a module mapping ServerSideIncludeModule with request path of *.asp, it broke my site. 当我添加一个映射带有* .asp请求路径的ServerSideIncludeModule的模块时,它破坏了我的站点。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM