I suppose, the user aspnet (aspnet_wpaccount) does not have rights to create a
directory.
Let me know if this is correct.
- Subramanya K Vemuri-Venkata.
----- Original Message -----
From: crocheinz
To: [EMAIL PROTECTED]
Sent: Sunday, May 23, 2004 1:36 PM
Subject: [AspNetAnyQuestionIsOk] Create Directory in Server
Heys!
I'm new at ASP.net and i'm trying to create a new directory in the
server like C:\Inetpub\wwwroot\MyProject\NewDirectoryName . I'm using
IIS.
I have two problems:
1st: Until now i haven't resolved the authorization problems to
create a directory in the server. When i try to create any directory
in the directory server or any sub-directory, the server don't let me
to do that, it says to me that i am not authorized :p
2nd: i would like not to map all the way until my project directory.
Exemple: i would like to do Directory.CreateDirectory
("..\NewDirectoryName") , not Directory.CreateDirectory
("C:\Inetpub\wwwroot\MyProject\NewDirectoryName")
Is this possible?
Thanks
Yahoo! Groups Sponsor
ADVERTISEMENT
------------------------------------------------------------------------------
Yahoo! Groups Links
a.. To visit your group on the web, go to:
http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/
b.. To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[Non-text portions of this message have been removed]
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/