Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
.Net Windows Service accessing Network Files
Message
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
01053376
Message ID:
01053390
Views:
12
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.
Previous
Reply
Map
View

Click here to load this message in the networking platform