Advertisement Jump to content
Sign in to follow this  

[web] Directory Modification Access Denied

This topic is 4310 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Using: ASP.Net 1.0 with, 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
Sign in to follow this  

  • Advertisement

Important Information

By using, you agree to our community Guidelines, Terms of Use, and Privacy Policy. is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!