Re: NT AUTHORITY\Network Service can't write to .NET Directory?
- From: musosdev <musoswire@xxxxxxxxxxxxxxxx>
- Date: Thu, 15 Mar 2007 07:48:18 -0700
Hi Dominick,
Um... do what, exactly? I have no idea what it's doing. I've never seen that
error before, and I've not written any code to access the .NET directories.
What/why is it trying to do!?
"Dominick Baier" wrote:
Well - you really shouldn't do that...and it is also not necessary..
This directory is used by ASP.NET to temporarily store the compiled pages.
The worker process account needs modify privileges on that IIRC..
-----
Dominick Baier (http://www.leastprivilege.com)
Developing More Secure Microsoft ASP.NET 2.0 Applications (http://www.microsoft.com/mspress/books/9989.asp)
Hi
An addition to my IWA query really - the sysadmin had promoted the web
server to a domain controller, and it *seems* to be letting us into
the Intranet app, but it's throwing the following error...
I wonder if some could explain what it's trying to do, and how to fix
it?
Ta, Dan.
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) +3482379
System.Web.HttpRuntime.HostingInit(HostingEnvironmentFlags
hostingFlags)
+226
[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)
+3435007
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context)
+88
System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)
+252
- Follow-Ups:
- Re: NT AUTHORITY\Network Service can't write to .NET Directory?
- From: Dominick Baier
- Re: NT AUTHORITY\Network Service can't write to .NET Directory?
- References:
- Re: NT AUTHORITY\Network Service can't write to .NET Directory?
- From: Dominick Baier
- Re: NT AUTHORITY\Network Service can't write to .NET Directory?
- Prev by Date: Re: Using Protocol Transition and Constrained Delegation to access a domain controler via LDAP
- Next by Date: RE: How to enable IWA over multiple servers
- Previous by thread: Re: NT AUTHORITY\Network Service can't write to .NET Directory?
- Next by thread: Re: NT AUTHORITY\Network Service can't write to .NET Directory?
- Index(es):
Relevant Pages
|