woklet Posted August 16, 2005 Posted August 16, 2005 I've got two seperate directories on the same server. ValidPath = "\\imgnas1\vol1\TESTVOL\VOL01238\IMAGEVOL\2003091600603" & ValidPath = "\\imgnas1\vol1\imagevol\vol01238\imagevol\2003091600603" The only difference is on the "imagevol" dir I have read and execute permissions whereas "testvol" I have all permissions. I'm getting an accessed denied when I execute this line of code: Dim dirs As String() = Directory.GetFiles(ValidPath, "*.*") The directory that I'm getting the error on is the "testvol" directory; the one I have full permissions to!! The other directory works fine. Can anyone point me in the right direction on where to go to debug this and figure out why I can't perform a simple getfiles command? Thanks in advance Ben Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.