I know that a similar question has been asked on this site recently and I have tried the recommended solution but am still having problems.
I have an application which I want to run as a Windows service on an XP(yes unsupported) machine. This service needs to be able to store data onto a server share(Win2003 Server) which is specified in a config file as a UNC path.
I have followed the previous advice and created matching local users on both systems and given the local user on the server the necessary access to the share.
If I run my application in non service mode(ie logged in on the Xp machine as the newly created local user and run from the command line) then the whole process works and the data is stored as it should be on the server share. However as soon as I run the application as a service using the new local account as the Logon account no data is written on the server share.
- the server is part of an AD domain
- the XP machine is not part of that domain
I can't figure out whether my problem is to do with how the XP machine is running the service and whether it is allowing network access or whether the problem is actually on the server side which isn't accepting network connections from a service.
Any help would be much appreciated.