|
-
Apr 25th, 2010, 08:00 AM
#1
Thread Starter
Addicted Member
Need my service to access UNC
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!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|