Geeks With Blogs
Neil Smith [blog]code til ur fingers bleed December 2006 Entries
Windows Vista Service Hardening
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(“\\tests... ......

Posted On Thursday, December 21, 2006 8:26 AM

Copyright © Neil Smith | Powered by: