Databases and ASP/JScript

Results 1 to 2 of 2

Thread: Databases and ASP/JScript

  1. #1
    Join Date
    Dec 1969

    Default Databases and ASP/JScript

    Could someone tell me, what is wrong with this string, for example? (I&#039;m using JScript with ASP)<BR><BR>var yhteys = new ActiveXObject("ADODB.Connection"); <BR>yhteys.Open ("Provider=Microsoft.Jet.OLEDB.4.0; DBQ = Server.MapPath(/saaskilahti/db/Lakimiestietokanta.mdb)"); <BR><BR>The error message is: <BR><BR>Microsoft JET Database Engine error &#039;80004005&#039; Could not find installable ISAM <BR><BR>What&#039;s the difference between accessing database using vbscript and jscript? A practical example of using JScript with a database would be appreciated!!<BR>

  2. #2 Guest

    Default RE: Databases and ASP/JScript

    When you use "provider=" in your connection string you need to use "data source=" not "dbq=":<BR><BR>yhteys.Open ("Provider=Microsoft.Jet.OLEDB.4.0; Data Source= Server.MapPath(/saaskilahti/db/Lakimiestietokanta.mdb)"); <BR>

Posting Permissions

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