Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 2008
    Posts
    1

    Unanswered: Show Foxpro data in ASP

    Hi ,

    I trying to show foxpro database on ASP but there shown the error :

    Microsoft OLE DB Provider for Visual FoxPro (0x80004005)
    Feature is not available.
    /vknow/searchrecord.asp, line 23


    Here is the source code using vbscript:

    dim conMK
    dim ConnStr, sSql
    Set conMK = Server.CreateObject("ADODB.Connection") 'line19
    ConnStr= "Provider=VFPOLEDB.1;UID=root;" +_ 'line20
    "SourceType=DBF;SourceDB=" & Server.MapPath("loitemm.dbf")& ";Exclusive=No;" 'line21
    conMK.Open ConnStr 'line22
    'line23
    dim bFound 'line24
    dim rs, rs1 'line25
    ...
    %>


    The VFPOLEDB.dll is already install on C:\Program Files\Common Files\System\Ole DB folder

    I have no idea which part is going wrong .Any help will be appreciate.

  2. #2
    Join Date
    Jan 2007
    Location
    UK
    Posts
    11,434
    Provided Answers: 10
    Check your connection string. You're using parameters that the driver for FoxPro doesn't understand.
    George
    Home | Blog

Posting Permissions

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