![]() (This location may vary depending on your installation of Internet Information Server).Ĭscript adsutil.vbs SET w3svc/CreateCGIWithNewConsole "1"Ĭscript adsutil.vbs SET w3svc/CreateProcessAsUser "0"Ĭonfigure the. ![]() Use the following steps to enable VBScript support: This article assumes that the Windows Script Host is installed on the IIS server machine the default installation option of NT Option Pack will do this. This document will show how to configure the IIS machine to allow Visual Basic Scripts to be executed as a CGI script. Or if the Cscript.exe file was launched in batch mode, an error will appear indicating it was unable to load the settings for the specified user. In these cases, a CGI error will occur, without any additional information. However, the HKEY_USERS\.DEFAULT hive does not contain the neccessary keys and entries for the scripting engine. Since a HKEY_CURRENT_USER hive is not available for the IUSR_Machine, IIS will load the HKEY_USERS\.DEFAULT hive in its place. ![]() Unfortunately, the Cscript.exe (the scripting engine) requires the presence of certain registry entries for IUSR_Machine user. The most likely reason for this is that the scripting engine is typically executed in the security context of the IUSR_Machine created by IIS when it is installed. When attempting to call a Visual Basic Script from a Web server in the context of a CGI script, the script may fail to run properly.
0 Comments
Leave a Reply. |