If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ASP > Show Foxpro data in ASP

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-20-08, 01:04
Slayer_CauTioN Slayer_CauTioN is offline
Registered User
 
Join Date: Jul 2008
Posts: 1
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.
Reply With Quote
  #2 (permalink)  
Old 07-20-08, 08:06
gvee gvee is offline
www.gvee.co.uk
 
Join Date: Jan 2007
Location: UK
Posts: 10,156
Check your connection string. You're using parameters that the driver for FoxPro doesn't understand.
__________________
George
Twitter | Blog
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On