未能加载文件或程序集“file:///C:\Windows\Microsoft.NET\Framework\v4.0.30319\...

博客提及操作步骤,先找到对应文件夹下的文件并删除,之后进行重新编译,属于信息技术领域常见操作。

找到对应文件夹下文件,删掉,重新编译

“/”应用程序中的服务器错误。 未能加载文件程序集file:///C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\33729d14\11b34175\App_Code.k39lleca.dll”它的某一个依赖项。系统找到指定的文件。 说明: 执行当前 Web 请求期间,出现未经处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。 异常详细信息: System.IO.FileNotFoundException: 未能加载文件程序集file:///C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\33729d14\11b34175\App_Code.k39lleca.dll”它的某一个依赖项。系统找到指定的文件。 源错误: 执行当前 Web 请求期间生成了未经处理的异常。可以使用下面的异常堆栈跟踪信息确定有关异常原因和发生位置的信息。 程序集加载跟踪: 下列信息有助于确定程序集file:///C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\33729d14\11b34175\App_Code.k39lleca.dll”未能加载的原因。 警告: 程序集绑定日志记录被关闭。 要启用程序集绑定失败日志记录,请将注册表值 [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD)设置为 1。 注意: 会有一些与程序集绑定失败日志记录关联的性能损失。 要关闭此功能,请移除注册表值 [HKLM\Software\Microsoft\Fusion!EnableLog]。 堆栈跟踪: [FileNotFoundException: 未能加载文件程序集file:///C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\33729d14\11b34175\App_Code.k39lleca.dll”它的某一个依赖项。系统找到指定的文件。] System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) +0 System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) +36 System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) +152 System.Reflection.Assembly.Load(AssemblyName assemblyRef, Evidence assemblySecurity) +34 System.CodeDom.Compiler.CompilerResults.get_CompiledAssembly() +98 System.Web.Compilation.CodeDirectoryCompiler.GetCodeDirectoryAssembly(VirtualPath virtualDir, CodeDirectoryType dirType, String assemblyName, StringSet excludedSubdirectories, Boolean isDirectoryAllowed) +9989472 System.Web.Compilation.BuildManager.CompileCodeDirectory(VirtualPath virtualDir, CodeDirectoryType dirType, String assemblyName, StringSet excludedSubdirectories) +125 System.Web.Compilation.BuildManager.CompileCodeDirectories() +383 System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +243 [HttpException (0x80004005): 未能加载文件程序集file:///C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\33729d14\11b34175\App_Code.k39lleca.dll”它的某一个依赖项。系统找到指定的文件。] System.Web.Compilation.BuildManager.ReportTopLevelCompilationException() +62 System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +435 System.Web.Compilation.BuildManager.CallAppInitializeMethod() +33 System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters, PolicyLevel policyLevel, Exception appDomainCreationException) +563 [HttpException (0x80004005): 未能加载文件程序集file:///C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\33729d14\11b34175\App_Code.k39lleca.dll”它的某一个依赖项。系统找到指定的文件。] System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +10075596 System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +95 System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +254 版本信息: Microsoft .NET Framework 版本:4.0.30319; ASP.NET 版本:4.7.3062.0怎么解决
最新发布
09-08
************** 异常文本 ************** System.IO.FileNotFoundException: 未能加载文件程序集“System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089”它的某一个依赖项。系统找到指定的文件文件:“System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089” ---> System.IO.FileNotFoundException: 未能加载文件程序集“System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089”它的某一个依赖项。系统找到指定的文件文件:“System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089” === 预绑定状态信息 === 日志: DisplayName = System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 (Fully-specified) 日志: Appbase = file:///D:/Ruijie/office2/ 日志: 初始 PrivatePath = NULL 调用程序集: System.Data.SQLite, Version=1.0.94.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139。 === 日志: 此绑定从 default 加载上下文开始。 日志: 未找到应用程序配置文件。 日志: 使用主机配置文件: 日志: 使用 C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config 的计算机配置文件。 日志: 在框架配置中找到版本重定向: 2.0.0.0 已重定向到 4.0.0.0。 日志: 策略后引用: System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 日志: 尝试下载新的 URL file:///D:/Ruijie/office2/System.Data.DLL。 日志: 尝试下载新的 URL file:///D:/Ruijie/office2/System.Data/System.Data.DLL。 日志: 尝试下载新的 URL file:///D:/Ruijie/office2/System.Data.EXE。 日志: 尝试下载新的 URL file:///D:/Ruijie/office2/System.Data/System.Data.EXE。 在 xhktoffice2010.Form_Main.LoadSkinData(Int32 softId) 在 xhktoffice2010.Form_Main..ctor(Int32 m_xiufucishu, Int32 softid, String newdate, Int32 ggCount, String link1, String link2, String url1, String url2) 在 xhktoffice2010.loadForm.start() 在 xhktoffice2010.loadForm.wtwiT3wj6ra(Object , EventArgs ) 在 System.Windows.Forms.Timer.OnTick(EventArgs e) 在 System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m) 在 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) ************** 已加载程序集 ************** mscorlib 程序集版本:4.0.0.0 Win32 版本:4.8.9290.0 built by: NET481REL1LAST_C 基本代码:fil
03-29
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值