Geeks With Blogs
Neil Smith [blog]code til ur fingers bleed

Windows Services can no longer read mapped network drive letters, ie Directory.Exists(“H:\XMLDOCS”) will always return false even if you have H mapped.  The solution is to run the service under a user account with access to that share in Control Panel\Administrative Tools\Services.  Then in your code access the resource using its UNC name :-Directory.Exists(“\\testsrvr01\xmldocs”).

Posted on Thursday, December 21, 2006 8:26 AM | Back to top


Comments on this post: Windows Vista Service Hardening

No comments posted yet.
Your comment:
 (will show your gravatar)


Copyright © Neil Smith | Powered by: GeeksWithBlogs.net