You may receive an exception when you browse a .NET Framework 2.0 ASP.NET Web application
SYMPTOMS
When you browse a Microsoft .NET Framework 2.0 ASP.NET Web application, you may receive one of the following exceptions:
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:
- Click Start, click Run, type iisreset /stop, and then click OK.
- Open the DriveLetter: WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files directory.
- Delete all files and all folders in the directory that you located in step 2.
- 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:
- In the Microsoft Visual Studio 2005 project, right-click Web.config in Solution Explorer, and then click Open.
- Locate the code that resembles the following.
<compilation debug="false" /> - 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:
Article ID: 934839 - Last Review: 10/08/2011 19:06:00 - Revision: 3.0
- kbvistasp1fix kbbug kbfix kbqfe KB934839
You may receive an exception when you browse a .NET Framework 2.0 ASP.NET Web application的更多相关文章
- Exception Handling in ASP.NET Web API
public static void RegisterGlobalFilters(GlobalFilterCollection filters) { filters.Add(new HandleErr ...
- Exception Handling in ASP.NET Web API webapi异常处理
原文:http://www.asp.net/web-api/overview/error-handling/exception-handling This article describes erro ...
- nest exception is java.sql.SQLException:ORA-01476:除数为0
1.错误描述 nest exception is java.sql.SQLException:ORA-01476:除数为0 2.错误原因 3.解决办法
- 一个解决过程: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 ...
- 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 ...
- [未解决]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 ...
- 严重: Servlet [SelectController] in web application [/servlet4] threw load() exception
在web.xml路径配置.jar包导入都正确的情况下,那就考虑是环境问题. 1.servers-->clean 将代码从tomcat中清除 2.Project-->clean 将ecli ...
- [转]Create Custom Exception Filter in ASP.NET Core
本文转自:http://www.binaryintellect.net/articles/5df6e275-1148-45a1-a8b3-0ba2c7c9cea1.aspx In my previou ...
- .net Framework Class Library(FCL)
from:http://msdn.microsoft.com/en-us/library/ms229335.aspx 我们平时在VS.net里引用的那些类库就是从这里来的 The .NET Frame ...
随机推荐
- 无法从“char*转换为“LPCWSTR”
解决办法: 第一种方法:工程属性->配置属性->右边 项目默认值->字符集 改为未设置 第二种:一般直接加个L在前面,当是字符串常量的时候可以这样,也可以_T(x)等 来自:软件 ...
- CompletionService/ExecutorCompletionService/线程池/concurrent包
线程池 线程池的基本思想:线程频繁的创建.销毁会极大地占用系统资源,为了减少系统在创建销毁线程时的开销,线程池应运而生.线程池包括多个已创建的线程,当有任务要在新线程中执行时,将任务提交给线程池,线程 ...
- HDU 1536 S-Nim SG博弈
S-Nim Problem Description Arthur and his sister Caroll have been playing a game called Nim for som ...
- dp表模型-如何写出for循环动态规划
题目很肤浅.. 但是这件事我们要做.. 那么有一种方法叫做刷表法.. 当你发现这个问题具有最优子结构,重叠子问题时 那么这是一个dp问题是使用本方法的前提 画出该dp状态所对应的矩阵 画出转移关系线. ...
- 简单CSS3动画制作
本贴已重新编辑至http://www.cnblogs.com/fastmover/p/4977358.html 最近需要用到了一些CSS3动画,基本用Animate.css(https://githu ...
- PDO连接数据库
PDO连接数据库 PDO简介和配置 php.ini extension=php_pdo.dll extension=php_pdo_myysql.dll PDO连接MYSQL new PDO(&quo ...
- Python中的dict和set
1.dict定义: Python写一个dict如下: >>> d = {'Michael': 95, 'Bob': 75, 'Tracy': 85} >>> d[' ...
- javascript继承机制的设计思想(ryf)
我一直很难理解Javascript语言的继承机制. 它没有"子类"和"父类"的概念,也没有"类"(class)和"实例" ...
- Git fetch和git pull的区别
Git中从远程的分支获取最新的版本到本地有这样2个命令:1. git fetch:相当于是从远程获取最新版本到本地,不会自动merge git fetch origin mastergit log - ...
- 服务器部署多个tomcat经验
如果想在服务器上部署两个或多个tomcat项目,可以采用多个端口的方法: 如何修改Tomcat端口? 答:在Tomcat的conf文件夹里有个server.xml文件,修改里面的<Conne ...