Home All Groups Group Topic Archive Search About

Permission for bin folder: ASP.NET app deployed under a web site

Author
10 Oct 2005 6:08 PM
Sachin
Hi All,

I have an asp.net application and I have deployed it under a Web Site. I am
using IIS 6.0.

However, while running the application it fails saying that can't monitor
file changes under bin directory and access is denied.

I have given read permission to ASPNET and Impersonation account. However,
it still fails.

If I give permission to "everyone" to read the bin folder it works fine.

How do I find out which account the application is trying to use to read the
bin directory or which account needs the read permission?

Any pointer or help.

Thanks in advance
Sachin

Author
10 Oct 2005 7:11 PM
Teemu Keiski
Hi,

Try NETWORK SERVICE account

--
Teemu Keiski
ASP.NET MVP, AspInsider
Finland, EU
http://blogs.aspadvice.com/joteke

Show quoteHide quote
"Sachin" <annonym***@microsoft.com> wrote in message
news:OaczMSczFHA.3188@TK2MSFTNGP14.phx.gbl...
> Hi All,
>
> I have an asp.net application and I have deployed it under a Web Site. I
> am
> using IIS 6.0.
>
> However, while running the application it fails saying that can't monitor
> file changes under bin directory and access is denied.
>
> I have given read permission to ASPNET and Impersonation account. However,
> it still fails.
>
> If I give permission to "everyone" to read the bin folder it works fine.
>
> How do I find out which account the application is trying to use to read
> the
> bin directory or which account needs the read permission?
>
> Any pointer or help.
>
> Thanks in advance
> Sachin
>
>
Are all your drivers up to date? click for free checkup

Author
11 Oct 2005 1:44 AM
Patrick.O.Ige
To add to Teemu's advice
WIN 2003 uses servername\Network service acct
Patrick

Show quoteHide quote
"Teemu Keiski" <jot***@aspalliance.com> wrote in message
news:ezNsr5czFHA.2212@TK2MSFTNGP15.phx.gbl...
> Hi,
>
> Try NETWORK SERVICE account
>
> --
> Teemu Keiski
> ASP.NET MVP, AspInsider
> Finland, EU
> http://blogs.aspadvice.com/joteke
>
> "Sachin" <annonym***@microsoft.com> wrote in message
> news:OaczMSczFHA.3188@TK2MSFTNGP14.phx.gbl...
> > Hi All,
> >
> > I have an asp.net application and I have deployed it under a Web Site. I
> > am
> > using IIS 6.0.
> >
> > However, while running the application it fails saying that can't
monitor
> > file changes under bin directory and access is denied.
> >
> > I have given read permission to ASPNET and Impersonation account.
However,
> > it still fails.
> >
> > If I give permission to "everyone" to read the bin folder it works fine.
> >
> > How do I find out which account the application is trying to use to read
> > the
> > bin directory or which account needs the read permission?
> >
> > Any pointer or help.
> >
> > Thanks in advance
> > Sachin
> >
> >
>
>
Author
11 Oct 2005 4:48 AM
JIMCO Software
Patrick.O.Ige wrote:
> To add to Teemu's advice
> WIN 2003 uses servername\Network service acct
> Patrick
>

However, it's important to note that IIS 6 is hard-coded to check
permissions for the IIS_WPG group of which NETWORK SERVICE is a member.

--
Jim Cheshire
JIMCO Software
http://www.jimcosoftware.com

FrontPage add-ins for FrontPage 2000 - 2003

Bookmark and Share