当前位置: 代码迷 >> ASP >> 请哪位大侠帮哈忙 (0x80004005)无法从指定的数据表中删除。该怎么解决
  详细解决方案

请哪位大侠帮哈忙 (0x80004005)无法从指定的数据表中删除。该怎么解决

热度:582   发布时间:2012-02-12 17:16:33.0
请哪位大侠帮哈忙 (0x80004005)无法从指定的数据表中删除。
错误类型:
Microsoft   JET   Database   Engine   (0x80004005)
无法从指定的数据表中删除。
/sanatorium/connection.asp,   第   60   行


浏览器类型:
Mozilla/4.0   (compatible;   MSIE   6.0;   Windows   NT   5.1;   SV1;   .NET   CLR   2.0.50727)  

网页:
GET   /sanatorium/admin/VIPadmin.asp  
     
VIPadmin.asp     代码
<%@LANGUAGE= "VBSCRIPT "   CODEPAGE= "936 "%>
<!--   #Include   File=../public.asp   -->
<%verifysession1()%>
<!--   #Include   File=../connection.asp   -->
<%
if   request( "id ") <> " "   then  
deleters   "users ", "ID ",replace(request( "id "), ",   ", "   or   ID= ") '删除数据
end   if
%>
<%selectrs   " ", "users ", "userrealname ", " ' "&request( "userrealname ")& " ' ",15%>
<html>
<head>
<meta   http-equiv= "Content-Type "   content= "text/html;   charset=gb2312 "   />
<title> 无标题文档 </title>
<link   href= "css/css.css "   rel= "stylesheet "   type= "text/css ">
<style   type= "text/css ">
<!--
a:link   {
text-decoration:   none;
}
a:visited   {
text-decoration:   none;
}
a:hover   {
text-decoration:   none;
}
a:active   {
text-decoration:   none;
}
-->
</style> </head>
<body>
<table   width= "600 "     border= "0 "   cellspacing= "0 "   cellpadding= "0 ">
    <tr>
        <td   height= "20 "> &nbsp; </td>
    </tr>
    <tr>
        <td> <table   width= "98% "     border= "1 "   align= "right "   cellpadding= "0 "   cellspacing= "1 "   bordercolor= "#CCCCCC "   bgcolor= "#000000 "   style= "   border-collapse:collapse ">
            <tr>
                <td   height= "10 "   bgcolor= "#666666 "   class= "style2 "> &nbsp;&nbsp;会员资料 </td>
            </tr>
        </table> </td>
    </tr>
    <tr>
        <td   height= "40 "> <table   width= "98% "     border= "1 "   align= "right "   cellpadding= "0 "   cellspacing= "1 "   bordercolor= "#000000 "   bgcolor= "#FFFFFF "   class= "style1 "style= "   border-collapse:collapse ">
            <tr   bgcolor= "#CCCCCC ">
                <td   width= "11% "   align= "center "> <label> 按姓名检索 </label> </td>
                <td   width= "13% "   align= "center "> <input   name= "userrealname "   type= "text "   id= "userrealname "   size= "10 "> </td>