Event ID 21 â ASP Availability
Updated: January 20, 2010
Applies To: Windows Server 2008
An ASP page is an HTML page that contains server-side scriptsÂ that are processed by the Web server beforeÂ it isÂ sent to the user’s browser. Server-side scripts run when a browser requests an .asp file from the Web server. ASP is called by the Web server, which processes the requested file from top to bottom and executes any script commands. It then formats a standard Web page and sends it to the browser.
|Product:||Internet Information Services|
|Source:||Active Server Pages|
|Message:||Failed to retrieve the Anonymous User Token for ASP Application %1. Global.ASA OnEnd routines will not be executed.|
Correct an ASP application
If an ASP application error occurs, possible resolutions include the following:
- If you purchased the application from a third-party vendor, contact the vendor regarding the error. The vendor should have more specific knowledge about the application’s features and behavior.
- See the article ASP Troubleshooting Tips and Techniques.
- Check the event log message for a specific error number included in the message. This error number will be different from the Event ID. To do this, see the following steps.
To perform these procedures, you must have membership in Administrators, or you must have been delegated the appropriate authority.
Check for a specific error number in the event log message
To check for a specific error number in the event log message:
- In the Event Viewer, select the event that you received.
- In theÂ General tab, look for an error number in the event message. Here is one example of an event log message that contains an error number:
Warning: ASP: UNC Access failed for file – \\SITES\MYSITE\DEFAULT.ASP with the error = -2147024829.
Find out more about a specific error number
To learn more about a specific error number:
- Download the Err.exe utility from the Microsoft Exchange Server Error Code Look-up page.
- Open an elevated Command Prompt window. Click Start, point to All Programs, click Accessories, right-click Command Prompt, and then click Run as administrator.
- At the command prompt, navigate to the directory where you downloaded Err.exe. For example, if you downloaded Err.exe to C:\Err, type cd C:\Err.
- Type err errornumber to obtain more informationÂ about the error. For example, if the error number is -2147024829 as in the example above, type err -2147024829.
- In the cited example, the error resolves to “The network name cannot be found”, which likely means that the wrong computer name was entered, the computer that is on the UNC path is down, or there is a WINS issue.
You can use IIS ManagerÂ to verify that ASP is functioning by performing a test browse.
To use IIS Manager to test browse an ASP page:
- Click Start, click Control Panel, and then click Administrative Tools.
- Right-clickÂ Internet Information Services (IIS) Manager and select Run as administrator.
- In the Connections pane, expand the computer name.
- Expand Sites.
- Select a Web site that uses an .asp file as its default page.
- In the Actions pane, click the link under Browse Web Site. If the Web page appears, the ASP is functioning correctly.
Related Management Information