Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFPOLEDB.1 and Data Source
Message
De
16/08/2001 17:04:05
 
 
À
15/08/2001 18:10:03
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00543973
Message ID:
00544996
Vues:
11
Thanks for the help, it worked.

>
>That would imply that the database file is not being found. Try to get at a valid file name first by testing with the FileSystemObject object. Something like:
>
Set oFSO = Server.CreateObject("Scripting.FileSystemObject")
>Response.Write oFSO.FileExists("\\myserver\sharename\folder\sus\myfile.dbf")
>
>You might also want to test permissions with:
>
Set objPermCheck = Server.CreateObject("MSWC.PermissionChecker")
>Response.Write objPermCheck.HasAccess(sPath & "\" & sFile)
>
>Where sPath is a physical path. FWIW, opening the connection through VFP uses different permissions than if you use the connection through the Web server. The first uses your NT permissions and the second uses the IUSR account.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform