Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Access VFP data from c# code
Message
 
 
À
12/05/2011 16:42:56
Information générale
Forum:
ASP.NET
Catégorie:
Bases de données
Divers
Thread ID:
01510498
Message ID:
01510499
Vues:
66
>I am working on a c# class library and trying to access VFP5 database tables. If a table is local and free (dont know if that would make any difference) then I can access data, but if a table is on the network I am getting "Invalid path or file name". Here is my connection string from the app.config:
>
><add name="UFDBusiness.Properties.Settings.ConnectionString"
>            connectionString="Provider=VFPOLEDB.1;Data Source=\\ufdglfdc0002\vam-ufd\DATA\CPD\amw.dbc"
>            providerName="System.Data.OleDb" />
>
>Thanks in advance.
>
You may want to check the application permissions to the network drive. It sounds like it could be the cause.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform