473,396 Members | 1,784 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,396 software developers and data experts.

CS0016: Access is denied in ASP.NET 2.0 intranet site

I just installed .NET framework 2.0 on a Windows 2003 Standard SP1 box
with IIS 6.0. There is just the default site, and I am getting this
error when trying to hit the default page:

Compiler Error Message: CS0016: Could not write to output file
'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Tem porary ASP.NET
Files\root\26676eb7\92c7e946\App_global.asax.yupxk 6b8.dll' -- 'Access
is denied. '

I ran aspnet_regiis.exe /i, and then deleted everything below
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temp orary ASP.NET Files.
I then gave NETWORK SERVICE full control permissions there and below.
IUSR_mymachine, ASPNET, and also has those permissions. What am I
doing wrong?

Jan 5 '07 #1
2 4154
Try killing the aspnet_wp.exe process. It may not be releasing a lock on the
temp file. If that fails, you may want to try rebooting and then manually
emptying out the temp directory to force IIS to copy its temp files.
Jan 5 '07 #2
Thanks for your reply. I don't see a process named aspnet_wp.exe in
Task Manager. I restarted IIS and deleted the temp directory. But I
get the same behavior, same error.

Keith Patrick wrote:
Try killing the aspnet_wp.exe process. It may not be releasing a lock on the
temp file. If that fails, you may want to try rebooting and then manually
emptying out the temp directory to force IIS to copy its temp files.
Jan 5 '07 #3

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

Similar topics

5
by: Raterus | last post by:
I'm just throwing this error out for my sanity, I've seen posts about this, but never solutions. I'm using VS.NET 2003, Framework 1.1, and I'm getting a random error about every 1 out of 10 times...
3
by: FrzzMan[ | last post by:
Yesterday, all my ASP.NET running fine, at least this error didn't raise. Today, I turned on the PC at the morning and receive this error: Compiler Error Message: CS0016: Could not write to...
0
by: Q. John Chen | last post by:
Hello there, I have an ASP.NET application. It was running fine until yesterday. It give me CS0016 error: 'c:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\. . . ACCESS...
1
by: Douglas | last post by:
Hi, Can anyone help with the following error message I get returned to my browser when I try to run my asp.net app, please? It's written in c# and used to run ok until quite recently. I've checked...
0
by: cycloptic | last post by:
Hello, I have a fairly new install of Windows XP Pro SP1 with current patches (not SP2 as it is not certified for our network yet) with a local IIS server on the same machine. I have Visual...
10
by: RedEagle | last post by:
Hi All! Do you remember me? I am that desperate who had this error for a while: --- Compilation Error Description: An error occurred during the compilation of a resource required to service...
1
by: michelevirgilio | last post by:
Hi, some hours ago my .net framework has stopped working, WITHOUT ANY REASON: no new installations, etc. Now every aspx page give me the error: Description: An error occurred during the...
1
by: ghawadi.B | last post by:
Hello Developers, When I started a new C# Web Application project using Ms Visual Studio 2003 and browse the page it gives me the following error message! How can I resolve this problem? I have...
4
by: John | last post by:
Ok, I give up. I have an XP SP2 development system that has both asp.net v1.1.4322 and v2.0.50727 loaded on it. When I try to run my web site in debug mode, I get error CS0016 as follows: ...
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:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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...
0
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.