Hi,
Can you give more information inwhat context and how you are trying to
access the file system. The way you are doing it can significantly affect
the outcome. As example it could be just permission problems (are you
really allowed to write to this directory as a user?), if your code is
being run from a share or internet site it may not have enough permissions
to do file IO and this would require the admin to grant particular
permissions to the assembly (program cannot assume these permissions by
itself if they are not granted). It could be as simple as an incorrect path
or arguments passed to the file IO.
So, in short, it is difficult to say why this happens with the amount
information that you've given.
Thanks,
Vladimir [VB.Net team]
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
Note: For the benefit of the community-at-large, all responses to this
message are best directed to the newsgroup/thread from which they
originated.