Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFPOLEDB.1 and Data Source
Message
From
15/08/2001 12:38:34
 
 
To
15/08/2001 08:26:25
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00543973
Message ID:
00544171
Views:
16
>On my web server I set two virtual directories; one been tastrade_local and the other been tastrade_intranet. I made the connection using the administrator's userid and password. Tastrade_intranet maps to \\dataSrv\d\tastrade and tastrade_local maps to c:\tastrade.
>
>In my asp file I set up the Following:
>
>   Set Conn = Server.CreateObject("ADODB.connection")
>   ConnStr= "provider=vfpoledb.1 ; data source =c:\TASTRADE\TASTRADE.DBC"
>   Conn.Open ConnStr
>
>
>The above code works fine but I cannot connect thru the virtual directories i.e.
>Data Source=http://testserver/Tastrade_local/Tastrade.DBC"
>Data Source=http://testserver/Tastrade_intranet/Tastrade.DBC"
>
>Thanks
>Anthony

What's the authentication setting on the virtual directory? If it's set to allow anonymous access, you might need to give the IUSR_MyServer account access to the physical path (the real path or network share).
HTH
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform