>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