Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem accessing FoxPro database across VFP OLEDB Provi
Message
 
À
24/09/2003 15:06:50
André Luiz Castro
Advocacia Bettiol S/C
Brasília, Brésil
Information générale
Forum:
Visual FoxPro
Catégorie:
Visual FoxPro et .NET
Divers
Thread ID:
00831968
Message ID:
00833373
Vues:
21
Please excuse me if this is a bit remedial, but if its c#, did you excape the "\"? (either @"\" or "\\")
Is the Account your app is running under a member of your network domain?

>Hi,
>
>I am having problems connecting to a FoxPro database sitting on a shared
>folder on a network from within my .NET application. I am using a the
>following connection string to connect to the database:
>
>'provider=VFPOLEDB.1;data
>source='\\myServer\DataDirectory\FoxProDatabase.dbc'
>
>When I try to connect to the database, I get an error thrown up by the
>oledbprovider:
>"OleDbException (0x80040e21): Invalid path or file name"
>
>I have tried to resolve this by giving the IUSR account full admin rights
>within IIS, but to no avail.
>
>Any ideas why this is happening?
>
>Thanks in advance for your help.
>
>André Luiz M. de Castro
Bill Mittenzwey
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform