Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Accessing a Shared Folder on a Server
Message
De
06/03/2003 10:35:02
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Accessing a Shared Folder on a Server
Divers
Thread ID:
00762189
Message ID:
00762189
Vues:
46
I have an ASP.NET application in which I need to check for the existence of a file on another server. I am using an instantiation of the FileInfo class to accomplish this.

I have tested this locally and it works fine but when I try to determine the existence of a file on the other machine through the UNC path it is failing.

The path itself is valid since I checked it from the VFP Command window using the FILE() function.

I suspect a permissions issue. The folder on the server is set as a shared folder with sufficient permissions given to the Everyone account. I am testing this running ASP.NET on my local machine so the application is running under the local ASPNET account. I would expect the call to the server to be made under that local ASPNET account and I suspect this is causing the problem but I'm not sure of the corrective action to take since the target folder has permissions given to the Everyone account.

What am I missing here and what is the resolution?

Thanks,
Bill
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform