ADODB.connection problem

Results 1 to 2 of 2

Thread: ADODB.connection problem

  1. #1
    Join Date
    Dec 1969

    Default ADODB.connection problem

    Can anyone tell what this error abt?<BR>**<BR>ADODB.Connection error &#039 800a0e7a&#039 <BR>ADO could not find the specified provider. <BR>**<BR>"DRIVER={Microsoft Access Driver (*.mdb)};DBQ=" & Server.Mappath("vision.mdb") & ";"<BR><BR>The same code was working fine previously.But now since there was some problem with the IIS we reintstalled the NTserver pack in the System.From then the problem occuring<BR>Is there any solution to it?<BR><BR>Thanks in adv<BR>Phani

  2. #2
    Join Date
    Dec 1969

    Default RE: ADODB.connection problem

    You can&#039t put a filename as the parameter of Server.Mappath, only a path. Leave the parameter blank to get the current directory, or use a virtual path. So, if vision.mdb is in the same directory as the ASP page you&#039re running, then use<BR><BR>Server.Mappath & "vision.mdb"<BR><BR>Or, if vision.mdb is in, e.g., your cgi-bin directory use<BR><BR>Server.Mappath("cgi-bin") & "vision.mdb"

Posting Permissions

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