You may receive an exception when you browse a .NET Framework 2.0 ASP.NET Web application
2016-07-03 01:02 lijianhua 阅读(170) 评论(0) 编辑 收藏 举报SYMPTOMS
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
- 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.
- 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" />
<compilation debug="false" numRecompilesBeforeAppRestart="50" />
STATUS
MORE INFORMATION
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
Microsoft ASP.NET 2.0, Microsoft .NET Framework 2.0
- kbvistasp1fix kbbug kbfix kbqfe KB934839