• λ我爱Aspx >> Asp.Net >> asp连接access时老是有未知文件在使用,恳请高手赐教!
  • asp连接access时老是有未知文件在使用,恳请高手赐教!

  • :aspxer  Դ:csdn  :2007-7-6 2:37:39  ؼ:asp
  • 小妹在用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 发表

    Ҷƪл˵?
  • һƪdrawImage画图的问题
    һƪ利用线程技术来制作动画