Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFPOLEDB.1 and Data Source
Message
De
15/08/2001 12:38:34
 
 
À
15/08/2001 08:26:25
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00543973
Message ID:
00544171
Vues:
15
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform