Results 1 to 4 of 4

Thread: ASP Error

  1. #1
    Join Date
    Sep 2002
    Location
    San Juan, Puerto Rico
    Posts
    29

    Unanswered: ASP Error

    This is the error I am getting.

    Error Type:
    Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
    [Microsoft][ODBC Microsoft Access Driver] Could not use '(unknown)'; file already in use.
    /comprobante/test.asp, line 5

  2. #2
    Join Date
    Jan 2003
    Location
    Midwest
    Posts
    138
    what does your code say on line 5?

  3. #3
    Join Date
    Sep 2002
    Location
    San Juan, Puerto Rico
    Posts
    29

    code

    This is the code Dreamweaver generate.

    <!--#include file="Connections/test.asp" -->
    <%
    var Recordset1 = Server.CreateObject("ADODB.Recordset");
    Recordset1.ActiveConnection = MM_test_STRING;
    Recordset1.Source = "SELECT * FROM suplidores";
    Recordset1.CursorType = 0;
    Recordset1.CursorLocation = 2;
    Recordset1.LockType = 1;
    Recordset1.Open();
    var Recordset1_numRows = 0;
    %>
    <%
    var Repeat1__numRows = 10;
    var Repeat1__index = 0;
    Recordset1_numRows += Repeat1__numRows;
    %>

  4. #4
    Join Date
    Jan 2003
    Posts
    23
    The issue is in test.asp your connection string appears to be wrong. please post the contents of connections/test.asp

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •