Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to access VFP databases across a network ?

Status
Not open for further replies.

deyang

Programmer
Nov 13, 2002
1
SG
My ASP.NET page is able to access VFP databases that are local to IIS.

However, problems arise when the VFP databases are stored on another machine.

I tried to use both (a) mapped drives, and (b) UNC names in the Oledb connection string, and failed.

In the case of mapped drives, error message says "Invalid Path". For UNC name, error message says "Invalid path or filename."

I have tried many ways to get it to work, eg.
- Changed <processModel> tag's user/password attributes in machine.config,

- Created domain user account for aspnet user

- Set up logon scripts which maps network drives (using &quot;NET USE&quot;) for both local/domain aspnet user.

All of which fails to work.

This whole thing is driving me &quot;bananas&quot;!! why did Microsoft make a simple issue of accessing file-based databases over a network so difficult? To make people switch to SQL Server, I suppose.

Would appreciate very much if someone can help, thanks.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top