Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
.Net Windows Service accessing Network Files
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
01053376
Message ID:
01053390
Vues:
13
Michael,
There are two things I can think of off the top of my head.
1. Try to use the network path instead of a mapped drive letter (//myServer/myFolder).
2. When a service is running it needs to run with some permission level set. Maybe the permission level for the service does not meet the permission level for the network folder.

Einar
>All,
>
>I have a Windows Service App written in C# as well as Console App that runs the same code base. In this app, at certain times I attempt to read files from a mapped network drive. When running as a service, the service app is not able to read files over the network, but the Console App works perfectly.
>
>I'm not all that experienced with Windows Services just yet, so any tips as to what may be wrong here is greatly appreciated.
>
>Thanks,
>
>Mike
Semper ubi sub ubi.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform