Access denied on 'c:\WINNT\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\....

Discussion in 'ASP .Net' started by Bob, May 8, 2004.

  1. Bob

    Bob Guest

    I'm all of a sudden getting an access denied error on my web server when I
    access it from a browser:

    CS0016: Could not write to output file
    'c:\WINNT\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET
    Files\projmgmt\ede965f0\db1b3c5e\thwdzsif.dll' -- 'Access is denied. '

    I understand that .NET was attempting to do a JIT compilation since this is
    a newer version (tested and ran well on another server). I also know that
    this is because some ACL somewhere is screwed up because if I put the ASPNET
    user in the Administrators group, which has full control to every directory
    on the server, it works. I looked at these microsoft docs Q317012 and
    Q271071, and checked that ASPNET has full control to the system TEMP folder
    as well as 'c:\WINNT\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET'.
    For now I was able to get around the issue by putting ASPNET in the
    Administrators group, hitting the site from a browser to let the JIT
    compilation go through, and then remove the ASPNET from Administrators,
    since the JIT comile only occurs once (if the assembly remains unchanged).
    However, this is clearly not a permanent solution. Does anyone know exactly
    which folder(s) the ASPNET user need full control access to in addition to
    the ones I mentioned above?
    Bob, May 8, 2004
    #1
    1. Advertising

  2. Bob

    Natty Gur Guest

    Hi,

    First the message is by product of generating dynamic assemblies from
    ASP.NET aspx files.

    Try to follow this link to find out the necessary permissions:

    http://msdn.microsoft.com/webservices/building/security/default.aspx?pul
    l=/library/en-us/dnnetsec/html/thcmch19.asp#c19618429_025

    You can also use Filemon (www.sysinternals.com) to find out which
    directories need permissions.

    Natty Gur[MVP]

    blog : http://weblogs.asp.net/ngur
    Mobile: +972-(0)58-888377


    *** Sent via Developersdex http://www.developersdex.com ***
    Don't just participate in USENET...get rewarded for it!
    Natty Gur, May 9, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.

Share This Page