**URGENT** Connect to a database

Results 1 to 2 of 2

Thread: **URGENT** Connect to a database

  1. #1
    Join Date
    Dec 1969

    Default **URGENT** Connect to a database

    I&#039;m trying to connect to a database with this<BR>&#060;%<BR>dim objconn<BR>set objconn = server.createobject("adodb.connection")<BR>objconn .connectionstring="Provider=Microsoft.Jet.OleDB.3. 51; DataSource=tabela.mdb" <BR>objconn.open<BR>%&#062;<BR>this is not working.... how can i really connect to a database??<BR>i&#039;m using this server --&#062; www.websamba.com

  2. #2
    Join Date
    Dec 1969

    Default RE: **URGENT** Connect to a database

    is your database in the same folder?<BR><BR>you should really be using a fully-qualified path there. and probably OLEDB.4.0 rather than 3.51<BR><BR>and "data source" has a space (IIRC, that&#039;s throw a &#039;connot find installable ISAM&#039; error)<BR><BR>and read www.aspfaqs.com , please<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