Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post May 25, 2005 02:33 AM by Nisarat
Apr 21, 2005 02:32 AM|LINK
I have Wep Application , I have Connection Foxpro Database in ASP.NET(Visual Studio.NET) by OleDbDataAdapter Configuration Wizard , in Provider Wizard I Choose Microsotf OLE DB Provider For Visual Foxpro ,It Connect Success
But ,When I run Application I get Error Message "Invalid Path Or FileName"
Please Help me
Apr 21, 2005 05:15 PM|LINK
Apr 22, 2005 03:10 AM|LINK
Hi ! Jason
Nice to recieve your message
Connection String in wizard "Provider=VFPOLEDB.1;Data Source=I:\EDI\IMPORT;Mode=Share Deny None;Extended Properties="";User ID="";Password="";Mask Password=False;Cache Authentication=False;Encrypt Password=False;Collating Sequence=THAI;DSN="""
FoxPro Database Live in Another Computer But,I have MapDrive Already It's Drive I:
How to use Web Server (IIS) can see Drive I:
Apr 22, 2005 03:22 AM|LINK
Your mapping a drive does not help IIS find the file, since the user context is not your user context, but the context of, generally, the ASPNET user.
Any chance you can have the data file on your Web server?
Apr 22, 2005 03:40 AM|LINK
Many Thanks for your answer
I am copy file in drive I : to My Computer (drive C:\Inetpub\wwwroot\MyApplication), Web Application can run but,My Web Application want connect to FoxPro Database live in another computer because data must update every time ,When I copy file from mapping
drive (Drive I:) into Drive C: \Inetpub\wwwroot\MyApplication ,data can not update
How to context?
Apr 22, 2005 12:33 PM|LINK
Apr 22, 2005 12:54 PM|LINK
Apr 23, 2005 10:00 AM|LINK
Thank for your answer
I am using a UNC instead of the I:\ drive
but,I get same error message "invalid path or filename"
May 02, 2005 10:22 AM|LINK
May 04, 2005 07:42 PM|LINK
Make sure that the id you are using has rights to the location of the data. I ran into this problem with another post and although the code was correct the rights were not.
Just a suggestion.