Hi,

I have an application which runs as a service and polls data from a sqlite database on a UNC path (\\server\share\stuff\etc..).

When I run the application as console it connects to the UNC path fine, but when I try to run this as a service it fails to connect to the UNC path.

I assume this is a permission thing, as the Windows Service isn't logged in as a user.

I read some where that it needs programmatic impersonation to do so.

Any help would be appreciated.

Thanks in advance!