Home All Groups Group Topic Archive Search About

access to path ' ' is denied when using createdirectory()

Author
20 Nov 2006 6:37 PM
tmorr16
I am pretty new to VB.Net, but I am in the process of creating an app
that will force a folder to create, along with its subdirectories, when
it doesn't exist. Every time I run the following code "Call
Directory.CreateDirectory(<path.)" I get "access to the path "<path>"
is denied". The folder I am trying to create is on a separate server
with access controlled by a domain group. My account is in a domain
group with update access. I can create the folder manually. I tried
using impersonation functionality, but that doesn't seem to work
either. Can anyone give me any assistance?? Thanks!!

AddThis Social Bookmark Button