Share via


Initial Settings (Windows Embedded CE 6.0)

1/6/2010

The ASP interpreter processes a file with an .asp extension when it is requested by the client browser, assuming that the following conditions are met:

For All Platforms

  • The virtual root where the ASP file is located must have the permissions set to HSE_URL_FLAGS_EXECUTE or HSE_URL_FLAGS_SCRIPT. If this is not the case, the Web Server returns the 403 – Forbidden status code, along with an Access Denied message.
  • If Asp.dll is missing or corrupt, the Web Server returns the 500 – Internal Server Error, status code to the client browser.

You can map a virtual path to a specific ASP file instead of a directory. For example, a client browser could request http://www.computername.com/directory and be mapped to a specific ASP file, such as Finance.asp. Using the functionality is identical to mapping virtual paths to ISAPI extensions. For more information, see ISAPI Extensions.

Like ISAPI dynamic-link libraries (DLLs), the Web Server keeps Asp.dll and any libraries that ASP loads — including JScript.dll, VBScript.dll, and any DLLs that contain COM objects that were created on the page — in a cache. The Web Server unloads the DLLs in this cache automatically if they have not been used for 30 minutes. This delay is defined by a setting in the system registry.

For Windows Embedded CE

These additional conditions must be met for the ASP interpreter to process .asp files when requested by the client browser in Windows Embedded CE:

  • The httpisapi, httpextn, and httpasp components must be included when building the Web Server. If they are not, the Web Server returns the 501 – Not Implemented status code and an error message informing the user of the problem.
  • The JScript.dll or VBScript.dll file must be set up properly on the device. If the requested script language is not present on the device or has not been initialized, the Web Server returns an error.

See Also

Concepts

Active Server Pages Application Development
ISAPI Extensions
Web Server Implementation Details