no write permissions

J

Jimmy

Hi

I trying to create a new directory "newdir" but i get the error:

Exception Details: System.UnauthorizedAccessException: Access to the path
"c:\inetpub\wwwroot\MakeLab4\newdir" is denied.

I think i have to grant the necessary permissions. Where can i do that
because in the explorer i can't find the security tab.


ch Jim
 
E

Eliyahu Goldin

From security point of view, it is not a good idea to create directories on
fly in web applications. Even if you manage to in development environment,
production server security will be stricter. I couldn't get it work even in
development. Try to re-organize your data to use static directories.

Eliyahu
 
K

Kevin Spencer

Hi Jim,

It sounds like you're using Windows XP, not Server 2003. Windows XP by
default hides the Security settings for folders. You have to go into the
Folder Options applet in Control Panel, go to the View tab, and uncheck
"Simple File Sharing" to be able to see and manage file system security.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
What You Seek Is What You Get.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,997
Messages
2,570,239
Members
46,827
Latest member
DMUK_Beginner

Latest Threads

Top