Friday, May 02, 2008

Service-Specific Registry Entries (IIS 6.0)

Source: http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/e6dbe10e-1983-4a08-bf00-b715c506f1de.mspx?mfr=true


The following registry key, LanguageEngines, is not installed by default. You must create this key in the following location in order to use it.

HKEY_LOCAL_MACHINE\SYSTEM

 \CurrentControlSet

  \Services

   \W3SVC

    \ASP

     \LanguageEngines

      \LanguageName

Value: Write REG_SZ: Response.WriteEquiv |

Value: WriteBlock REG_SZ: Response.WriteBlockEquiv |

  Important

For a registry change to take effect, you must restart the service that is affected by the change. For global changes to take effect, you must restart all services.

LanguageEngines


Registry Path

(See above)

Data Type

REG_STRING

Default Value

Not applicable

Description

Specifies a scripting language that does not support the Object.Method syntax as the Active Server Pages (ASP) primary scripting language (the language used within the ASP script delimiters <% ... %>). LanguageName is the name of the chosen language. Response.WriteEquiv is the language's equivalent of Response.Write; and Response.WriteBlockEquiv is the language's equivalent of Response.WriteBlock. The pipe symbol (|) is an insertion used by ASP to send expressions and HTML blocks that are normally processed with Response.Write and Response.WriteBlock methods. This can be done automatically when installing additional scripting languages. If your scripting language is sensitive to white space or newline characters, you may not be able to use it as the primary scripting language even when this registry value is set. As an alternative, you can manually write HTML blocks to the browser or write that language's functions within tagged script blocks (<SCRIPT> ... </SCRIPT> ) and call them from any other language.




Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.

0 Comments: