473,394 Members | 1,752 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

NT AUTHORITY\NETWORK SERVICE error

Hello,

I have a ASP.NET 2.0 website that is working on one virtual server (windows
2003 SP1) that connects to a SQL Server 2000 database on a different
machine. I transferred the files to another virtual server (windows 2003
SP1) and I am now getting the following error.

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'.

Any help with this would be appreciated.
--
Thanks in advance,

sck10
Jun 16 '06 #1
3 2946
Hi Sck10,

Thanks for your posting.

Based on your description, you're ecountering some file access permission
error when deploying one of the ASP.NET 2.0 application to a target windows
2003 server , correct?

As for this issue, since the access error is against the ASP.NET's system
temporary folder, I think it is likely the netwrokservice account(default
process idenitity for IIS6 ,default application pool) is not grant the
proper security permissions. Is this server new installed with .net
framework 2.0, have you ever run any other ASP.NET 2.0 application on it?
Here is a msdn article describing create a custom service account for
ASP.NET 2.0 application and it also mentioned the security permission
necessary for ASP.NET process identity.

#How To: Create a Service Account for an ASP.NET 2.0 Application
http://msdn.microsoft.com/library/en...9.asp?frame=tr
ue

In addition, for general file access permission error, you can use the
filemon tool to trace the file access failures so that you can clearly get
what's the target file entries that cause the problem:

http://www.sysinternals.com/utilities/filemon.html

Hope this helps. If there is any other questions, please feel free to post
here.

Regards,

Steven Cheng
Microsoft MSDN Online Support Lead
==================================================

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Jun 16 '06 #2
Thanks Steve, Solved the problem...
"Steven Cheng[MSFT]" <st*****@online.microsoft.com> wrote in message
news:s7***************@TK2MSFTNGXA01.phx.gbl...
Hi Sck10,

Thanks for your posting.

Based on your description, you're ecountering some file access permission
error when deploying one of the ASP.NET 2.0 application to a target
windows
2003 server , correct?

As for this issue, since the access error is against the ASP.NET's system
temporary folder, I think it is likely the netwrokservice account(default
process idenitity for IIS6 ,default application pool) is not grant the
proper security permissions. Is this server new installed with .net
framework 2.0, have you ever run any other ASP.NET 2.0 application on it?
Here is a msdn article describing create a custom service account for
ASP.NET 2.0 application and it also mentioned the security permission
necessary for ASP.NET process identity.

#How To: Create a Service Account for an ASP.NET 2.0 Application
http://msdn.microsoft.com/library/en...9.asp?frame=tr
ue

In addition, for general file access permission error, you can use the
filemon tool to trace the file access failures so that you can clearly get
what's the target file entries that cause the problem:

http://www.sysinternals.com/utilities/filemon.html

Hope this helps. If there is any other questions, please feel free to post
here.

Regards,

Steven Cheng
Microsoft MSDN Online Support Lead
==================================================

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

==================================================
This posting is provided "AS IS" with no warranties, and confers no
rights.

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Jun 16 '06 #3
Thanks for your followup Steve,

Glad to be of assistance!

Regards,

Steven Cheng
Microsoft MSDN Online Support Lead
==================================================

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
Jun 17 '06 #4

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

Similar topics

8
by: matt breedlove | last post by:
(x-posted to microsoft.public.dotnet.general and microsoft.public.dotnet.languages.vb) Hello all. I am currently creating a Windows Service using VB.NET and would like to return an error if...
5
by: azgoddess1 | last post by:
During the installation I get these error messages: ***** SQL1390C The environment variable DB2Instance is not defined or is invalid An error ocured while loading the command "C:\Program...
2
by: Terry Holland | last post by:
I posted a follow up to an earlier post but did not receive response so here it is again (with original post and response) > This could be because you are running the index service over this web...
3
by: THNQDigital | last post by:
Hi All, I have written VB.NET Windows Service whcih reads some information from Outlook and creates an Excel report outa it. When i make a console application and run the program everything...
4
by: jf li | last post by:
I have a Asp.net web application and a Asp.net Web service application. The Web application is using HtmlInputFile to get a 50M size of file selected by end user, read the data of this file and...
6
by: Joe | last post by:
C# .NET 2.0 I've got a Windows Service that works exactly as I expect it to. However, it does rely on a few Configuration settings. If the customer doesn't configure it correctly, the service...
3
by: david | last post by:
Greetings, I'm doing some modifications of an existing Visual Studio .NET 2003 C# project that is to be deployed as a windows service. The solution includes a project that builds an MSI file. ...
4
by: Jason Richmeier | last post by:
I am sure this has been asked at least once before but I could not find anything when searching. If I set the value of the ExitCode property to 1066 for a windows service, the text "A service...
0
by: =?Utf-8?B?QW5keSBZdQ==?= | last post by:
Hi, I'm trying to return exceptions from a WCF Service using FaultExceptions. I got the service compiled and running. But I get an error while adding a service reference to it. The error reads: "...
3
by: Lance Wynn | last post by:
Hello, I am receiving this error when trying to instantiate a webservice component. I have 2 development machines, both are XP sp2 with VS 2008 installed. On one machine, the code works fine. On...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.