SYMPTOMS

When you browse a Microsoft .NET Framework 2.0 ASP.NET Web application, you may receive one of the following exceptions:

Exception 1
Exception type: FileNotFoundException Exception message: Could not load file or assembly 'App_Web_-e9dbmaj, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
Exception 2
Compiler Error Message: CS0006: Metadata file 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\cms.web\44e73607\b028acb3\App_global.asax.fakktchx.dll' could not be found
RESOLUTION

Hotfix information

A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next software update that contains this hotfix.

To download this hotfix from the MSDN Code Gallery, visit the following Microsoft Web site:

Note The MSDN Code Gallery displays the languages for which the hotfix is available. If you do not see your language listed, it is because the Code Gallery resource page is not available for that language.

Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft Web site:

Prerequisites

You must have the .NET Framework 2.0 installed before you apply this hotfix.

Restart requirement

You do not have to restart your computer after you apply this hotfix.

Hotfix replacement information

This hotfix does not replace any other hotfixes.

File information

The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.

Microsoft .NET Framework 2.0, 32-bit versions
File name File version File size Date Time Platform
Aspnet_wp.exe 2.0.50727.819 32,600 15-Mar-2007 10:22 x86
System.web.dll 2.0.50727.819 5,156,864 15-Mar-2007 10:23 x86
Webengine.dll 2.0.50727.819 406,016 15-Mar-2007 10:22 x86
Microsoft .NET Framework 2.0, 64-bit versions
File name File version File size Date Time Platform
Aspnet_wp.exe 2.0.50727.819 44,376 15-Mar-2007 05:33 x64
System.web.dll 2.0.50727.819 5,087,232 15-Mar-2007 05:33 x64
Webengine.dll 2.0.50727.819 710,144 15-Mar-2007 02:23 x64
Aspnet_wp.exe 2.0.50727.819 32,600 15-Mar-2007 10:22 x86
System.web.dll 2.0.50727.819 5,156,864 15-Mar-2007 10:23 x86
Webengine.dll 2.0.50727.819 406,016 15-Mar-2007 10:22 x86
Microsoft .NET Framework 2.0, Itanium-based versions
File name File version File size Date Time Platform
Aspnet_wp.exe 2.0.50727.819 83,288 15-Mar-2007 06:22 IA-64
System.web.dll 2.0.50727.819 4,710,400 15-Mar-2007 06:22 IA-64
Webengine.dll 2.0.50727.819 1,181,696 15-Mar-2007 02:25 IA-64
Aspnet_wp.exe 2.0.50727.819 32,600 15-Mar-2007 10:22 x86
System.web.dll 2.0.50727.819 5,156,864 15-Mar-2007 10:23 x86
Webengine.dll 2.0.50727.819 406,016 15-Mar-2007 10:22 x86
WORKAROUND

To work around this problem, delete all files in the Temporary ASP.NET Files directory. To do this, follow these steps:

  1. Click Start, click Run, type iisreset /stop, and then click OK.
  2. Open the DriveLetter: WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files directory.
  3. Delete all files and all folders in the directory that you located in step 2.
  4. Click Start, click Run, type iisreset /start, and then click OK.

You can also work around this problem by setting the batch property of the compilation tag to false. To do this, follow these steps:

  1. In the Microsoft Visual Studio 2005 project, right-click Web.config in Solution Explorer, and then click Open.
  2. Locate the code that resembles the following.
    <compilation debug="false" />
  3. Replace the code that you located in step 2 with the following code.
    <compilation debug="false" batch="false" />

Note If you set the value of the numRecompilesBeforeAppRestart property in the compilation tag to a high number, such as 50, you will reduce the number of times that this problem occurs. The compilation tag will resemble the following after you set the numRecompilesBeforeAppRestart property.

<compilation debug="false" numRecompilesBeforeAppRestart="50" />
STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

MORE INFORMATION

For more information, click the following article number to view the article in the Microsoft Knowledge Base:

824684 Description of the standard terminology that is used to describe Microsoft software updates
Properties

Article ID: 934839 - Last Review: 10/08/2011 19:06:00 - Revision: 3.0

Applies to

Microsoft ASP.NET 2.0, Microsoft .NET Framework 2.0
Keywords:

  • kbvistasp1fix kbbug kbfix kbqfe KB934839

