FIX: The Visual Basic compiler (Vbc.exe) may use 100 percent of the CPU resources when you build a Visual Basic 2008 application that depends on many assemblies and on many references

Article translations Article translations
Article ID: 951708 - View products that this article applies to.
Expand all | Collapse all

On This Page

SYMPTOMS

Consider the following scenario:
  • You build a Microsoft Visual Basic 2008 application in debug mode. For example, in the Web.config file for a Visual Basic 2008 Web application, you use the following attribute and value:
    debug="true"
  • The application is based on the Microsoft .NET Framework 3.5.
  • The application depends on many assemblies and on many references.
In this scenario, the Visual Basic compiler (Vbc.exe) may use 100 percent of the CPU resources. Additionally, you may receive an error message that resembles the following:
Object '/32eba493_7a69_40af_bfe6_52887ab07396/jdkqqpvt_pufe5n+ogossdnv_258.rem' has been disconnected or does not exist at the server.

CAUSE

This problem occurs because the CPU computes lots of debug data when you build the application in debug mode. How much debug data is computed depends on the size of the project and on the number of references. In some cases, the debug data is computed multiple times.

RESOLUTION

Hotfix information

A supported hotfix is now available from Microsoft. However, it is intended to correct only the problem that is described in this article. Apply it only to systems that are experiencing this specific problem. This hotfix may receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next Microsoft Visual Studio 2008 service pack that contains this hotfix.

To resolve this problem immediately, contact Microsoft Customer Support Services to obtain the hotfix. For a complete list of Microsoft Customer Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:
http://support.microsoft.com/contactus/?ws=support
Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

Note After you apply this hotfix, the CPU computes the debug data only one time. This change minimizes the workload for the Visual Basic compiler and resolves this problem.

To completely resolve this problem, we recommend that you also apply hotfix 953595 for the .NET Framework 3.5. For more information about hotfix 953595, click the following article number to view the article in the Microsoft Knowledge Base:
953595 The Visual Basic compiler (Vbc.exe) may use 100 percent of the CPU resources when you build a .NET Framework 3.5-based application that has many assemblies and references

Prerequisites

You must have Visual Studio 2008 installed to apply this hotfix.

Restart requirement

You do not have to restart the 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.
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Msvb7.dll9.0.21022.1134,069,88003-Jun-200803:19x86

WORKAROUND

To work around this problem, use one of the following methods.

Method 1

Build the application in release mode.

Method 2

If you are trying to build a Web application, use the following attribute and value in the Web.config file:
debug="false"

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 about software update terminology, 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: 951708 - Last Review: October 8, 2011 - Revision: 2.0
APPLIES TO
  • Microsoft .NET Framework 3.5
  • Microsoft Visual Studio Team System 2008 Team Suite
  • Microsoft Visual Studio Team System 2008 Database Edition
  • Microsoft Visual Studio Team System 2008 Architecture Edition
  • Microsoft Visual Studio Team System 2008 Development Edition
  • Microsoft Visual Studio Team System 2008 Test Edition
  • Microsoft Visual Studio 2008 Standard Edition
  • Microsoft Visual Studio 2008 Professional Edition
  • Microsoft Visual Basic 2008 Express Edition
Keywords: 
kbexpertiseadvanced kbqfe KB951708

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com