Changing the Default ASP Language

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1

The default ASP language affects ASP files that do not use the <%@Language%> directive. The default language is Microsoft Visual BasicĀ® Scripting Edition (VBscript). Changing the default ASP language corresponds to the metabase setting, AspScriptLanguage Metabase Property.

Important

You must be a member of the Administrators group on the local computer to perform the following procedure or procedures. As a security best practice, log on to your computer by using an account that is not in the Administrators group, and then use the runas command to run IIS Manager as an administrator. At a command prompt, type runas /user:Administrative_AccountName "mmc %systemroot%\system32\inetsrv\iis.msc".

To change the default ASP language

  1. In IIS Manager, double-click the local computer, right-click the starting-point directory of the application you want to configure, and then click Properties.

  2. Click the Directory tab, and then click Configuration.

  3. Click the Options tab.

  4. In the Application configuration section, in the Default ASP language box, type the language you want to use.

  5. Click OK.