all groups > iis security > march 2005 >
You're in the

iis security

group:

Web Application cannot create folder in wwwroot\


Web Application cannot create folder in wwwroot\ jaz2003
3/12/2005 12:09:02 PM
iis security:
I have IIS 5.1 installed in my Windows XP pro, when my web appilcation is try
to create a folder in the wwwrootl dir, it cannot do it so I get an exception
error.
How can I give full perimsiion to the web application so that it can write
to the wwwroot dir?
If I create a folder myself in the wwwroot, it is OK???, but the application
cannot. Also when I right-click in the application to get to the properties I
cannot give that application write permissions, it keeps coming back to read
default???
I please need suggestion and help.
Re: Web Application cannot create folder in wwwroot\ jaz2003
3/12/2005 10:31:06 PM
Thank Jason, i will try your suggestion and will let you know the outcome.
Joe

[quoted text, click to view]
Re: Web Application cannot create folder in wwwroot\ Jason Brown [MSFT]
3/13/2005 10:33:41 AM
you need to check the NTFS permissions of the wwwroot folder. for an
anonymous web application to create a folder, the IUSR_ServerName account
needs write access. check these with WIndows Explorer - right click the
folder, get properties and go to the security tab.

If you don't have a security tab, and you're running Windows XP, you need to
turn off simple file sharing - under tools->folder options


--
Jason Brown
Microsoft GTSC, IIS

This posting is provided "AS IS" with no warranties, and confers no rights.


[quoted text, click to view]

Re: Web Application cannot create folder in wwwroot\ jaz2003
3/13/2005 8:23:01 PM
Jason;
I tried what you told me below and did not work. I turned off the sharing
permissions and still a problem. I have a same application in /My
Documents/Visual Studio Projects and it works there, but it does not want to
work in the /Inetput/wwwroot folder??.
I even checked the properties and compared them and is the same???. What
should I do next. How do you give write permissions to IUSR_ServerName
account?

Thank you for your Help.
Joe

[quoted text, click to view]
Re: Web Application cannot create folder in wwwroot\ jaz2003
3/14/2005 7:11:05 AM
Hi Jason;
Ok, let me try again and follow your suggestions carefully and will let you
know.
Thank you for your help.

Joe

[quoted text, click to view]
Re: Web Application cannot create folder in wwwroot\ Jason Brown [MSFT]
3/14/2005 3:58:40 PM
As I outlined earlier, through windows explorer, go the the folder's
properties dialog, get the security tab and add the perms (add button, write
int he account name and hit 'check names' to make sure it's the right
account). You'll see the differtn types of permissions you can add in the
lower panel.

My machine has a group for 'web anonymous users' which might be easier for
you - if you're running XP SP2.

as it works in different folders, you'll want to examine exactly what you're
doing differently. I suspect in the Visual Studio instance you're running
under your local logged-in user account, NOT the anonymous account.


--
Jason Brown
Microsoft GTSC, IIS

This posting is provided "AS IS" with no warranties, and confers no
rights.


[quoted text, click to view]

Re: Web Application cannot create folder in wwwroot\ jaz2003
3/17/2005 5:37:01 PM
Hi Jason;
Thank you for your help, I finally got it working with your guuidance, I was
following your previous message but finally I realized that in the "Folder
Options" I did not have an instance of ASPNET created for that application,
so as soon as added it and gave write permissions, I was able to write from
the application to the wwwroot folder. It was nice to see it working. Again
thank you very much.
Question: Why do you say below that with the group is eaiser??, it is better
to have it setup like yours?

thanks.

Joe.

[quoted text, click to view]
Re: Web Application cannot create folder in wwwroot\ Jason Brown [MSFT]
3/18/2005 12:47:44 PM
Well, with the group you don't have to worry about confusion between IUSR,
IWAM, ASPNET et al.. they just go in. It's not as fine-grained but it works
(!)


--
Jason Brown
Microsoft GTSC, IIS

This posting is provided "AS IS" with no warranties, and confers no rights.


[quoted text, click to view]

Re: Web Application cannot create folder in wwwroot\ N Thorell
3/30/2005 11:41:04 AM
Suddenly, today, I could not access anything on my local web. Not even a
static html-page under the wwwroot. I have spent the entire day
troubleshooting.
I wish there was a button to turn off all the security crap. It drives me
nuts.
10 years ago, it was so simple to develop home pages. Why is it suddenly
impossible?
I can access internet with internet explorer, but not any local pages. What
is wrong?


[quoted text, click to view]
AddThis Social Bookmark Button