dsnless connections

Results 1 to 2 of 2

Thread: dsnless connections

  1. #1
    paul worrall Guest

    Default dsnless connections

    Can somebody help me with the string for a dsnless connection to an access database? c:websharewwwrootacwebclipswebclips.mdb is where the file is stored.

  2. #2
    Jan Haffling Guest

    Default RE: dsnless connections

    Try this one.<BR>This will work if you have your asp document in the wwwroot folder.<BR><BR>Set Connection = Server.CreateObject("ADODB.Connection")<BR>Connect ion.Open "DBQ=" & Server.Mappath("acwebclipswebclips.mdb") & ";DefaultDir=" & Server.Mappath_("acwebclips") & ";Driver={Microsoft Access Driver (*.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