首页新闻找找看学习计划

编译错误:CS0009:未能打开元数据文件

0
[已解决问题] 解决于 2013-09-09 08:58

编译错误

说明: 在编译向该请求提供服务所需资源的过程中出现错误。请检查下列特定错误详细信息并适当地修改源代码。

编译器错误消息: CS0009: 未能打开元数据文件“c:\WINDOWS\assembly\GAC_MSIL\System.Security\2.0.0.0__b03f5f7f11d50a3a\System.Security.dll”--“未找到元数据。”

源错误:

 
[没有相关的源行]


源文件:    行: 0



C:\WINDOWS\system32> "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\sitefactory5.0\8956ad20\62601fe7\assembly\dl3\aaa04eb3\50dd6ba8_5782ce01\ICSharpCode.SharpZipLib.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\sitefactory5.0\8956ad20\62601fe7\assembly\dl3\a48deed3\f08774f6_5b82ce01\PowerEasy.Foundation.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\sitefactory5.0\8956ad20\62601fe7\assembly\dl3\50f3db21\9017a0a9_5782ce01\Wurfl.Aspnet.Extensions.DLL" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Web.DataVisualization.Design\3.5.0.0__31bf3856ad364e35\System.Web.DataVisualization.Design.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.ServiceModel\3.0.0.0__b77a5c561934e089\System.ServiceModel.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\sitefactory5.0\8956ad20\62601fe7\assembly\dl3\6572107f\d0dbc9a8_5782ce01\Lucene.Net.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\sitefactory5.0\8956ad20\62601fe7\assembly\dl3\e906eb12\c068aca8_5782ce01\AjaxControlToolkit.DLL" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Web.Mobile\2.0.0.0__b03f5f7f11d50a3a\System.Web.Mobile.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Xml\2.0.0.0__b77a5c561934e089\System.Xml.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\sitefactory5.0\8956ad20\62601fe7\assembly\dl3\75b0d44d\90cfc30a_5c82ce01\PowerEasy.Module.General.WebSite.DLL" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.WorkflowServices\3.5.0.0__31bf3856ad364e35\System.WorkflowServices.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\sitefactory5.0\8956ad20\62601fe7\assembly\dl3\ccf9bc52\c0124f11_5c82ce01\PowerEasy.Module.Promotion.WebSite.DLL" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Web.RegularExpressions\2.0.0.0__b03f5f7f11d50a3a\System.Web.RegularExpressions.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.IdentityModel\3.0.0.0__b77a5c561934e089\System.IdentityModel.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\sitefactory5.0\8956ad20\62601fe7\assembly\dl3\effea09f\70e06905_5c82ce01\PowerEasy.Module.General.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\sitefactory5.0\8956ad20\62601fe7\assembly\dl3\29b1b391\60e670a8_5782ce01\Microsoft.Practices.EnterpriseLibrary.Data.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\sitefactory5.0\8956ad20\62601fe7\assembly\dl3\55f339e7\50b3c6ff_5b82ce01\PowerEasy.Module.Crm.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\sitefactory5.0\8956ad20\62601fe7\assembly\dl3\4d7a5a17\609bc8f6_5b82ce01\PowerEasy.Foundation.HttpModule.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\sitefactory5.0\8956ad20\62601fe7\assembly\dl3\bca7685c\a08fe81f_5c82ce01\PowerEasy.SiteGroup.WebService.Common.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.ServiceModel.Web\3.5.0.0__31bf3856ad364e35\System.ServiceModel.Web.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\sitefactory5.0\8956ad20\62601fe7\assembly\dl3\218e6476\40a86eff_5b82ce01\PowerEasy.Module.Common.WebSite.DLL" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Drawing\2.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\sitefactory5.0\8956ad20\62601fe7\assembly\dl3\c01a9a26\10a73c12_5c82ce01\PowerEasy.Module.QA.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\mscorlib.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\sitefactory5.0\8956ad20\62601fe7\assembly\dl3\2b5da0f8\602b7415_5c82ce01\PowerEasy.Module.Search.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\sitefactory5.0\8956ad20\62601fe7\assembly\dl3\60dae392\208588f6_5b82ce01\PowerEasy.Foundation.FileServer.DLL" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Design\2.0.0.0__b03f5f7f11d50a3a\System.Design.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.DirectoryServices\2.0.0.0__b03f5f7f11d50a3a\System.DirectoryServices.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Runtime.Serialization\3.0.0.0__b77a5c561934e089\System.Runtime.Serialization.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\sitefactory5.0\8956ad20\62601fe7\assembly\dl3\df8854d2\8009a6f4_5b82ce01\PowerEasy.Foundation.ComponentModel.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\sitefactory5.0\8956ad20\62601fe7\assembly\dl3\b2328a79\603265ff_5b82ce01\PowerEasy.Module.Common.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\sitefactory5.0\8956ad20\62601fe7\assembly\dl3\b8d9f729\50847020_5c82ce01\PowerEasy.TemplateEngine.DLL" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Management\2.0.0.0__b03f5f7f11d50a3a\System.Management.dll" /R:"C:\WINDOWS\assembly\GAC_32\System.EnterpriseServices\2.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\sitefactory5.0\8956ad20\62601fe7\assembly\dl3\cea80186\b053ba1f_5c82ce01\PowerEasy.SiteFactory.Standard.WebSite.DLL" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Configuration.Install\2.0.0.0__b03f5f7f11d50a3a\System.Configuration.Install.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\sitefactory5.0\8956ad20\62601fe7\assembly\dl3\b3e7b5aa\70081b18_5c82ce01\PowerEasy.Module.Shop.DLL" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Security\2.0.0.0__b03f5f7f11d50a3a\System.Security.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\sitefactory5.0\8956ad20\62601fe7\assembly\dl3\0b077570\b04b4baa_5782ce01\NPOI.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\sitefactory5.0\8956ad20\62601fe7\assembly\dl3\cd1643c2\40500cf6_5b82ce01\PowerEasy.Foundation.Controls.DLL" /R:"C:\WINDOWS\assembly\GAC_32\System.Web\2.0.0.0__b03f5f7f11d50a3a\System.Web.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Web.DataVisualization\3.5.0.0__31bf3856ad364e35\System.Web.DataVisualization.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\sitefactory5.0\8956ad20\62601fe7\assembly\dl3\6f449371\70384fa9_5782ce01\System.Web.Extensions.Design.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\sitefactory5.0\8956ad20\62601fe7\assembly\dl3\5d08b852\e0fdc61f_5c82ce01\PowerEasy.SiteFactory.Standard.WebSite.Template.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\sitefactory5.0\8956ad20\62601fe7\assembly\dl3\4d6e58a4\2012d21a_5c82ce01\PowerEasy.Module.SiteGroup.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\sitefactory5.0\8956ad20\62601fe7\assembly\dl3\53f07898\5074b5a9_5782ce01\System.Web.Extensions.DLL" /R:"C:\WINDOWS\assembly\GAC_MSIL\System\2.0.0.0__b77a5c561934e089\System.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\sitefactory5.0\8956ad20\62601fe7\assembly\dl3\778a52a8\7087b0a8_5782ce01\Microsoft.Practices.ObjectBuilder.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\sitefactory5.0\8956ad20\62601fe7\assembly\dl3\bda08e7f\d03e7cf8_5b82ce01\PowerEasy.Foundation.Web.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\sitefactory5.0\8956ad20\62601fe7\assembly\dl3\a2abd6b4\a0fa5da8_5782ce01\Highlighter.Net.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\sitefactory5.0\8956ad20\62601fe7\assembly\dl3\f0f7be2a\3036eff6_5b82ce01\PowerEasy.Foundation.Upload.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\sitefactory5.0\8956ad20\62601fe7\assembly\dl3\dad8f72b\3006fb1f_5c82ce01\PowerEasy.SiteGroup.WebService.TransferModel.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\sitefactory5.0\8956ad20\62601fe7\assembly\dl3\1dd93640\c0056c10_5c82ce01\PowerEasy.Module.Promotion.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\sitefactory5.0\8956ad20\62601fe7\assembly\dl3\c8fe79b2\a0ff881e_5c82ce01\PowerEasy.Module.Wap.WebSite.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\sitefactory5.0\8956ad20\62601fe7\assembly\dl3\f6666a3f\50d5b31d_5c82ce01\PowerEasy.Module.Wap.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\sitefactory5.0\8956ad20\62601fe7\assembly\dl3\4febd49b\6034e1a8_5782ce01\Ionic.Zip.DLL" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Windows.Forms\2.0.0.0__b77a5c561934e089\System.Windows.Forms.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\sitefactory5.0\8956ad20\62601fe7\assembly\dl3\67d7cade\20728ef9_5b82ce01\PowerEasy.Framework.DLL" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Web.Services\2.0.0.0__b03f5f7f11d50a3a\System.Web.Services.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.ServiceProcess\2.0.0.0__b03f5f7f11d50a3a\System.ServiceProcess.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\sitefactory5.0\8956ad20\62601fe7\assembly\dl3\4c04fba0\d06530a9_5782ce01\Quartz.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\sitefactory5.0\8956ad20\62601fe7\assembly\dl3\807bb1cd\504a39aa_5782ce01\Wurfl.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\sitefactory5.0\8956ad20\62601fe7\assembly\dl3\e304c973\30ac981d_5c82ce01\PowerEasy.Module.Upgrade.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\sitefactory5.0\8956ad20\62601fe7\assembly\dl3\8d750905\f04c5ca8_5782ce01\CodeEngine.Framework.DLL" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Configuration\2.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll" /R:"C:\WINDOWS\assembly\GAC_32\System.Data\2.0.0.0__b77a5c561934e089\System.Data.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\sitefactory5.0\8956ad20\62601fe7\assembly\dl3\3d4a847e\6042b5a8_5782ce01\Newtonsoft.Json.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\sitefactory5.0\8956ad20\62601fe7\assembly\dl3\6dcdc74a\a00a85a8_5782ce01\Microsoft.Practices.EnterpriseLibrary.Common.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\sitefactory5.0\8956ad20\62601fe7\assembly\dl3\a60bd26a\304e6b35_5c82ce01\PowerEasy.Foundation.Security.DLL" /out:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\sitefactory5.0\8956ad20\62601fe7\en-us\App_GlobalResources.mnluz9ay.resources.dll" /debug- /optimize+ /res:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\sitefactory5.0\8956ad20\62601fe7\resources.adminpageresources.en-us.resources" /res:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\sitefactory5.0\8956ad20\62601fe7\resources.errormessage.en-us.resources" /res:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\sitefactory5.0\8956ad20\62601fe7\resources.chargeresources.en-us.resources" /res:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\sitefactory5.0\8956ad20\62601fe7\resources.successmessage.en-us.resources" /res:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\sitefactory5.0\8956ad20\62601fe7\resources.dynamicpageresources.en-us.resources" /w:4 /nowarn:1659;1699;1701  "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\sitefactory5.0\8956ad20\62601fe7\App_GlobalResources.mnluz9ay.en-us_0.cs"


