Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Services > How do I fix this error: "The current identity (NT AUTHORITY\NETWORK SERVICE) does not have write access to "

Reply
Thread Tools

How do I fix this error: "The current identity (NT AUTHORITY\NETWORK SERVICE) does not have write access to "

 
 
TheBurgerMan
Guest
Posts: n/a
 
      10-17-2005
Hi all. I am using W2K3, .NET2 on a machine running AD and Exchange. I
started getting the message below last week. I googled the error and not
much was returned, but I did find this;
http://forums.asp.net/918725/ShowPost.aspx

I tried both items in the forum and it works for a few hits then it happens
again!

Anyone have the same problem? How do I fix this?

--
Thanks,
TheBurgerMan
at
gmail.com
--

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\Tem porary 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\Tem porary 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\Tem porary ASP.NET Files'.]
System.Web.HttpRuntime.SetUpCodegenDirectory(Compi lationSection
compilationSection) +3473131
System.Web.HttpRuntime.HostingInit(HostingEnvironm entFlags 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\Tem porary ASP.NET Files'.]
System.Web.HttpRuntime.FirstRequestInit(HttpContex t context) +3425571
System.Web.HttpRuntime.EnsureFirstRequestInit(Http Context context) +88
System.Web.HttpRuntime.ProcessRequestInternal(Http WorkerRequest wr) +149



--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.26; ASP.NET
Version:2.0.50727.26




 
Reply With Quote
 
 
 
 
TheBurgerMan
Guest
Posts: n/a
 
      10-17-2005
I have changed the ACL to add the NETWORK SERVICE account to the Temp
directory (just now), but I am leary of opening scurity holes on my box. Is
there an actual problem that will cause my site to keep craping out?
--
Thanks,
TheBurgerMan
at
gmail.com
--
"TheBurgerMan" <> wrote in message
news:...
> Hi all. I am using W2K3, .NET2 on a machine running AD and Exchange. I
> started getting the message below last week. I googled the error and not
> much was returned, but I did find this;
> http://forums.asp.net/918725/ShowPost.aspx
>
> I tried both items in the forum and it works for a few hits then it
> happens
> again!
>
> Anyone have the same problem? How do I fix this?
>
> --
> Thanks,
> TheBurgerMan
> at
> gmail.com
> --
>
> 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\Tem porary 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\Tem porary 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\Tem porary ASP.NET Files'.]
> System.Web.HttpRuntime.SetUpCodegenDirectory(Compi lationSection
> compilationSection) +3473131
> System.Web.HttpRuntime.HostingInit(HostingEnvironm entFlags 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\Tem porary ASP.NET Files'.]
> System.Web.HttpRuntime.FirstRequestInit(HttpContex t context) +3425571
> System.Web.HttpRuntime.EnsureFirstRequestInit(Http Context context) +88
> System.Web.HttpRuntime.ProcessRequestInternal(Http WorkerRequest wr) +149
>
>
>
> --------------------------------------------------------------------------------
> Version Information: Microsoft .NET Framework Version:2.0.50727.26;
> ASP.NET
> Version:2.0.50727.26
>
>
>
>



 
Reply With Quote
 
 
 
 
TheBurgerMan
Guest
Posts: n/a
 
      10-17-2005
I fixed the problem (thanks to Jim Cheshire of JIMCO Software
(http://www.jimcosoftware.com) ).

The GPO (Default Domain Policy) was overriding the ACL's and NOT including
the NETWORK SERVICE account everytime it did a policy check (or whatever it
does). Once I added the account to the correct directory in the Default
Domain Policy, it was fine.

--
Thanks,
TheBurgerMan
at
gmail.com
--
"TheBurgerMan" <> wrote in message
news:%...
>I have changed the ACL to add the NETWORK SERVICE account to the Temp
>directory (just now), but I am leary of opening scurity holes on my box.
>Is there an actual problem that will cause my site to keep craping out?
> --
> Thanks,
> TheBurgerMan
> at
> gmail.com
> --
> "TheBurgerMan" <> wrote in message
> news:...
>> Hi all. I am using W2K3, .NET2 on a machine running AD and Exchange. I
>> started getting the message below last week. I googled the error and not
>> much was returned, but I did find this;
>> http://forums.asp.net/918725/ShowPost.aspx
>>
>> I tried both items in the forum and it works for a few hits then it
>> happens
>> again!
>>
>> Anyone have the same problem? How do I fix this?
>>
>> --
>> Thanks,
>> TheBurgerMan
>> at
>> gmail.com
>> --
>>
>> 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\Tem porary
>> 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\Tem porary 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\Tem porary ASP.NET Files'.]
>> System.Web.HttpRuntime.SetUpCodegenDirectory(Compi lationSection
>> compilationSection) +3473131
>> System.Web.HttpRuntime.HostingInit(HostingEnvironm entFlags
>> 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\Tem porary ASP.NET Files'.]
>> System.Web.HttpRuntime.FirstRequestInit(HttpContex t context) +3425571
>> System.Web.HttpRuntime.EnsureFirstRequestInit(Http Context context) +88
>> System.Web.HttpRuntime.ProcessRequestInternal(Http WorkerRequest wr)
>> +149
>>
>>
>>
>> --------------------------------------------------------------------------------
>> Version Information: Microsoft .NET Framework Version:2.0.50727.26;
>> ASP.NET
>> Version:2.0.50727.26
>>
>>
>>
>>

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: How include a large array? Edward A. Falk C Programming 1 04-04-2013 08:07 PM
How do I fix this error: "The current identity (NT AUTHORITY\NETWORK SERVICE) does not have write access to " TheBurgerMan ASP .Net 13 09-22-2010 03:21 PM
'The current identity does not have write access to Temporary Asp.netFiles vinod singh ASP .Net 0 07-22-2010 12:20 PM
How do I fix this error: "The current identity (NT AUTHORITY\NETWORK SERVICE) does not have write access to " TheBurgerMan ASP .Net Security 3 10-19-2005 05:08 AM
Difference between HttpContext.Current.User.Identity and identity Impersonation Giovanni Bassi ASP .Net 0 10-20-2003 02:25 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57