Sign in to follow this  
ferr

[web] Directory Modification Access Denied

Recommended Posts

Using: ASP.Net 1.0 with VB.net, VS 2003, IIS Goal: Change the name of a directory on a given file server (i.e. create a new folder with the new name and copy the contents over) Problem: When executing this function I receive an access denied exception message. I've tried messing with permissions through IIS for the folder (via the New Task option as well as properties of the said folder). I've tried changing security of the folder on the physical drive itself. Nothing seems to work. One odd thing, every file/folder in my Inetpub directory has read only enabled and for some reason this cannot be disabled. Related? Exact exception message: 'Access to the path '\mydocs\main\FIN\CONTMOD' is denied.' -- this is given after attempting to use MoveTo from the old folder (\mydocs\main\FIN\CONTMOD) to the new folder (\mydocs\main\FIN\CONTMOX, etc).

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this