>>>>
>>>>To give permissions on the physical path, login as a user with admin rights to this path and open its properties from the right-click menu. From there you should be able to open the Permissions settings and add the IUSR account.
>>>>
>>>>Are you using a dsn-less connection? (a connection string) Or is this being used directly on a COM object?
>>>>
>>>>If you are using this syntax directly on the ASP, you might need to use Server.MapPath() to get to the physical path. IUSR still needs permissions to it though.
>>>
>>>I'm using a dsn-less connection.
>>
>>Then maybe Server.MapPath is what you need, and probably the permissions for the IUSR account.
>
>I think the problem is with the path.
>I have not used Server.MapPath, maybe I can use the actual path?
>What is the correct path if my web server is on box and my foxpro database is on another box?
>
>Thanks
You would use a UNC path instead of a network share name. I think you had that in your first message. They usually start with \\servername.. etc.
For share names and virtual directories you would still need Server.MapPath(). Setting Web server permissions is not a walk in the park, so be ready to do some trial and error with the NT / Web server permissions.
Also, try using a system DSN on the web server.
HTH
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement