Help and Support

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

Article ID:915038
Last Review:December 6, 2006
Revision:3.6
On This Page

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.

Back to the top

CAUSE

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

Back to the top

RESOLUTION

Hotfix information

A supported hotfix is now available from Microsoft. But the hotfix is intended only to correct the problem that is described in this article. Apply this hotfix 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 Visual Studio 2005 service pack that contains this hotfix. To resolve this problem immediately, visit the following Microsoft Web site:
http://go.microsoft.com/fwlink/?LinkID=76562&clcid=0x409 (http://go.microsoft.com/fwlink/?LinkID=76562&clcid=0x409)


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

Back to the top

STATUS

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

Back to the top

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 (http://support.microsoft.com/kb/917452/) FIX: You may experience performance issues when you use solutions that contain large Visual Basic projects in Visual Studio 2005

Back to the top


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 Foundation
Microsoft Visual Studio 2005 Tools for the Microsoft Office System

Back to the top

Keywords: 
kbfix kbhotfixserver kbqfe KB915038

Back to the top

Article Translations

 

Other Support Options

  • Need More Help?
    Contact a Support professional by Email, Online or Phone.
  • Customer Service
    For non-technical assistance with product purchases, subscriptions, online services, events, training courses, corporate sales, piracy issues, and more.
  • Newsgroups
    Pose a question to other users. Discussion groups and Forums about specific Microsoft products, technologies, and services.