Link to home
Start Free TrialLog in
Avatar of MrFawlty
MrFawltyFlag for Belgium

asked on

Windows Service Application -> FileNotFoundException in Main()

Hi,

I keep getting this error it's driving me insane, what may be the cause?
Avatar of Jorge Paulino
Jorge Paulino
Flag of Portugal image

How about some code?
Avatar of klakkas
klakkas

Please post here the code you execute in sub Main()
Tell us a little more about what you're trying to do.
But, I think there is a big chance that your service runs under a user account that doesn't have access to the path or drive where you're looking for the file.
ASKER CERTIFIED SOLUTION
Avatar of Éric Moreau
Éric Moreau
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial