473,804 Members | 3,757 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

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\NETWO RK SERVICE) does not have write
access to 'C:\WINDOWS\Mic rosoft.NET\Fram ework\v2.0.5072 7\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.Http Exception: The current identity (NT
AUTHORITY\NETWO RK SERVICE) does not have write access to
'C:\WINDOWS\Mic rosoft.NET\Fram ework\v2.0.5072 7\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\NETWO RK
SERVICE) does not have write access to
'C:\WINDOWS\Mic rosoft.NET\Fram ework\v2.0.5072 7\Temporary ASP.NET Files'.]
System.Web.Http Runtime.SetUpCo degenDirectory( CompilationSect ion
compilationSect ion) +3473131
System.Web.Http Runtime.Hosting Init(HostingEnv ironmentFlags hostingFlags)
+226

[HttpException (0x80004005): The current identity (NT AUTHORITY\NETWO RK
SERVICE) does not have write access to
'C:\WINDOWS\Mic rosoft.NET\Fram ework\v2.0.5072 7\Temporary ASP.NET Files'.]
System.Web.Http Runtime.FirstRe questInit(HttpC ontext context) +3425571
System.Web.Http Runtime.EnsureF irstRequestInit (HttpContext context) +88
System.Web.Http Runtime.Process RequestInternal (HttpWorkerRequ est wr) +149

--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.507 27.26; ASP.NET
Version:2.0.507 27.26
Nov 19 '05
11 45296
Thanks Jim. I added the directory (and all sub's) into the policy and then
did the 'gbupdate /force' again. My site is still up and running, so I
guess that was it.

--
Thanks,
TheBurgerMan
at
gmail.com
--
"JIMCO Software" <co*******@jimc osoftware.com> wrote in message
news:ez******** ******@TK2MSFTN GP15.phx.gbl...
TheBurgerMan wrote:
I ran the gpupdate and the site crapped out again, also "NETWORK
SERVICE" account has been removed from the ACL of the directory.

I am the admin of our small network and have never needed to play
with the GPO before. This problem just happened "out of the blue"
and I would like to resolve what caused it.

In the meantime, can you tell me what I should be looking for in the
Default Domain Controllers Policy?


So now you know that it's definitely a GPO. You'd have to look at each
policy that's applied to the box and make sure that it includes that
change. You can use gpresult to see what is applied.

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

Nov 19 '05 #11
TheBurgerMan wrote:
Thanks Jim. I added the directory (and all sub's) into the policy
and then did the 'gbupdate /force' again. My site is still up and
running, so I guess that was it.


Cool. Glad to help.

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


Nov 19 '05 #12

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
7899
by: Gard T?nnesland | last post by:
Hi everyone, How can I retrieve the current identity used in a procedure from a trigger. What I am trying to do is: The procedure takes a @username (nvarchar) as a parameter, and the procedure identifies the @username's identity and tries to delete the identity's row. An Instead Of trigger fires, and updates the specific row.
2
15076
by: Brian Campbell | last post by:
Gretings... I have written a Windows Service that accesses a Web Service. Both run fine on my development machine.... After installing both the Windows Service and Web Service on my staging server, I get the following error...
6
2938
by: Rob | last post by:
Hi, I am working on a project that requires a Windows Service which performs the following file transfer functions. 1. It monitors a specific local directory on a Windows 2003 Server. 2. When it finds files with a specific extension, it queries a SQL Server database to determine what workstation will be the destination of a File.Copy. 3. It copies those files to the appropriate workstations on the LAN,
1
1978
by: Jesper | last post by:
Im running Windows Server 2003 trying to get my ASP.NET applications to access the file system. My Web application needs to have write access to some folders in the virtual directory from which it runs. The server is a domain controller, so I don't have the ASPNET user to assign rights to. I've tried several guides from several sites.. but none seem to work, I keep getting the: "..Access to the path "..." is denied.
2
14264
by: TheBurgerMan | last post by:
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?
0
1252
by: berkeleydb_user | last post by:
Guys On my development machine I have a very simple app that takes input from user from asp, runs some macros in excel and spits out the result back on asp page. This works perfectly well on my host. I deployed this by making 'Web Setup' project in VS.net and installing it on remote server which is Windows Server 2003. After installing it I could go to that page etc etc. Here is the error. I gave full access to ASPNET user via explorer....
0
1398
by: Ed Sutton | last post by:
Is there a FileSecurity method that can determine if the current WindowsIdentity has write access to a file? I can get the current windows identity and use FileSecurity to return the AuthorizationRuleCollection and then search for the FileSystemAccessRule's that apply to my identity. The problem is my current identity may be "MYDOMAIN\JDOE", but I do not know how to determine if a group this identity belongs, for example "EVERYONE",...
1
8067
by: =?Utf-8?B?R2FuZXNoIE11dGh1dmVsdQ==?= | last post by:
Hello All, Our application write logs to a file in a folder. Before our application starts writing to that file, I want to check if the current user has write access to that file, for example, "c:\temp\LogFile.txt". I see several articles for setting file access permissions, getting file access permissions for a given user or current user - but the current user could also gain write access to the same file not just by explicit permssion...
1
4455
by: btreddy | last post by:
Hii all , When i was trying to access the webpages from the server(localhost only ) I got the message "The current identity (SYSNAME\ASPNET) does not have write access to 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files'. " suddenly it started showing this error...i didn set/change any permissions .
0
9706
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9579
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10571
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10075
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7615
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6851
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5520
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5651
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4295
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.