Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

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


View products that this article applies to.

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.

↑ Back to the top


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.

↑ Back to the top


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.

↑ Back to the top


Status

This behavior is by design.

↑ Back to the top


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.

↑ Back to the top


References


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.

↑ Back to the top


Keywords: kbdownload, kbwebserver, kbwebforms, kbsetup, kbprb, kbvs2005swept, kbvs2005doesnotapply, kberrmsg, KB811123

↑ Back to the top

Article Info
Article ID : 811123
Revision : 11
Created on : 1/10/2007
Published on : 1/10/2007
Exists online : False
Views : 407