简体   繁体   English

临时ASP.NET文件丢失

[英]Temporary ASP.NET Files Missing

In my asp project throw error at the time running. 在我的asp项目中,运行时抛出错误。

Yesterday it works nicely. 昨天效果很好。 But today morning it self it gives below message. 但是今天早晨它自我给出以下信息。

   Could not load file or assembly 'file:///C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\bd6e4bde\6cbdacc0\App_global.asax.j5j-uxp-.dll' or one of its dependencies. The system cannot find the file specified.

Pls Any one tell me why it happnens and how to solve this issue. 请任何人告诉我为什么会发生以及如何解决此问题。

Full Error is 现“完全错误”为

Assembly Load Trace: The following information can be helpful to determine why the assembly 'file:///C:\\Windows\\Microsoft.NET\\Framework\\v4.0.30319\\Temporary ASP.NET Files\\root\\bd6e4bde\\6cbdacc0\\App_global.asax.j5j-uxp-.dll' could not be loaded. 程序集加载跟踪:以下信息有助于确定为什么程序集'file:/// C:\\ Windows \\ Microsoft.NET \\ Framework \\ v4.0.30319 \\ Temporary ASP.NET Files \\ root \\ bd6e4bde \\ 6cbdacc0 \\ App_global。无法加载asax.j5j-uxp-.dll”。

=== Pre-bind state information === LOG: User = HOME-PC\\HOME LOG: Where-ref bind. ===预绑定状态信息===日志:用户= HOME-PC \\ HOME日志:where-ref绑定。 Location = C:\\Windows\\Microsoft.NET\\Framework\\v4.0.30319\\Temporary ASP.NET Files\\root\\bd6e4bde\\6cbdacc0\\App_global.asax.j5j-uxp-.dll LOG: Appbase = file:///G:/Jagadeeswaran/Test Project/MobileApp/MobileApp/MobileApp/ LOG: Initial PrivatePath = G:\\Jagadeeswaran\\Test Project\\MobileApp\\MobileApp\\MobileApp\\bin Calling assembly : (Unknown). 位置= C:\\ Windows \\ Microsoft.NET \\ Framework \\ v4.0.30319 \\临时ASP.NET文件\\ root \\ bd6e4bde \\ 6cbdacc0 \\ App_global.asax.j5j-uxp-.dll日志:Appbase = file:/// G: / Jagadeeswaran /测试项目/ MobileApp / MobileApp / MobileApp /日志:初始PrivatePath = G:\\ Jagadeeswaran \\ Test Project \\ MobileApp \\ MobileApp \\ MobileApp \\ bin调用程序集:(未知)。 === LOG: This bind starts in LoadFrom load context. === LOG:此绑定从LoadFrom加载上下文开始。 WRN: Native image will not be probed in LoadFrom context. WRN:不会在LoadFrom上下文中探测本机映像。 Native image will only be probed in default load context, like with Assembly.Load(). 仅在默认的加载上下文中探测本机映像,例如Assembly.Load()。 LOG: Using application configuration file: G:\\Jagadeeswaran\\Test Project\\MobileApp\\MobileApp\\MobileApp\\web.config LOG: Using host configuration file: LOG: Using machine configuration file from C:\\Windows\\Microsoft.NET\\Framework\\v4.0.30319\\config\\machine.config. 日志:使用应用程序配置文件:G:\\ Jagadeeswaran \\ Test Project \\ MobileApp \\ MobileApp \\ MobileApp \\ web.config日志:使用主机配置文件:日志:使用来自C:\\ Windows \\ Microsoft.NET \\ Framework \\ v4的计算机配置文件.0.30319 \\ config \\ machine.config。 LOG: Attempting download of new URL file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/Temporary ASP.NET Files/root/bd6e4bde/6cbdacc0/App_global.asax.j5j-uxp-.dll. 日志:尝试下载新的URL文件:/// C:/Windows/Microsoft.NET/Framework/v4.0.30319/Temporary ASP.NET Files / root / bd6e4bde / 6cbdacc0 / App_global.asax.j5j-uxp-.dll。

