FIX: You may receive Visual Basic compiler error messages when you are developing a Visual Basic 2005 project in Visual Studio 2005 (915038)



The information in this article applies to:

  • Microsoft Visual Basic 2005
  • Microsoft Visual Studio 2005 Express Edition
  • Microsoft Visual Studio 2005 Professional Edition
  • Microsoft Visual Studio 2005 Standard Edition
  • Microsoft Visual Studio 2005 Team System Architect Edition
  • Microsoft Visual Studio 2005 Team System Developer Edition
  • Microsoft Visual Studio 2005 Team System Team Foundation:
  • Microsoft Visual Studio 2005 Team System Test Edition
  • Microsoft Visual Studio 2005 Tools for the Microsoft Office System

SYMPTOMS

When you are developing a Microsoft Visual Basic 2005 project in Microsoft Visual Studio 2005, you may receive the following error messages:
Visual Basic compiler is unable to recover from the following error: System Error &H8013141e& Save your work and restart Visual Studio

Microsoft(R) Visual Basic Compiler has encountered a problem and needs to close. We are sorry for the inconvenience.

The exception unknown software exception (0x800040005) occurred in the application at location xxxxxxxx
You may also receive the following error message in the Visual Studio 2005 IDE output window:
The "Vbc" task failed unexpectedly.
System.Runtime.InteropServices.COMException (0x80004005): Error HRESULT E_FAIL has been returned from a call to a COM component.
at Microsoft.Build.Tasks.Hosting.IVbcHostObject.EndInitialization()
at Microsoft.Build.Tasks.Vbc.InitializeHostCompiler(IVbcHostObject vbcHostObject)
at Microsoft.Build.Tasks.Vbc.InitializeHostObject() at Microsoft.Build.Utilities.ToolTask.Execute()
at Microsoft.Build.BuildEngine.TaskEngine.ExecuteTask(ExecutionMode howToExecuteTask, Hashtable projectItemsAvailableToTask, BuildPropertyGroup projectPropertiesAvailableToTask, Boolean& taskClassWasFound)
Additionally, you may be prompted to send error reports to Microsoft before Visual Studio 2005 will close.

Note This problem occurs more frequently when you are developing Microsoft ASP.NET projects or when you are debugging application code by using the Edit and Continue feature in the Visual Studio 2005 IDE.

CAUSE

This problem is caused by a bug in the Visual Basic 2005 compiler.

RESOLUTION

Hotfix information

A supported hotfix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Only apply it 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 2005 service pack that contains this hotfix.

To resolve this problem immediately, contact Microsoft Product Support Services to obtain the hotfix. For a complete list of Microsoft Product Support Services telephone numbers and information about support costs, visit the following Microsoft Web site: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, click Clean Solution on the Build menu.

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.
File nameFile versionFile sizeDateTimePlatform
msvb7.dll8.0.50727.733,103,74415-Feb-200603:32x86

STATUS

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

MORE INFORMATION

If you also experience performance problems with large Visual Basic solutions, obtain the performance hotfix that is described in Microsoft Knowledge Base article 917452 instead of the hotfix that is described in this article. This hotfix is included with the performance hotfix that is described in Microsoft Knowledge Base article 917452. For more information, click the following article number to view the article in the Microsoft Knowledge Base:

917452 FIX: You may experience performance issues when you use solutions that contain large Visual Basic projects in Visual Studio 2005


Modification Type:MinorLast Reviewed:10/3/2006
Keywords:kbfix kbHotfixServer kbQFE KB915038 kbAudDeveloper