« Previous Next »

Thread: IIS configuration error

Last post 07-07-2008 8:13 AM by Rovastar. 1 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (2 items)

Sort Posts:

  • 07-07-2008, 3:48 AM

    IIS configuration error

    I had developed asp.net application using .net framework 2.0. I had configured the application in c://inetpub\wwwroot folder.

    Everything is ok. I had configured version 2.0 In IIS, root directly where the application resides configured exactly. previously it worked, but now it gives the following error:

    please kindly help me in this regard.

    Server Error in '/' Application.

    The current identity (NT AUTHORITY\NETWORK SERVICE) does not have write access to 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files'.

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.Web.HttpException: The current identity (NT AUTHORITY\NETWORK SERVICE) does not have write access to 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files'.

    Source Error:

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

    Stack Trace:

    [HttpException (0x80004005): The current identity (NT AUTHORITY\NETWORK SERVICE) does not have write access to 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files'.]
       System.Web.HttpRuntime.SetUpCodegenDirectory(CompilationSection compilationSection) +748
       System.Web.HttpRuntime.HostingInit(HostingEnvironmentFlags hostingFlags) +223
    
    [HttpException (0x80004005): The current identity (NT AUTHORITY\NETWORK SERVICE) does not have write access to 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files'.]
       System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +940
       System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +70
       System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +275
    


    Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433

  • 07-07-2008, 8:13 AM In reply to

    Re: IIS configuration error

     Have you:

    a) Enabled ASP.NET

    http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/44f16c37-f727-4244-9813-2289e13dadba.mspx?mfr=true

     

    b) And have you allowed the ASP.net user permissions to access the directories where your application resides.

     

Page 1 of 1 (2 items)
Microsoft Communities