Creating Directory Across Networks
-
hi everybody I have a small problem while creating directory. I am able to create the directory in the local machine. but the same is not working while i try to create in the network It says "Access is denied" i think it is some thing to do with security but unable to track the error. Any body please help me out. I have placed the code below for u gurus
mypath = if not directory.exists(mypath) then directory.createdirectory(mypath) end if
sasidar -
hi everybody I have a small problem while creating directory. I am able to create the directory in the local machine. but the same is not working while i try to create in the network It says "Access is denied" i think it is some thing to do with security but unable to track the error. Any body please help me out. I have placed the code below for u gurus
mypath = if not directory.exists(mypath) then directory.createdirectory(mypath) end if
sasidarYou need to give the ASPNET account
write
rights on the folder within which you are trying to create the new folder. Right click the folder, select the Security tab and add the rights. Try not to do this on the root folder though, do it on single sub-folders preferably. regards, Paul Watson Bluegrass South Africa Brian Welsch wrote: "blah blah blah, maybe a potato?" while translating my Afrikaans. Crikey! ain't life grand? -
You need to give the ASPNET account
write
rights on the folder within which you are trying to create the new folder. Right click the folder, select the Security tab and add the rights. Try not to do this on the root folder though, do it on single sub-folders preferably. regards, Paul Watson Bluegrass South Africa Brian Welsch wrote: "blah blah blah, maybe a potato?" while translating my Afrikaans. Crikey! ain't life grand?I have given the write permission to everyone in the root folder of the network folder. but still the problem persists i heard about that i have to change the automatic generated password to static password of the aspnet account. can u tell me how to set the same bye regards sasidar
-
I have given the write permission to everyone in the root folder of the network folder. but still the problem persists i heard about that i have to change the automatic generated password to static password of the aspnet account. can u tell me how to set the same bye regards sasidar
Firstly as Paul mentioned don't set your permission at the root. Secondly it is recommanded that the everyone group be disabled for security reasons anyway so you should be giving it permissions to anything. The ASP.NET account is the one you want to set permissions for.