J'ai un service Windows créé dans .NET 4.Windows Service - UnauthorizedAccessException
J'ai besoin d'accéder à un fichier à partir antoher serveur et je reçois une exception:
"UnauthorizedAccessException was caught" - "Access to the path '(path)' is denied."
Si je fais une nouvelle application Windows Forms qui a accédé à ce fichier, cela fonctionne. Le service Windows s'exécute en tant que système local.