我爱Aspx >> Asp.Net >> asp连接access时老是有未知文件在使用,恳请高手赐教!小妹在用dreamweaver中的asp设计网页时老出现错误类型:
google_ad_width = 250; google_ad_height = 250; google_ad_format = "250x250_as"; google_color_url = "000000";
Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
[Microsoft][ODBC Microsoft Access Driver] 不能使用 "(未知的)";文件已在使用中。
/test/post.asp, 第 130 行
<%
Dim g2
Dim g2_numRows
Set g2 = Server.CreateObject("ADODB.Recordset")
g2.ActiveConnection = MM_guestbook_STRING
g2.Source = "SELECT * FROM guestbook ORDER BY time DESC"
g2.CursorType = 0
g2.CursorLocation = 2
g2.LockType = 1
g2.Open()
g2_numRows = 0
%>请高手赐教,到底哪里出现了问题,感激不尽!!
第2楼. 由 hookee 于 2007-5-17 21:21:59 发表
最好不要用DW写
g2.CursorLocation = 3
open之后
Set g2.ActiveConnection = Nothing
数据库链接和记录集有没有及时关闭并设为Nothing?
另外,检查一下access本身文件权限
第3楼. 由 Ischema 于 2007-5-17 21:22:30 发表
Ҷƪл˵?
displayTag 和 jasperReport 的关..[06-12]
asp.net上传文件问题、[06-12]
无需.net和专用组件实现用asp访问..[05-28]
什么是ASP.NET Web Service[05-28]
Consuming a Webservice Part 2 ..[05-28]
Creating a Webservice Part 1 o..[05-28]
Web Services: Building Reusabl..[05-28]
在VB6或ASP中调用webservice[05-28]
使用ASP调用WebService时不能以N..[05-28]
ASP.NET中Cookie编程的基础知识[05-28]
利用线程技术来制作动画[07-06]
请大家帮忙看看[07-06]
多个JTable与ListSelectionEvent..[07-06]
怎样实现图片翻转?[07-06]
为什么我的界面点"x"后..[07-06]
关于图像类Graphics的问题[07-06]
Jtable & 数据库问题[07-06]
关于JTextArea的自动滚动问题[07-06]
关于paint()的问题[07-06]
如何固定JTextArea的大小[07-06]