Home All Groups Group Topic Archive Search About

set write permission for file/folder

Author
1 Sep 2005 9:17 PM
Robert Blackwell
I've setup a website with an asp app, and I'm getting an error because it
can't write to the db.

the db is in a folder called db and through IIS properties, I enabled write
permission for that folder but it still gives me the same error. Also, when
I right click the db.mdb file in IIS and choose properties the file is
showing read and write permssions checked so I dont get why it doesn't work.

Author
2 Sep 2005 12:17 PM
Andrew Morton
Robert Blackwell wrote:
> I've setup a website with an asp app, and I'm getting an error
> because it can't write to the db.
>
> the db is in a folder called db and through IIS properties, I enabled
> write permission for that folder but it still gives me the same
> error. Also, when I right click the db.mdb file in IIS and choose
> properties the file is showing read and write permssions checked so I
> dont get why it doesn't work.

Try giving the IIS_WPG *group* the required permissions.

Andrew
Are all your drivers up to date? click for free checkup

Author
2 Sep 2005 4:44 PM
Robert Blackwell
Author
2 Sep 2005 6:55 PM
Robert Blackwell
Also, if I copy all of the site contents to my local windows xp box it runs
just fine without having to change any permissions. Is this just extra
default security on windows server or something else?
Author
5 Sep 2005 8:05 AM
Andrew Morton
Robert Blackwell wrote:
> Also, if I copy all of the site contents to my local windows xp box
> it runs just fine without having to change any permissions. Is this
> just extra default security on windows server or something else?

I suspect your local box gives Everyone full permission.

Um, I didn't mention the other permissions. The output of cacls on a folder
I read/write to from ASP.NET is

MACHINENAME\ASPNET:(OI)(CI)F
MACHINENAME\IIS_WPG:(OI)(CI)C
MACHINENAME\IUSR_MACHINENAME:(OI)(CI)F

I'd assumed you had already given the ASPNET and IUSR accounts sufficient
permissions (because they look like the obvious suspects) and just needed
the IIS_WPG one, which I only found out about by trial-and-error.

Andrew
Author
6 Sep 2005 8:41 PM
Robert Blackwell
Are you available for hire? or know anyone that could assist me?

One thing just keeps leading to another and I really need to get my stuff
going. Aside from all these folder permission errors which after finally
setting I get yet another error.

I need help setting up FTP and e-mail on my sites. Then also, how to make
subdomains for mysite.

I would like someone to not just setup for me but to show me so I can know
how to do it myself for new sites or if I need to chagne stuff.

My guess is that this would be about a half hour to an hour of work for
someone who knows how to do this stuff. $50 bucks sound good?
Author
7 Sep 2005 1:41 PM
Andrew Morton
Robert Blackwell wrote:
> Are you available for hire?

Sorry, no.

> or know anyone that could assist me?

No. Well, google always seems friendly and helpful.

> One thing just keeps leading to another...

I think you might get better responses by posting in
microsoft.public.inetserver.iis - and don't forget to search
http://groups.google.com/advanced_group_search?hl=en first. Certainly your
subdomains query is answered there (you need to know about host headers).

[I used a $20 second-hand PC + $30 Linux book with CD and some reading and
prodding to set up an FTP server. It simply works and keeps on going.]

Andrew

Bookmark and Share