MS Access problems. :(

Results 1 to 2 of 2

Thread: MS Access problems. :(

  1. #1
    Join Date
    Dec 1969

    Default MS Access problems. :(

    Hi there,<BR><BR>I keep receiving the following error:<BR><BR>Microsoft][ODBC Microsoft Access Driver]General error Unable to open registry key &#039DriverId&#039. <BR><BR>This comes from my ASP page trying to open a local MS Access database. The key "DriverId" IS in my registry (did a regedit search). <BR><BR>Anyone know what causes this problem? <BR><BR>Thanks!<BR>

  2. #2
    Join Date
    Dec 1969

    Default RE: MS Access problems. :(

    i&#039d recommend using a different way of connecting to your DB than ODBC - use OLEDB (ODBC is an extra layer on top of OLEDB anyway)<BR><BR>depending on your DB type, it&#039d be something like this :<BR><BR>connstring = "provider=SQLOLEDB;...........<BR>instead of <BR>connstring = "DRIVER={SQL Server};........<BR><BR>or <BR><BR>connstring = "provider=Microsoft.Jet.OLEDB.3.51;...<BR>inst ead of<BR>connstring = "driver={Microsoft Access Driver (*.mdb)}<BR><BR>if you&#039re using dsn&#039s - stop now and use the oledb method, much better<BR><BR>jason

Posting Permissions

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