You may receive an exception when you browse a .NET Framework 2.0 ASP.NET Web application的更多相关文章

  1. Exception Handling in ASP.NET Web API

    public static void RegisterGlobalFilters(GlobalFilterCollection filters) { filters.Add(new HandleErr ...

  2. Exception Handling in ASP.NET Web API webapi异常处理

    原文:http://www.asp.net/web-api/overview/error-handling/exception-handling This article describes erro ...

  3. nest exception is java.sql.SQLException:ORA-01476:除数为0

    1.错误描述 nest exception is java.sql.SQLException:ORA-01476:除数为0 2.错误原因 3.解决办法

  4. 一个解决过程:Servlet [某路径xxx] in web application [/项目xxx] threw load() exception和java.lang.ClassNotFoundException XXX

    Servlet [某路径xxx] in web application [/项目xxx] threw load() exception和java.lang.ClassNotFoundException ...

  5. Custom Exception in ASP.NET Web API 2 with Custom HttpResponse Message

    A benefit of using ASP.NET Web API is that it can be consumed by any client with the capability of m ...

  6. [未解决]Exception in thread "main" java.lang.IllegalArgumentException: offset (0) + length (8) exceed the capacity of the array: 6

    调用这个方法 是报错,未解决 binfo.setTradeAmount(Double.parseDouble(new String(result.getValue(Bytes.toBytes(fami ...

  7. 严重: Servlet [SelectController] in web application [/servlet4] threw load() exception

    在web.xml路径配置.jar包导入都正确的情况下,那就考虑是环境问题. 1.servers-->clean 将代码从tomcat中清除 2.Project-->clean  将ecli ...

  8. [转]Create Custom Exception Filter in ASP.NET Core

    本文转自:http://www.binaryintellect.net/articles/5df6e275-1148-45a1-a8b3-0ba2c7c9cea1.aspx In my previou ...

  9. .net Framework Class Library(FCL)

    from:http://msdn.microsoft.com/en-us/library/ms229335.aspx 我们平时在VS.net里引用的那些类库就是从这里来的 The .NET Frame ...

随机推荐

  1. Struts2 动态方法调用

    01.Struts 2基本结构 使用Struts2框架实现用登录的功能,使用struts2标签和ognl表达式简化了试图的开发,并且利用struts2提供的特性对输入的数据进行验证,以及访问Servl ...

  2. iOS AFOAuth2Manager使用心得

    github地址:  https://github.com/AFNetworking/AFOAuth2Manager 这个库,不多说,实现OAuth 2.0授权访问. 确实可以减轻很大的负担,而且使用 ...

  3. java基础-包

    浏览以下内容前,请点击并阅读 声明 为了使类型更容易查找和使用,避免命名冲突,以及可视范围的控制,程序员一般将相关的一些类型组合到一个包中.组合的类型包括类,接口,枚举和注释,枚举是一种特殊的类,而注 ...

  4. 中间人攻击(MITM)姿势总结

    相关学习资料 http://www.cnblogs.com/LittleHann/p/3733469.html http://www.cnblogs.com/LittleHann/p/3738141. ...

  5. java 深度遍历文件夹中的所有文件

    看标题就知道是什么意思了吧,所以就不多说了,直接贴代码: import java.io.*; public class files { private static void iterateFile( ...

  6. (转)完全用GNU/Linux工作 by 王珢

    完全用GNU/Linux工作 王珢      (看完这篇博文,非常喜欢王珢的这篇博客,也我坚定了学gnu/linux的决心,并努力去按照国外的计算机思维模式去学习编程提高自己.看完这篇文章令我热血沸腾 ...

  7. Python In Action:二、 最小的GUI程序:麻雀虽小,五脏俱全

    Python in Action第二个例子,倒是很简单,却是最基本的GUI程序框架,里面有最基本的实现GUI流程 import wx class MyApp(wx.App): def OnInit(s ...

  8. Lua字符串库

    1. 基础字符串函数:    字符串库中有一些函数非常简单,如:    1). string.len(s) 返回字符串s的长度:    2). string.rep(s,n) 返回字符串s重复n次的结 ...

  9. 数据分析之pandas入门

    一.数据结构 1. Series 1.1 序列构造和调用 Series是一种类似于一维数组的对象,它由一组数据和索引共同组成,可以通过索引的方式来选取Series中的单个或一组值,常用的构造函数为ob ...

  10. ES6 ( 三 ) 字符串扩展

    一.字符Unicode表示方法 ES6中可以使用以下6种方法表示字符 '\z' === 'z' // true '\172' === 'z' // true '\x7A' === 'z' // tru ...