Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Oledb exception Invalid path or file name
Message
From
14/11/2003 12:16:44
Richard Recore
Debt Management Associates
Boca Raton, Florida, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro and .NET
Title:
Oledb exception Invalid path or file name
Miscellaneous
Thread ID:
00849954
Message ID:
00849954
Views:
336
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
Next
Reply
Map
View

Click here to load this message in the networking platform