Last post Dec 20, 2013 12:19 PM by james_km
Dec 20, 2013 10:31 AM|james_km|LINK
I have a project created in Visual web developer 2010 express. With connection to FoxPro tables
When I run a debug (http://localhost:60437/mypage.aspx) it runs ok and I get connection to database and everything is fine but when I deploy
the website (http://localhost/mypage.apspx) there is no database connection and it wont give me any error
Can you guys help me .
Dec 20, 2013 11:50 AM|bbcompent1|LINK
I suspect that N is a network path. You need to change that to the actual UNC path like this for your conn string:
Dim connection2 As String = "Provider=vfpoledb;Data Source=\\ndrivemachine\db;Null=No;Collating Sequence=general;"
and here is some more information on using foxpro:
Dec 20, 2013 12:19 PM|james_km|LINK
Thanks bbcompent1, I give it a try