Microsoft .NET Framework Version 1.1.4322.573

H

Hank Chi

After I install .NET 2003 and framework, whatever I create
a web project and run it, it always has error message are
as follows:
For example: open http://localhost/QuickStart/default.aspx
Server Error in '/QuickStart' Application.
Compilation Error
Description: An error occurred during the compilation of a
resource required to service this request. Please review
the following specific error details and modify your
source code appropriately.
Compiler Error Message: CS0016 Could not write to output
file "f:\WINDOWS\Microsoft .NET\Framework\v1.1.4322
\Temporary ASP.NET Files\quickstart\9fb6c2c8\_uksx8m-.dl" -
'Access is denied.' The directory is always read only.

I login as administrator. Why the directory is always read
only? Thanks for your help.
 
F

Felix Wang

Hi Hank,

I have reviewed the previous post on the same issue by you. I think the
root cause of the error here is that the folders are read-only. Do you have
any third-party anti-virus or system protection software installed? They
may be watching over these system folders. Please disable them if possible.

The following article may also apply here. Please have a check:

You Cannot View or Change the Read-Only or System Attribute of Folders
http://support.microsoft.com/?id=326549

After changing the properties of the folders, let's run "aspnet_regiis.exe
-i" to re-register ASP.Net to IIS. Alternatively, we can also try the
following command to repair .Net Framework Runtime directly:

d:\dotNetFramework\dotnetfx.exe /t:c:\temp /c:"msiexec.exe /fvecms
c:\temp\netfx.msi"

The "dotnetfx.exe" is located in the "dotNetFramework" folder of your
Windows Component Update CD.

I hope the information I have provided here is useful to you. Should you
have any conerns or new findings, please let me know.

Regards,

Felix Wang
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top