请问:关于include的调用(初级)
xxfly 2001-07-11 02:58:00 当我在一个asp程序中加入
<!--#include file="conn.asp"-->
就出现“该页无法显示”我试过很多次了就是不行。
conn.asp 与 当前所引用的asp在同一个目录下。
conn.asp的内容如下
<%
strconn = "DRIVER=Microsoft Access Driver (*.mdb);DBQ=" & Server.MapPath("longsea.mdb")
Set cn = Server.CreateObject("ADODB.Connection")
cn.Open strconn
%>
即使我把conn.asp的内容全删除也一样。
请问这到底是什么原因?