Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
OLEDB Problem : Provider cannot be found
Message
De
10/03/2004 07:39:14
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00884761
Message ID:
00884777
Vues:
28
>Hi
>
>I am having problems with switching from ODBC to OLE DB.
>
>I have MDAC 2.8 installed along with the latest VFP OLEDB drivers running on Win2k with all the current SP and critical updates installed.
>
>I am getting the following error message whenever I try to open an OLE DB connection:
>
>--------
>
>ADODB.Connection (0x800A0E7A)
>Provider cannot be found. It may not be properly installed.
>/wr2003/test2004/oledb/page1.asp, line 17
>
>--------
>
>The offending code is as follows:
>
>dim cConnectString, oRS, oConn
>cConnectString = "Provider=VFPOLEDB.1;Data Source=\\fileserver\fsvacancies\newdata.dbc;Mode=ReadWrite|Share Deny None;Password='';Collating Sequence=MACHINE"
>Set oConn = CreateObject("ADODB.Connection")
>oConn.ConnectionString = cConnectString
>oConn.ConnectionTimeout = 30
>oConn.Open
>
>-----------
>
>I have tried reinstalling the OLEDB drivers which has not helped.
>
>Anyone have any ideas?

Try manually registering with regsvr32 and remove .1
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform