当前位置:编程学习 > C#/ASP.NET >>

.NET 2.0 出错,大家给看看!

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 'c:\windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\41482410\39af05bb\en-us\App_GlobalResources.g7pzc5ii.resources.dll' -- '拒绝访问。 '

Source Error:

 

[No relevant source lines]
 

Source File:    Line: 0 



Show Detailed Compiler Output:


c:\windows\system32\inetsrv> "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\csc.exe" /t:library /utf8output /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\41482410\39af05bb\assembly\dl3\36965666\5f60d32f_d49bc901\PowerEasy.SiteFactory.Bll.Accessories.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\41482410\39af05bb\assembly\dl3\8b05fcf0\61bd3295_d39bc901\System.Web.DataVisualization.Design.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\41482410\39af05bb\assembly\dl3\a0b64095\4fa55541_d49bc901\PowerEasy.SiteFactory.Bll.Ssms.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\41482410\39af05bb\assembly\dl3\6e2d73ae\257c7b3c_d49bc901\PowerEasy.SiteFactory.Api.DLL" /R:"C:\WINDOWS\assembly\GAC_32\System.Data.OracleClient\2.0.0.0__b77a5c561934e089\System.Data.OracleClient.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Web.Services\2.0.0.0__b03f5f7f11d50a3a\System.Web.Services.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\41482410\39af05bb\assembly\dl3\b7971ec0\e3be7e33_d49bc901\PowerEasy.SiteFactory.Bll.CommonModel.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\41482410\39af05bb\assembly\dl3\41938271\db5b8a2e_d49bc901\PowerEasy.SiteFactory.DalFactory.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\41482410\39af05bb\assembly\dl3\d1a334a8\599cc034_d49bc901\PowerEasy.SiteFactory.Bll.Crm.DLL" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Design\2.0.0.0__b03f5f7f11d50a3a\System.Design.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\41482410\39af05bb\assembly\dl3\16e1060b\00679a86_b669c901\System.Web.Extensions.Design.DLL" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.DirectoryServices.Protocols\2.0.0.0__b03f5f7f11d50a3a\System.DirectoryServices.Protocols.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\41482410\39af05bb\assembly\dl3\6887369f\f150cb28_d49bc901\PowerEasy.SiteFactory.IDal.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET \PowerEasy.SiteFactory.Bll.Survey.DLL" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.DirectoryServices\2.0.0.0__b03f5f7f11d50a3a\System.DirectoryServices.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\41482410\39af05bb\assembly\dl3\8c4683e5\00679a86_b669c901\CodeEngine.Framework.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\41482410\39af05bb\assembly\dl3\ff8fcc6b\0094cb87_b669c901\Microsoft.ReportViewer.Common.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\41482410\39af05bb\assembly\dl3\3c2aaebf\f975ab39_d49bc901\PowerEasy.SiteFactory.Bll.StaticHtml.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\mscorlib.dll" /out:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\41482410\39af05bb\en-us\App_GlobalResources.g7pzc5ii.resources.dll" /debug- /optimize+ /res:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\41482410\39af05bb\resources.errormessage.en-us.resources" /res:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\41482410\39af05bb\resources.dynamicpageresources.en-us.resources" /res:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\41482410\39af05bb\resources.successmessage.en-us.resources" /res:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\41482410\39af05bb\resources.chargeresources.en-us.resources" /w:4 /nowarn:1659;1699  "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\41482410\39af05bb\App_GlobalResources.g7pzc5ii.en-us_0.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 'c:\windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\41482410\39af05bb\en-us\App_GlobalResources.g7pzc5ii.resources.dll' -- '拒绝访问。 '

 




--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42  --------------------编程问答-------------------- 在C:\WINDOWS\temp文件夹上面加上IIS_WPG 控制权限(修改、写入),重新启动IIS 。
将C:\Windows\temp文件夹清空,Temporary ASP.NET Files文件夹也清空。重新启动IIS
参考
补充:.NET技术 ,  .NET Framework
CopyRight © 2022 站长资源库 编程知识问答 zzzyk.com All Rights Reserved
部分文章来自网络,