"'VJ#' is not a supported language" error message after upgrade to Windows Server 2003 (811123)



The information in this article applies to:

  • Microsoft Windows Server 2003, Enterprise Edition
  • Microsoft Visual Studio .NET (2002), Professional Edition
  • Microsoft Visual Studio .NET (2002), Enterprise Architect Edition
  • Microsoft Visual Studio .NET (2002), Enterprise Developer Edition
  • Microsoft Visual J# .NET (2002)

SYMPTOMS

When you upgrade your operating system from Microsoft Windows 2000 Advanced Server to Microsoft Windows Server 2003, and then you run a Web application by using Microsoft Visual J# .NET, you may receive the following error message:
'VJ#' is not a supported language.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Web.HttpException: 'VJ#' is not a supported language.

CAUSE

The Microsoft .NET Framework version 1.1 is installed when you upgrade Microsoft Windows Server 2000 to Microsoft Windows Server 2003. When you upgrade to Windows Server 2003, all the Web applications use .NET Framework version 1.1. By default, the Machine.config file for the .NET Framework version 1.1 does not have entries for Visual J# .NET.

RESOLUTION

To resolve this problem, do one of the following:

Method 1

Install the Visual J# .NET 1.1 Redistributable package. To download the Visual J# .NET 1.1 Redistributable package, visit the following Microsoft Web site:

Method 2

Configure the .NET Framework version 1.0 for all the ASP.NET Web applications in your Web root folder (or the folder where they are located, if you have put them in a different folder). To do this, follow these steps:
  1. Open the Visual Studio .NET command prompt.
  2. Change the directory to Windows Folder\Microsoft.NET\Framework\v1.0.3705.
  3. Type the following command to install the script maps that point to ASP.NET 1.0.3705:

    Aspnet_regiis -s IIsWebVirtualDir

    For example, type the following:

    Aspnet_regiis -s W3SVC/1/ROOT/

    Note Web virtual servers (Web sites) are identified in the metabase by their index numbers. For example, the first Web server is number 1 and the second Web server is number 2.

STATUS

This behavior is by design.

MORE INFORMATION

Steps to reproduce the behavior

  1. On a computer running Windows 2000 Advanced Server, install Visual Studio .NET 2002.
  2. Install Visual J# .NET 1.0.
  3. Upgrade the operating system to Windows Server 2003.
  4. Create a sample ASP.NET Web application project by using Visual J# .NET.
  5. Run the sample ASP.NET application.

REFERENCES

For more information, click the following article number to view the article in the Microsoft Knowledge Base:

330046 Upgrading Windows Server 2003 Family RC1 and the .NET Framework



For additional information, see the following articles in the .NET Framework SDK documentation:

Note These links work only if you have the .NET Framework SDK version 1.1 documentation installed.

Modification Type:MinorLast Reviewed:3/7/2006
Keywords:kbvs2005doesnotapply kbvs2005swept kbprb kberrmsg kbDownload kbWebServer kbWebForms kbsetup KB811123 kbAudITPRO kbAudDeveloper