Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Accessing remotely sited Visual Foxpro Databases using O
Message
From
15/10/2004 14:38:59
 
 
To
15/10/2004 06:50:00
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00951672
Message ID:
00951811
Views:
5
>I am trying to access a database on another maching from a local web server with the following: but this renders Error Type:
>Microsoft OLE DB Provider for Visual FoxPro (0x80004005)
>Invalid path or file name on the OPen.
>
>set oConnection = Server.CreateObject( "adodb.connection" )
>oConnection.Provider = "vfpoledb.1"
>oConnection.ConnectionString = "data source=\\Servername\amft\vamft\data\vamft.dbc"
>oConnection.Open
>
>
>
>Any Help Is Appreciated!!
>
>Thanks

Try this:

Create a text file on your desktop, name it anything you want.

Select the file on your desktop and right click on it.

Change the extension to .UDL.

Right click on the file and choose "Properties..."

Choose your provider and make your connection and test it.

Once you've exited the properties, open the file with note pad. A complete connection string will be in the file as indicated.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Reply
Map
View

Click here to load this message in the networking platform