无法加载文件或程序集“文件:/// C:\\ WINDOWS \\ Microsoft.NET \\框架\\ v4.0.30319 \\ asp.net VS2010 [英] Could not load file or assembly 'file:///C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\ asp.net vs2010

查看:4285
本文介绍了无法加载文件或程序集“文件:/// C:\\ WINDOWS \\ Microsoft.NET \\框架\\ v4.0.30319 \\ asp.net VS2010的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

昨天我的项目顺利运行,但今天,我面临的一个错误。下面是详细信息:

Yesterday my project was running smoothly but today I'm facing an error. Here are the details:

无法加载文件或程序集文件:/// C:\\ WINDOWS \\ Microsoft.NET \\框架\\ v4.0.30319 \\临时ASP.NET文件\\ parktms \\ c8392404 \\ 1ba3bab5 \\ App_Web_login.aspx.6cc23264.lmj8uym6。 DLL或它的一个依赖。句柄无效。 (从HRESULT异常:0x80070006(E_HANDLE))
      说明:执行当前Web请求的执行过程中发生未处理的异常。请检查堆栈跟踪有关该错误的详细信息以及它起源于code。

Could not load file or assembly 'file:///C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\parktms\c8392404\1ba3bab5\App_Web_login.aspx.6cc23264.lmj8uym6.dll' or one of its dependencies. The handle is invalid. (Exception from HRESULT: 0x80070006 (E_HANDLE)) Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

异常详细信息:

System.IO.FileLoadException:无法加载文件或程序集文件:/// C:\\ WINDOWS \\ Microsoft.NET \\框架\\ v4.0.30319 \\临时ASP.NET文件\\ parktms \\ c8392404 \\ 1ba3bab5 \\ App_Web_login。 aspx.6cc23264.lmj8uym6.dll或它的一个依赖。句柄无效。 (从HRESULT异常:0x80070006(E_HANDLE))

System.IO.FileLoadException: Could not load file or assembly 'file:///C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\parktms\c8392404\1ba3bab5\App_Web_login.aspx.6cc23264.lmj8uym6.dll' or one of its dependencies. The handle is invalid. (Exception from HRESULT: 0x80070006 (E_HANDLE))

源错误:

当前Web请求的执行过程中生成了未处理的异常。可以使用异常堆栈跟踪下面确定有关异常原因和位置信息。

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

堆栈跟踪:

[FileLoadException:未能加载文件或程序集文件:/// C:\\ WINDOWS \\ Microsoft.NET \\框架\\ v4.0.30319 \\临时ASP.NET文件\\ parktms \\ c8392404 \\ 1ba3bab5 \\ App_Web_login.aspx.6cc23264 .lmj8uym6.dll或它的一个依赖。句柄无效。 (从HRESULT异常:0x80070006(E_HANDLE))]
         System.Reflection.RuntimeAssembly._nLoad(的AssemblyName文件名,字符串codeBase类,证据assemblySecurity,RuntimeAssembly locationHint,StackCrawlMark&安培; stackMark,布尔throwOnFileNotFound,布尔forIntrospection,布尔SUP pressSecurityChecks)+ 0
         System.Reflection.RuntimeAssembly.nLoad(的AssemblyName文件名,字符串codeBase类,证据assemblySecurity,RuntimeAssembly locationHint,StackCrawlMark&安培; stackMark,布尔throwOnFileNotFound,布尔forIntrospection,布尔SUP pressSecurityChecks)+39
         System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(的AssemblyName assemblyRef,证据assemblySecurity,StackCrawlMark&安培; stackMark,布尔forIntrospection,布尔SUP pressSecurityChecks)+132
         System.Reflection.Assembly.Load(的AssemblyName assemblyRef,证据assemblySecurity)+28
         系统codeDom.Compiler.CompilerResults.get_CompiledAssembly()+93
         System.Web.Compilation.BuildProvider.CreateBuildResult(CompilerResults结果)+65
         System.Web.Compilation.TemplateControlBuildProvider.CreateBuildResult(CompilerResults结果)+36
         System.Web.Compilation.BuildProvider.GetBuildResult(CompilerResults结果)+16
         System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath)8967378
         System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath,布尔noBuild,布尔allowCrossApp,布尔allowBuildIn precompile,布尔throwIfNotFound,布尔ensureIsUpToDate)+ 320
         System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext的背景下,VirtualPath virtualPath,布尔noBuild,布尔allowCrossApp,布尔allowBuildIn precompile,布尔throwIfNotFound,布尔ensureIsUpToDate)+111
         System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath,HttpContext的背景下,布尔allowCrossApp,布尔throwIfNotFound)+125
         System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath,类型requiredBaseType,HttpContext的背景下,布尔allowCrossApp)+52
         System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext的背景下,字符串的RequestType,VirtualPath virtualPath,字符串physicalPath)+31
         System.Web.UI.PageHandlerFactory.System.Web.IHttpHandlerFactory2.GetHandler(HttpContext的背景下,字符串的RequestType,VirtualPath virtualPath,字符串physicalPath)+ 40
         System.Web.HttpApplication.MapHttpHandler(HttpContext的背景下,字符串的RequestType,VirtualPath路径,字符串pathTranslated,布尔useAppConfig)+167
         System.Web.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()+128
         System.Web.HttpApplication.ExecuteStep(IExecutionStep一步,布尔和放大器; completedSynchronously)184

[FileLoadException: Could not load file or assembly 'file:///C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\parktms\c8392404\1ba3bab5\App_Web_login.aspx.6cc23264.lmj8uym6.dll' or one of its dependencies. The handle is invalid. (Exception from HRESULT: 0x80070006 (E_HANDLE))] System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) +0 System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) +39 System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection, Boolean suppressSecurityChecks) +132 System.Reflection.Assembly.Load(AssemblyName assemblyRef, Evidence assemblySecurity) +28 System.CodeDom.Compiler.CompilerResults.get_CompiledAssembly() +93 System.Web.Compilation.BuildProvider.CreateBuildResult(CompilerResults results) +65 System.Web.Compilation.TemplateControlBuildProvider.CreateBuildResult(CompilerResults results) +36 System.Web.Compilation.BuildProvider.GetBuildResult(CompilerResults results) +16 System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath) +8967378 System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) +320 System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) +111 System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean throwIfNotFound) +125 System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp) +52 System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) +31 System.Web.UI.PageHandlerFactory.System.Web.IHttpHandlerFactory2.GetHandler(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) +40 System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig) +167 System.Web.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +128 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +184

版本信息:

Microsoft .NET Framework版本:4.0.30319; ASP.NET版本:4.0.30319.225

Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.225

为什么我这个问题,我该如何摆脱它?

why am I having this problem and how do I get rid of it?

推荐答案

尝试执行一个完整的解决方案的构建。如果还是不行,请点击构建 - >清理解决方案。如果错误仍然存​​在,删除Ç一切:\\ WINDOWS \\ Microsoft.NET \\框架\\ v4.0.30319 \\临时ASP.NET文件\\ parktms 文件夹,重复

Try performing a full solution build. If that doesn't work, click Build -> Clean Solution. If the error persists, delete everything in the C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\parktms folder and repeat.

这篇关于无法加载文件或程序集“文件:/// C:\\ WINDOWS \\ Microsoft.NET \\框架\\ v4.0.30319 \\ asp.net VS2010的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