Access database connection question

Results 1 to 2 of 2

Thread: Access database connection question

  1. #1
    Join Date
    Dec 1969

    Default Access database connection question

    I am new to developing ASP database connections. I am having a problem when 2 people hit the same page at the same time. It is saying file already in use, and is pointing to my line of code;<BR><BR> con.Open "DBQ=" & Server.MapPath("fpdb/users.mdb") & ";Driver={Microsoft Access Driver (*.mdb)};DriverID=25;MaxBufferSize=8192;Threads=20 ;", "username", "password"<BR><BR>It does not always happen, only sometimes. Can this method of connection handle multiple users hitting it at the same time?

  2. #2
    Join Date
    Dec 1969

    Default RE: Access database connection question

    Hey Joe,<BR>I have A ? for you!<BR>What about using an odbc connection whereby adding a DSN like USERS. Then opening the connection like so<BR><BR>con.Open "USERS"<BR><BR>again I&#039m not sure if this will work for your situation.

Posting Permissions

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