G
Greyhound
I have created a Windows Service with C# in VS2008. I created the file
processing code first in a Windows Forms application that reads a flat file
on a network share. I am able to access the directory on the network and
access the files from the Windows Forms application. When I create and
deploy the Windows Service on my PC, I get an 'UnauthorizedAccessException'
exception stating that access to the specified network path is denied. The
code is the same on both applications except for the code required to make
the service run as a service. Are there special permissions required to
access a file on a network share?
Thanks...
processing code first in a Windows Forms application that reads a flat file
on a network share. I am able to access the directory on the network and
access the files from the Windows Forms application. When I create and
deploy the Windows Service on my PC, I get an 'UnauthorizedAccessException'
exception stating that access to the specified network path is denied. The
code is the same on both applications except for the code required to make
the service run as a service. Are there special permissions required to
access a file on a network share?
Thanks...