Search Wiki:
Article Translations
English, Français, Deutsch, Italiano, 한국어, 繁體中文, 简体中文, 日本語, Русский, Português (Brasil)

A Hotfix is a product update package with one or more updated product files that fix a specific product problem.


Please be aware this Hotfix has not gone through full Microsoft product regression testing nor has it been tested in combination with other Hotfixes.

Please carefully review the associated Hotfix KB article to verify the fix is the one needed and there are no known compatibility or installation issues. You may also want to contact a Microsoft Support Professional at

Issue Description

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

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.

Additional Information about the issue resolved by this Hotfix can be found in its Knowledge Base article at

Additional Hotfixes
Search the list of all other publicly available Visual Studio and .NET Framework Hotfixes at*

Last edited Jun 23 2008 at 9:10 PM  by codegalleryadmin, version 5
Page view tracker