Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can't find Data File
Message
De
04/11/2008 13:49:09
 
 
À
04/11/2008 13:03:56
Information générale
Forum:
ASP.NET
Catégorie:
ADO.NET
Versions des environnements
Environment:
C# 2.0
OS:
Windows XP SP2
Network:
Windows 2008 Server
Database:
Visual FoxPro
Divers
Thread ID:
01359553
Message ID:
01359599
Vues:
24
I've tried it multiple ways.

1) (data on local drive)
string lcVFPCnString = "Provider=vfpoledb.1;Data Source='c:\\development\\attesting\\attesting\\attesting\\bin\\debug\\data\\testresults.dbc'";
OleDbConnection CN = new OleDbConnection(lcVFPCnString )

2) (data on network drive)
string VFPlcPath = "W:\\Alan Wyne\\ATtesting\\data\\testresults.dbc";
string lcVFPCnString = "Provider=vfpoledb.1;Data Source=";
Then combine these 2 variables in the oledbconnection()

In both cases, the program works fine from my local drive but not from any network drive.


Alan
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform