Monitor unlimited number of servers
Filter log events
Create email and web-based reports

Direct access to Microsoft articles
Customized keywords for major search engines
Access to premium content

Event ID: 5 Source: Active Server Pages

Level
Description
Error: <error description>
Comments
 
This is a generic event id from ASP component so there could be various reasons for the occurrence of this event. One can try ASP FAQ (link below) for support related to ASP.

- "Error while reading default settings. please do regsvr32 asp.dll.. For additional information specific to this message please visit the Microsoft Online Support site located at: http://www.microsoft.com/contentredirect.asp." - We found that this error occurs after hotfixes installations and sometimes service packs. Usually, re-registering the asp.dll does not work. The latest service pack has to be reinstalled and then the asp.dll re-registred.

- "File /exchange/USA/logon.asp.  Unexpected error." - Reinstallation of the OWA component from the Microsoft Exchange Server compact disc should eliminate the error. In some cases, corruption or problems may require reinstallation of Internet Information Server prior to installation of OWA.

- "File /folder_name/_scriptLibrary/pm.asp Line 352 Stack Overflow" - no info

- "File /iisHelp/common/500-100.asp Line 0 Out of memory. Unable to allocate required memory" - no info

See ME309051 on "How to troubleshoot ASP in IIS 5.0"
- "Unexpected error. A trappable error (C000001E) occurred in an external object. The script cannot continue running." - no info
Error: File /vamos/locate.asp Line 0 Operation not Allowed. - This was caused by an attempt to call a VBScript with multiple parameters using parenthesis instead of a simple arguments list. Ex:

SomeFunction(Arg1, Arg2)

instead of

SomeFunction Arg1, Arg2
This error often occurs because of IWAM and IUSR password problems. Before you try other solutions, first check the IUSR and IWAM passwords to make sure they are the same and synchronized. For instructions on how to check and synchronize, use the following links: ME269367, "How to reset/synchronize IUSR_servername & IWAM_servername passwords", and "How can I check the password of the IUSR and IWAM local accounts on a machine".
- Error: "File /store/xt_orderform_prepare.asp Unexpected error" - The Commerce.DBStorage object is being used improperly. See ME246622 for details.
- Error: "Could not create a Disk Cache Sub-directory for the Application Pool" - From a newsgroup post: "Try these fixes:

A. Add the NT AUTHORITY\NETWORK SERVICE account to C:\WINDOWS\Help\iisHelp\common with "Read and Execute, " "List Folder Contents" and "Read".

B. Add the NT AUTHORITY\NETWORK SERVICE account to C:\WINDOWS\system32\inetsrv\ASP Compiled Templates with Full Control.

C. Add the NT AUTHORITY\NETWORK SERVICE account to C:\WINDOWS\IIS Temporary Compressed Files with Full Control".

See ME257765 for additional information on this event.
- Error: "A trappable error (C0000005) occurred in an external object. The script cannot continue running" - Setting the application to run as an isolated process in IIS seems to resolve this problem, at least temporarily. Still no clue as to the cause or a long-term fix.


The error is also generated when a file larger than 200Kb will be uploaded via ASP.

IIS6.0 prevents the upload of files more than +200Kb.

For IIS6.0 users, the AspMaxRequestEntityAllowed property specifies the maximum number of bytes allowed in the entity body of an ASP request. If a Content-Length header is present and specifies an amount of data greater than the value of AspMaxRequestEntityAllowed, IIS returns a 403 error response. This property is related in function to MaxRequestEntityAllowed, but is specific to ASP request. Whereas you might set the MaxRequestEntityAllowed property to 1 MB at the general World Wide Web Publishing Service (WWW Service) level, you may choose to set AspMaxRequestEntityAllowed to a lower value, if you know that your specific ASP applications handle a smaller amount of data.

Open your MetaBase.XML which is located in c:\Windows\System32\Inetsrv find the line "AspMaxRequestEntityAllowed" and change it to "1073741824".

This change does not require stopping IIS, but to make the Metabase.xml file write-able, you need to go to the IIS control panel, right click the server, select properties, and check off the box that says "allow changes to MetaBase configuration while IIS is running".

See the links to "AspMaxRequestEntityAllowed" and "www.aspsmart.com - FAQ" for more details on this issue.
- Error: "Could not create a Disk Cache Sub-directory for the Application Pool" -I had this error on Windows Server 2003 with Software Update Services. I simply did a repair installation of Software Update Services to correct the problem.
- Error: "The Template Persistent Cache initialization failed for Application Pool 'Application_Pool_Name' because of the following error: Could not create a Disk Cache Sub-directory for the Application Pool" - My environment was IIS6 on Windows 2003 and SUS on the default web site. After reading the posts on this site, I checked on Default Application Pool, Identity tab and changed it to run under IWAM_machinename account, rather than Network Service. Default group IIS_WPG has all necessary rights and the IWAM account is a member of this group. After doing this, the error disappeared.
As per Microsoft: "This problem can occur if the Worldwide Web Publishing service fails to start after the installation process for OWA". See ME189840 for a workaround.

- Error: "Error while reading default settings. please do regsvr32 asp.dll" - As per Microsoft: "This event is logged because the installed version of the Asp.dll file is searching for a metabase key that does not exist. However, the metabase key does not need to exist because Asp.dll uses a default value. Asp.dll logs this event log entry to recommend that you reregister Asp.dll as an overly precautious troubleshooting step. This event log entry is completely harmless and can be ignored". See ME290612 for more details.

- Error: "File /exchange/USA/root.asp Unexpected error" - See ME312434.

- Error: "A Active Server control or component performed an illegal ole countinitialized call. Components used by Active Server Pages must not do this" - There was an article on Microsoft Knowledgebase that referenced this error. The article has been removed from their database. You can check it out by following the link to Google thread - MS 196016. Keep in mind that this article is not listed anymore on Microsoft Knowledgebase, it may have been removed for a good reason.

- Error: "The Template Persistent Cache initialization failed for Application Pool 'Application_Pool_Name' because of the following error: Could not create a Disk Cache Sub-directory for the Application Pool" - See ME842493 to fix this problem.
- Error: "The Template Persistent Cache initialization failed for Application Pool 'Application_Pool_Name' because of the following error: Could not create a Disk Cache Sub-directory for the Application Pool" - From a newsgroup post: "I just added System & Local Service to the permissions on ASP Compiled Templates and added Local Service to IIS Temporary Compressed. After doing this, I have not seen this error again". See the link to "Google thread - Active Server Pages Errors in Event Log" for the original thread.

See "AspFAQ ID 2355" for more details on this problem.
URLScan can also cause this error. The default installation of URLScan 2.5 blocks ASP requests (.asp, .cer, .cdx, .asa). To resolve this, open the urlscan.ini file located in “%system_root%\system32\inetsrv\urlscan” and comment out the section "deny ASP requests". Then restart the IIS Admin service (and all the sub-services).
I’ve started to receive this error after I’ve installed Microsoft Project Server 2002 on Windows Server 2003 and I was trying to use web-based administrating tools. After I have installed the Microsoft Project Server 2002 Update described in ME319281 the error disappeared.
- Error: "Could not create a Disk Cache Sub-directory for the Application Pool" - I also had this error on Windows Server 2003 DC with Software Update Services. ME332097 was correctly implemented and I still had this error. To resolve the problem I went in IIS management, changed the identity of the DefaultAppPool from the default of "Network Service" to a specified user that belongs to the IIS_WPG group. I restarted IIS and the problem was gone. Be aware of the security implications of this fix however.
This appeared on Windows Server 2003 with Software Update Services. ME332097 did not work for me, even when I replaced permissions on all child objects as recommended by another contributor here. However, after enabling auditing for object access, creating an audit entry for the ASP Compiled Templates directory, and seeing "NETWORK SERVICE" appear in the security log, I’ve added “Full Control” permission for that group on the ASP Compiled Templates directory. That cleared up the error. I just hope I haven’t created a security hole.
To fix this I’ve tried ME332097, with one modification that is not mentioned in the article: Replace permission entries on all child objects. So, no removal or reinstallation of IIS needed. But this wasn’t enough for me, because the SUS and the ISS were installed before the “dcpromo”. My solution was to change the security login of "DefaultAppPool" to “LocalSystem”. It’s more dangerous in a WAN ISS, but in LAN-ISS (SUS) is enough.


- Error: "Could not create a Disk Cache Sub-directory for the Application Pool" - I had this error on Windows Server 2003 with Software Update Services. Solution 2 in ME332097 worked for me, with one modification that is not mentioned in the article: Replace permission entries on all child objects. So, no removal or reinstallation of IIS needed.
- "c000001e - {Invalid Lock Sequence} //  An attempt was made to execute an invalid lock sequence". On deciphering the error code, it looks like this: Severity|C|R|Facility|Code and according to this format, c000001e becomes:
Severity = Error,
C = 0,
R = 0,
Facility = 0 (FACILITY_NULL),
Code = 30 (ERROR_READ_FAULT)
See also the link to the Google thread about Memory Exception Number.
- "Script Engine Exception. A ScriptEngine threw expection 'C0000005' in 'IActiveScript::SetScriptState()' from 'CActiveScriptEngine::ResetToUninitialized()'.." - From a newsgroup post: "The failure is in VBScript.dll, but the cause of the failure is that something else has corrupted Thread Local Storage (TLS) and VBScript is failing during initialization. It is most likely a com object that has failed previously and left trash behind. To get rid of the error update VBScript to the latest build (msdn.microsoft.com/scripting) and get the latest MDAC (www.microsoft.com/data)"

Windows Event Log Analysis Splunk App

Build a great reporting interface using Splunk, one of the leaders in the Security Information and Event Management (SIEM) field, linking the collected Windows events to www.eventid.net.

Read more...

 

Cisco ASA Log Analyzer Splunk App

Obtain enhanced visibility into Cisco ASA firewall logs using the free Firegen for Cisco ASA Splunk App. Take advantage of dashboards built to optimize the threat analysis process.

Read more...