Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Oledb exception Invalid path or file name
Message
De
14/11/2003 12:16:44
Richard Recore
Debt Management Associates
Boca Raton, Floride, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Visual FoxPro et .NET
Titre:
Oledb exception Invalid path or file name
Divers
Thread ID:
00849954
Message ID:
00849954
Vues:
337
HI all

I am trying to insert a record in a foxpro table in a remote machine from an asp.net app, I am getting the following error

System.Data.OleDb.OleDbException: Invalid path or file name. at
System.Data.OleDb.OleDbConnection.ProcessResults(Int32 hr) at
System.Data.OleDb.OleDbConnection.InitializeProvider() at
System.Data.OleDb.OleDbConnection.Open() at
CreditProfile.HomePage.Submit1_ServerClick(Object sender, EventArgs e) in c:\inetpub\wwwroot\CreditProfile\Default.aspx.vb:line 577

The error happens when I try to open the connection, the connection string is in a web configuration file as

Provider=VFPOLEDB.1;Data Source=\\devccs\data\debtpro.dbc;Password='';Collating Sequence=MACHINE"

The same code works when I use a FoxPro database on my local machine but fails when I try to access a remote foxpro database.

Any help would be appreciated.

Could you please send response to
mlopes@debtcorp.net also? ;->

Best Regards
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform