艾露西亚 中文版:操作必须使用一个可更新的查询???

来源:百度文库 编辑:中科新闻网 时间:2024/05/05 05:26:43
Microsoft OLE DB Provider for ODBC Drivers 错误 '80004005'

[Microsoft][ODBC Microsoft Access Driver] 操作必须使用一个可更新的查询。

/cnc/muDefault.asp,行12

<!-- #include file="setup.asp" -->

<%
if ""&adminpassword&""=empty then response.redirect "install.asp"
top
if Application(CacheName&"CountForum")=empty then Application(CacheName&"CountForum")=conn.execute("Select count(id)from [forum]")(0)
if Application(CacheName&"CountReforum")=empty then Application(CacheName&"CountReforum")=conn.execute("Select count(id)from [Reforum]")(0)
if Application(CacheName&"CountUser")=empty then Application(CacheName&"CountUser")=conn.execute("Select count(id)from [user]")(0)
if ""&nowdate&""<>""&date()&"" then
today=conn.execute("Select SUM(today)from bbsconfig")(0)
if ""&today&""="" then today=0

第12行应该改成什么呢?