Microsoft KB Archive/916451

From BetaArchive Wiki
Knowledge Base


Error message when you browse an .aspx page that requires a compilation of a resource: "The compiler failed with error code 128"

Article ID: 916451

Article Last Modified on 6/14/2006



APPLIES TO

  • Microsoft .NET Framework 1.1
  • Microsoft .NET Framework 1.0
  • Microsoft Visual Studio .NET 2003 Enterprise Architect
  • Microsoft Visual Studio .NET 2003 Academic Edition
  • Microsoft Visual Studio .NET 2003 Enterprise Developer
  • Microsoft Visual Studio .NET 2003 Professional Edition
  • Microsoft Visual Studio .NET 2002 Enterprise Architect
  • Microsoft Visual Studio .NET 2002 Academic Edition
  • Microsoft Visual Studio .NET 2002 Enterprise Developer
  • Microsoft Visual Studio .NET 2002 Professional Edition




SYMPTOMS

When you browse an .aspx page and a compilation of a resource is required to service the request, you may receive an error message that resembles the following:

Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: The compiler failed with error code 128.

CAUSE

This problem occurs when a third-party component is running in the W3wp.exe process that has attached a console to the process. The Vbc.exe compiler process and the Csc.exe compiler process then inherit this console. If the console uses a windowstation that does not contain a desktop named DEFAULT, this may cause the compiler processes, or any other process that is spawned from the W3wp.exe process that depends on the User32.dll file, not to start.

RESOLUTION

To resolve this problem, apply the hotfix in the following Microsoft Knowledge Base article:

839229 Multiple Web-based programs or Component Object Model-based programs stop responding on a computer that is running Windows Server 2003 or Windows 2000


Note This hotfix is also included in Microsoft Windows Server 2003 Service Pack 1 (SP1).

STATUS

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

Keywords: kbfix kbbug kbtshoot kbprb KB916451