在Win2003中的IIS能访问HTM,但不能访问ASPX页面,出现下面的错误
Server Error in '/' 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 'd:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\3aba5b02\e9f70ae8\App_Web_home.aspx.cdcab7d2.qkocgonl.dll' -- 'Access is denied. '
Source Error:
[No relevant source lines]
Source File: Line: 0
Show Detailed Compiler Output:
d:\windows\system32\inetsrv> "D:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\csc.exe" /t:library /utf8output /R:"D:\WINDOWS\assembly\GAC_32\System.EnterpriseServices\2.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.dll" /R:"D:\WINDOWS\assembly\GAC_MSIL\System.Drawing\2.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll" /R:"D:\WINDOWS\assembly\GAC_32\System.Web\2.0.0.0__b03f5f7f11d50a3a\System.Web.dll" /R:"D:\WINDOWS\assembly\GAC_MSIL\System.Web.Mobile\2.0.0.0__b03f5f7f11d50a3a\System.Web.Mobile.dll" /R:"D:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\mscorlib.dll" /R:"D:\WINDOWS\assembly\GAC_MSIL\System.Configuration\2.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll" /R:"D:\WINDOWS\assembly\GAC_MSIL\System.Xml\2.0.0.0__b77a5c561934e089\System.Xml.dll" /R:"D:\WINDOWS\assembly\GAC_MSIL\System\2.0.0.0__b77a5c561934e089\System.dll" /R:"D:\WINDOWS\assembly\GAC_32\System.Data\2.0.0.0__b77a5c561934e089\System.Data.dll" /R:"D:\WINDOWS\assembly\GAC_MSIL\System.Web.Services\2.0.0.0__b03f5f7f11d50a3a\System.Web.Services.dll" /out:"D:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\3aba5b02\e9f70ae8\App_Web_home.aspx.cdcab7d2.qkocgonl.dll" /debug- /optimize+ /win32res:"D:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\3aba5b02\e9f70ae8\hf1c450b.res" /w:4 /nowarn:1659;1699 "D:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\3aba5b02\e9f70ae8\App_Web_home.aspx.cdcab7d2.qkocgonl.0.cs" "D:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\3aba5b02\e9f70ae8\App_Web_home.aspx.cdcab7d2.qkocgonl.1.cs" "D:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\3aba5b02\e9f70ae8\App_Web_home.aspx.cdcab7d2.qkocgonl.2.cs"
Microsoft (R) Visual C# 2005 Compiler version 8.00.50727.42
for Microsoft (R) Windows (R) 2005 Framework version 2.0.50727
Copyright (C) Microsoft Corporation 2001-2005. All rights reserved.
error CS0016: Could not write to output file 'd:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\3aba5b02\e9f70ae8\App_Web_home.aspx.cdcab7d2.qkocgonl.dll' -- 'Access is denied. '
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42
Compiler Error Message: CS0016: Could not write to output file
答案:2 悬赏:80 手机版
解决时间 2021-04-01 20:31
- 提问者网友:动次大次蹦擦擦
- 2021-04-01 15:59
最佳答案
- 五星知识达人网友:旧脸谱
- 2021-03-16 10:19
在 '/' 申请中的伺候器错误。
编辑错误
描述: 一个错误在必需维修这一个请求的资源的编辑期间发生了。 请适当地检讨下列的特定错误细节而且修正你的原始码。
编辑者错误信息: CS0016: 无法对输出文件写 'd:\ WINDOWS\Microsoft.NET\Framework\v 2.0.50727\暂时的 ASP.NET 文件\root\3 aba 5 b 02\e 9 f 70 ae 8\App_Web_home.aspx.cdcab7 d 2.qkocgonl.dll'-- '通路被否认。 '
建议重新安装安装前运行系统还原!!!
编辑错误
描述: 一个错误在必需维修这一个请求的资源的编辑期间发生了。 请适当地检讨下列的特定错误细节而且修正你的原始码。
编辑者错误信息: CS0016: 无法对输出文件写 'd:\ WINDOWS\Microsoft.NET\Framework\v 2.0.50727\暂时的 ASP.NET 文件\root\3 aba 5 b 02\e 9 f 70 ae 8\App_Web_home.aspx.cdcab7 d 2.qkocgonl.dll'-- '通路被否认。 '
建议重新安装安装前运行系统还原!!!
全部回答
- 1楼网友:上分大魔王
- 2020-10-02 08:18
搜一下:Compiler Error Message: CS0016: Could not write to output file
我要举报
如以上回答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
点此我要举报以上问答信息
大家都在看
推荐资讯