Active Server Pages 错误 'ASP 0141'

来源:百度知道 编辑:UC知道 时间:2024/06/23 15:38:07
<%@ language=vbscript %>
<!--#include file=conn.asp-->
<html>
<head>
</head>
<body bgcolor=#c1f7d8>
<center>
<%
dim strname,strpassword1,strpassword2,strnote,stremail,strhomepage,strpassword
strname=request.form("name")
strpassword1=request.form("password1")
strpassword2=request.form("password2")
stremail=request.form("email")
strhomepage=request.form("homepage")
strnote=request.form("note")

if strname="" then
response.write"账号不能为空<p></p>"
%>
<a href=javascript:history.back()>上一页</a>
<%
response.end
end if

if strpassword="" then
response.write"密码不能为空<p></p>"
%>
<a href=javascript:history.back()>上一页</a>
<%
response.end
end if

把conn.asp中的<%@ language=vbscript %> 删除就可以了

<%@ language=vbscript %> '这个可以不要
<!--#include file="conn.asp"-->

conn.asp
你这个页面里是不是也有<%@ language=vbscript %>
你可以把他去掉的,不要没关系