Stack Trace: 堆栈跟踪:

 [FileNotFoundException: Could not load file or assembly 'file:///C:\\Windows\\Microsoft.NET\\Framework\\v4.0.30319\\Temporary 

ASP.NET Files\\root\\bd6e4bde\\6cbdacc0\\App_global.asax.j5j-uxp-.dll' or one of its dependencies. ASP.NET文件\\ root \\ bd6e4bde \\ 6cbdacc0 \\ App_global.asax.j5j-uxp-.dll”或其依赖项之一。 The system cannot find the file specified.] 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 Syst 系统找不到指定的文件。] System.Reflection.RuntimeAssembly._nLoad(组装名称文件名,字符串codeBase,证据AssemblySecurity,RuntimeAssembly locationHint,StackCrawlMark&stackMark,布尔型throwOnFileNotFound,布尔型用于自省,布尔抑制安全性检查)+0 System.Reflection.RuntimeAss (AssemblyName fileName,String codeBase,Evidence assemblySecurity,RuntimeAssembly locationHint,StackCrawlMark&stackMark,Boolean throwOnFileNotFound,Boolean forIntrospection,Boolean preventSecurityChecks)+39 System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName AssemblyRef,InspectInspection,MarksInspection,StackC, +132 System.Reflection.Assembly.Load(AssemblyName assemblyRef,证据assemblySecurity)+28 System.CodeDom.Compiler.CompilerResults.get_CompiledAssembly()+93 System.Web.Compilation.BuildProvider.CreateBuildResult(CompilerResults结果)+65 Syst em.Web.Compilation.BuildProvider.GetBuildResult(CompilerResults results) +16 System.Web.Compilation.ApplicationBuildProvider.GetGlobalAsaxBuildResult(Boolean isPrecompiledApp) +8999743 System.Web.Compilation.BuildManager.CompileGlobalAsax() +50 System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +265 em.Web.Compilation.BuildProvider.GetBuildResult(CompilerResults结果)+16 System.Web.Compilation.ApplicationBuildProvider.GetGlobalAsaxBuildResult(布尔isPrecompiledApp)+8999743 System.Web.Compilation.BuildManager.CompileGlobalAsax()+50 System.Web.Compilation.BuildManager .EnsureTopLevelFilesCompiled()+265

 [HttpException (0x80004005): Could not load file or assembly 'file:///C:\\Windows\\Microsoft.NET\\Framework\\v4.0.30319\\Temporary 

ASP.NET Files\\root\\bd6e4bde\\6cbdacc0\\App_global.asax.j5j-uxp-.dll' or one of its dependencies. ASP.NET文件\\ root \\ bd6e4bde \\ 6cbdacc0 \\ App_global.asax.j5j-uxp-.dll”或其依赖项之一。 The system cannot find the file specified.] System.Web.Compilation.BuildManager.ReportTopLevelCompilationException() +62 System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +421 System.Web.Compilation.BuildManager.CallAppInitializeMethod() +31 System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters, PolicyLevel policyLevel, Exception appDomainCreationException) +691 系统找不到指定的文件。] System.Web.Compilation.BuildManager.ReportTopLevelCompilationException()+62 System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled()+421 System.Web.Compilation.BuildManager.CallAppInitializeMethod()+31系统。 Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager,IApplicationHost appHost,IConfigMapPathFactory configMapPathFactory,HostingEnvironmentParametershostingParameters,PolicyLevel policyLevel,Exception appDomainCreationException)+691

 [HttpException (0x80004005): Could not load file or assembly 'file:///C:\\Windows\\Microsoft.NET\\Framework\\v4.0.30319\\Temporary 

ASP.NET Files\\root\\bd6e4bde\\6cbdacc0\\App_global.asax.j5j-uxp-.dll' or one of its dependencies. ASP.NET文件\\ root \\ bd6e4bde \\ 6cbdacc0 \\ App_global.asax.j5j-uxp-.dll”或其依赖项之一。 The system cannot find the file specified.] System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +8972180 System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +97 System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +258 系统找不到指定的文件。] System.Web.HttpRuntime.FirstRequestInit(HttpContext上下文)+8972180 System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext上下文)+97 System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)+258

So I re install the Vs 2010 also But Same error repeat. 所以我也重新安装了Vs 2010,但是重复同样的错误。

Please Help me to solve this issue. 请帮助我解决此问题。

Check if you have disabled CopyLocal in Visual Studio project and enable it. 检查是否已在Visual Studio项目中禁用CopyLocal并启用它。 It seems some assembly dependencies are not copied to temp folder and you get the run-time binding error. 似乎某些程序集依赖项未复制到temp文件夹中,并且您收到运行时绑定错误。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM