Microsoft KB Archive/313515

= &quot;Default.js or default.vbs not found&quot; error message occurs when you try to create a new project in Visual Basic .NET =

Article ID: 313515

Article Last Modified on 1/26/2006

-

APPLIES TO


 * Microsoft Visual Studio .NET 2002 Professional Edition
 * Microsoft Visual Studio .NET 2003 Professional Edition

-



This article was previously published under Q313515



SYMPTOMS
After you install the German version of Visual Studio .NET and you select only one feature set (such as Visual Basic .NET), and then you install another feature set of Microsoft Visual C++ .NET from the English version of Visual Studio .NET, when you start the Visual Studio .NET integrated development environment (IDE) and attempt to create a new project in Visual Basic .NET, you receive an error message similar to the following:

Default.js or default.vbs not found in C:\Program Files\Microsoft Visual Studio.NET\Vb7\VBWizards\WindowsApplication\Scripts\1033



CAUSE
This behavior occurs if the default language version is set to the last version installed. Dual language installations of Visual Studio .NET must install the same feature set in both setups. You can install German on an English operating system, but if you install multiple language versions, you must install the same feature set in both installs.

For example, if you attempt to install the German version of Visual C++ .NET and the English version of Visual Basic .NET, you are unable to create Visual C++ projects when the Visual Studio language is set to English. Visual Studio .NET Setup cannot force the user to install identical feature sets for the two different language versions; therefore, you must select the same feature sets manually when you install two language versions.



RESOLUTION
To resolve this issue, reinstall Visual Studio .NET, and be sure to select identical feature sets for any language versions installed. Or, change the Visual Studio language to the one required for the feature that you are attempting to use. To do this, follow these steps:
 * 1) Start the Visual Studio .NET IDE.
 * 2) On the Tools menu, click Options.
 * 3) Browse the Environment folder, and then select the International Settings option.
 * 4) Change the Language option to the language of the installed option.
 * 5) Create a new project.



STATUS
Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.



MORE INFORMATION
When two Visual Studio .NET features are installed that use different languages, each feature is available only when its Visual Studio language is active. For example, if you install the German version of Visual C++ and the English version of Microsoft Visual Basic, you cannot create Visual C++ projects when English is the active language.

Keywords: kbvs2005doesnotapply kbvs2005swept kbtshoot kberrmsg kbprb KB313515

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.