Microsoft Knowledge Base Email Alertz

KBAlertz.com: FIX: You may receive an exception when you browse a .NET Framework 2.0 ASP.NET Web application

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]

Search KbAlertz

Advanced Search

Webmasters
Put kbAlertz on your website.
[ Click Here for more! ]





ASP.NET 2.0 Web Hosting with SQL 2005: Click Here!
Discount ASP.NET Hosting


Bug Tracking Software
For bug tracking software or defect tracking software or issue tracking software, visit Axosoft.


Community Site



We Send hundreds of thousands of emails using ASP.NET Email



Expert Web Design & Graphic Design
Design44.com




Mentioned In








Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks




FIX: You may receive an exception when you browse a .NET Framework 2.0 ASP.NET Web application

Article ID:934839
Last Review:December 3, 2007
Revision:2.9
On This Page

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

Back to the top

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:
http://code.msdn.microsoft.com/KB934839 (http://code.msdn.microsoft.com/KB934839)

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:
http://support.microsoft.com/contactus/?ws=support (http://support.microsoft.com/contactus/?ws=support)

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 nameFile versionFile sizeDateTimePlatform
Aspnet_wp.exe2.0.50727.81932,60015-Mar-200710:22x86
System.web.dll2.0.50727.8195,156,86415-Mar-200710:23x86
Webengine.dll2.0.50727.819406,01615-Mar-200710:22x86
Microsoft .NET Framework 2.0, 64-bit versions
File nameFile versionFile sizeDateTimePlatform
Aspnet_wp.exe2.0.50727.81944,37615-Mar-200705:33x64
System.web.dll2.0.50727.8195,087,23215-Mar-200705:33x64
Webengine.dll2.0.50727.819710,14415-Mar-200702:23x64
Aspnet_wp.exe2.0.50727.81932,60015-Mar-200710:22x86
System.web.dll2.0.50727.8195,156,86415-Mar-200710:23x86
Webengine.dll2.0.50727.819406,01615-Mar-200710:22x86
Microsoft .NET Framework 2.0, Itanium-based versions
File nameFile versionFile sizeDateTimePlatform
Aspnet_wp.exe2.0.50727.81983,28815-Mar-200706:22IA-64
System.web.dll2.0.50727.8194,710,40015-Mar-200706:22IA-64
Webengine.dll2.0.50727.8191,181,69615-Mar-200702:25IA-64
Aspnet_wp.exe2.0.50727.81932,60015-Mar-200710:22x86
System.web.dll2.0.50727.8195,156,86415-Mar-200710:23x86
Webengine.dll2.0.50727.819406,01615-Mar-200710:22x86

Back to the top

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" />

Back to the top

STATUS

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

Back to the top

MORE INFORMATION

For more information, click the following article number to view the article in the Microsoft Knowledge Base:
824684 (http://kbalertz.com/Feedback.aspx?kbNumber=824684/) Description of the standard terminology that is used to describe Microsoft software updates

Back to the top


APPLIES TO
•Microsoft ASP.NET 2.0
•Microsoft .NET Framework 2.0

Back to the top

Keywords: 
kbvistasp1fix kbbug kbfix kbqfe kbpubtypekc KB934839

Back to the top

       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate

Be the first to leave feedback, to help others about this knowledge base article.

(Optional) Name

(Optional) Public URL Or Email

Comments
No HTML -- Text Only Please