Microsoft (R) Visual C# 2005 编译器 版本 8.00.50727.3053
用于 Microsoft (R) Windows (R) 2005 Framework 版本 2.0.50727
版权所有(C) Microsoft Corporation 2001-2005。保留所有权利。

fatal error CS0009: 未能打开元数据文件“c:\WINDOWS\assembly\GAC_MSIL\System.Security\2.0.0.0__b03f5f7f11d50a3a\System.Security.dll”--“未找到元数据。”




版本信息: Microsoft .NET Framework 版本:2.0.50727.3649; ASP.NET 版本:2.0.50727.3634

 

 

 

 

大神们帮个忙,这个看了网上很多,貌似需要注册GAC_MSIL\System.Security\2.0.0.0__b03f5f7f11d50a3a\System.Security.dll”--“未找到元数据。”
这个?还有下面的那些,越具体越好!谢谢!没园豆了!

梦魔问世的主页 梦魔问世 | 初学一级 | 园豆:3
提问于:2013-09-05 10:21
< >
分享
最佳答案
0

打开 C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files ,删除其中的所有文件,然后重新编译

奖励园豆:5
dudu | 高人七级 |园豆:41322 | 2013-09-05 17:35

虽然问题木有解决,但是还是谢谢你!

梦魔问世 | 园豆:3 (初学一级) | 2013-09-09 08:54
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册