ASP-Related Errors

Applies To: Windows Server 2003, Windows Server 2003 with SP1

This topic lists the errors that are generated by the World Wide Web Publishing Service (WWW service) when processing ASP applications that are configured incorrectly or ASP pages that contain errors. These errors are logged to the Windows Event application log only if the AspLogErrorRequests metabase property is set to true. If the AspErrorsToNTLog metabase property is also set to true, then all of the errors get logged to the Windows Event application log; otherwise, only a subset are logged. The subset includes the error numbers 100, 101, 102, 103, 104, 105, 106, 107, 115, 190, 191, 192, 193, 194, 240, 241, and 242.

Details

Note

When messages appear in the event log or Web browser, the symbols that appear below (such as |, %s, %X, %1, %2, %2!.20s!, and so on) are replaced with details about the error at the time that the error actually occurs.

Event ID Description

0100

Out of memory. Unable to allocate required memory.

0101

Unexpected error. The function returned |.

0102

Expecting string input. The function expects a string as input.

0103

Expecting numeric input. The function expects a number as input.

0104

Operation not Allowed.

0105

Index out of range. An array index is out of range.

0106

Type Mismatch. An unhandled data type was encountered.

0107

Data size too large. Size of data being sent in the request is over the allowed limit.

0108

Create object failed. An error occurred while creating object '%s'.

0109

Member not found.

0110

Unknown name.

0111

Unknown interface.

0112

Missing parameter.

0113

Script timed out. The maximum amount of time for a script to execute was exceeded. You can change this limit by specifying a new value for the property Server.ScriptTimeout or by changing the value in the IIS administration tools.

0114

Object not free threaded. The application object accepts only free threaded objects; object '%s' is not free threaded.

0115

Unexpected error. A trappable error (%X) occurred in an external object. The script cannot continue running.

0116

Missing close of script delimiter. The Script block lacks the close of script tag (%>).

0117

Missing close of script tag. The Script block lacks the close of script tag (</SCRIPT>) or close of tag symbol (>).

0118

Missing close of object tag. The Object block lacks the close of object tag (</OBJECT>) or close of tag symbol (>).

0119

Missing Classid or Progid attribute. The object instance '|' requires a valid Classid or Progid in the object tag.

0120

Invalid Runat attribute. The Runat attribute of the Script tag or Object tag can only have the value 'Server'.

0121

Invalid Scope in object tag. The object instance '|' cannot have Application or Session scope. To create the object instance with Session or Application scope, place the Object tag in the Global.asa file.

0122

Invalid Scope in object tag. The object instance '|' must have Application or Session scope. This applies to all objects created in a Global.asa file.

0123

Missing Id attribute. The required Id attribute of the Object tag is missing.

0124

Missing Language attribute. The required Language attribute of the Script tag is missing.

0125

Missing close of attribute. The value of the '|' attribute has no closing delimiter.

0126

Include file not found. The include file '|' was not found.

0127

Missing close of HTML comment. The HTML comment or server-side include lacks the close tag (-->).

0128

Missing File or Virtual attribute. The Include file name must be specified using either the File or Virtual attribute.

0129

Unknown scripting language. The scripting language '|' is not found on the server.

0130

Invalid File attribute. File attribute '|' cannot start with forward slash or back slash.

0131

Disallowed Parent Path. The Include file '|' cannot contain '..' to indicate the parent directory.

0132

Compilation Error. The Active Server Page '|' could not be processed.

0133

Invalid ClassID attribute. The object tag has an invalid ClassID of '|'.

0134

Invalid ProgID attribute. The object has an invalid ProgID of '|'.

0135

Cyclic Include. The file '|' is included by itself (perhaps indirectly). Please check include files for other Include statements.

0136

Invalid object instance name. The object instance '|' is attempting to use a reserved name. This name is used by Active Server Pages intrinsic objects.

0137

Invalid Global Script. Script blocks must be one of the allowed Global.asa procedures. Script directives within <% ... %> are not allowed within the Global.asa file. The allowed procedure names are Application_OnStart, Application_OnEnd, Session_OnStart, or Session_OnEnd.

0138

Nested Script Block. A script block cannot be placed inside another script block.

0139

Nested Object. An object tag cannot be placed inside another object tag.

0140

Page Command Out Of Order. The @ command must be the first command within the Active Server Page.

0141

Page Command Repeated. The @ command can only be used once within the Active Server Page.

0142

Thread token error. A thread token failed to open.

0143

Invalid Application Name. A valid application name was not found.

0144

Initialization Error. The page level objects list failed during initialization.

0145

New Application Failed. The new Application could not be added.

0146

New Session Failed. The new Session could not be added

0147

500 Server Error.

0148

Server Too Busy.

0149

Application Restarting. The request cannot be processed while the application is being restarted.

0150

Application Directory Error. The Application directory could not be opened.

0151

Change Notification Error. The change notification event could not be created.

0152

Security Error. An error occurred while processing a user's security credentials.

0153

Thread Error. A new thread request failed.

0154

Write HTTP Header Error. The HTTP headers could not be written to the client browser.

0155

Write Page Content Error. The page content could not be written to the client browser.

0156

Header Error. The HTTP headers are already written to the client browser. Any HTTP header modifications must be made before writing page content.

0157

Buffering On. Buffering cannot be turned off once it is already turned on.

0158

Missing URL. A URL is required.

0159

Buffering Off. Buffering must be on.

0160

Logging Failure. Failure to write entry to log.

0161

Data Type Error. The conversion of a Variant to a String variable failed.

0162

Cannot Modify Cookie. The cookie 'ASPSessionID' cannot be modified. It is a reserved cookie name.

0163

Invalid Comma Use. Commas cannot be used within a log entry. Please select another delimiter.

0164

Invalid TimeOut Value. An invalid TimeOut value was specified.

0165

SessionID Error. A SessionID string cannot be created.

0166

Uninitialized Object. An attempt was made to access an uninitialized object.

0167

Session Initialization Error. An error occurred while initializing the Session object.

0168

Disallowed object use. An intrinsic object cannot be stored within the Session object.

0169

Missing object information. An object with missing information cannot be stored in the Session object. The threading model information for an object is required.

0170

Delete Session Error. The Session did not delete properly.

0171

Missing Path. The Path parameter must be specified for the MapPath method.

0172

Invalid Path. The Path parameter for the MapPath method must be a virtual path. A physical path was used.

0173

Invalid Path Character. An invalid character was specified in the Path parameter for the MapPath method.

0174

Invalid Path Character(s). An invalid '/' or '\\' was found in the Path parameter for the MapPath method.

0175

Disallowed Path Characters. The '..' characters are not allowed in the Path parameter for the MapPath method.

0176

Path Not Found. The Path parameter for the MapPath method did not correspond to a known path.

0177

Server.CreateObject Failed. %s

0178

Server.CreateObject Access Error. The call to Server.CreateObject failed while checking permissions. Access is denied to this object.

0179

Application Initialization Error. An error occurred while initializing the Application object.

0180

Disallowed object use. An intrinsic object cannot be stored within the Application object.

0181

Invalid threading model. An object using the apartment threading model cannot be stored within the Application object.

0182

Missing object information. An object with missing information cannot be stored in the Application object. The threading model information for the object is required.

0183

Empty Cookie Key. A cookie with an empty key cannot be stored.

0184

Missing Cookie Name. A name must be specified for a cookie.

0185

Missing Default Property. A default property was not found for the object.

0186

Error parsing certificate

0187

Object addition conflict. Could not add object to application. Application was locked down by another request for adding an object.

0188

Disallowed object use. Cannot add objects created using object tags to the session intrinsic.

0189

Disallowed object use. Cannot add objects created using object tags to the application intrinsic.

0190

Unexpected error. A trappable error occurred while releasing an external object.

0191

Unexpected error. A trappable error occurred in the OnStartPage method of an external object.

0192

Unexpected error. A trappable error occurred in the OnEndPage method of an external object.

0193

OnStartPage Failed. An error occurred in the OnStartPage method of an external object.

0194

OnEndPage Failed. An error occurred in the OnEndPage method of an external object.

0195

Invalid Server Method Call. This method of the Server object cannot be called during Session_OnEnd and Application_OnEnd.

0196

Cannot launch out of process component. Only InProc server components should be used. If you want to use LocalServer components, you must set the AspAllowOutOfProcComponents metabase setting. Please consult the help file for important considerations.

0197

Disallowed object use. Cannot add object with apartment model behavior to the application intrinsic object.

0198

Server shutting down. Cannot process request

0199

Disallowed object use. Cannot add JScript objects to the session.

0200

Out of Range 'Expires' attribute. The date and time given for 'Expires' precedes Jan 1, 1980 or excedes Jan 19, 2038, 3:14:07 GMT.

0201

Invalid Default Script Language. The default script language specified for this application is invalid.

0202

Missing Code Page. The code page attribute is missing.

0203

Invalid Code Page. The specified code page attribute is invalid.

0204

Invalid CodePage Value. An invalid CodePage value was specified.

0205

Change Notification. Failed to create event for change notification.

0206

Cannot call BinaryRead. Cannot call BinaryRead after using Request.Form collection.

0207

Cannot use Request.Form. Cannot use Request.Form collection after calling BinaryRead.

0208

Cannot use generic Request collection. Cannot use the generic Request collection after calling BinaryRead.

0209

Illegal value for TRANSACTION property. The TRANSACTION property can only be REQUIRED, REQUIRES_new, SUPPORTED or NOT_SUPPORTED.

0210

Method not implemented. This method has not yet been implemented.

0211

Object out of scope. A built-in ASP object has been referenced, which is no longer valid.

0212

Cannot Clear Buffer. Response.Clear is not allowed after a Response.Flush while Client Debugging is Enabled.

0214

Invalid Path parameter. The Path parameter excedes the maximum length allowed.

0215

Illegal value for ENABLESESSIONSTATE property. The ENABLESESSIONSTATE property can only be TRUE or FALSE.

0216

MSDTC Service not running. Transactional web pages cannot be run if the MSDTC service is not running.

0217

Invalid Scope in object tag. Object scope must be Page, Session or Application.

0218

Missing LCID. The LCID attribute is missing.

0219

Invalid LCID. The specified LCID is not available.

0220

Requests for GLOBAL.ASA Not Allowed. Requests with the URL pointing to GLOBAL.ASA are not allowed.

0221

Invalid @ Command directive. The specified '|' option is unknown or invalid.

0222

Invalid TypeLib Specification. METADATA tag contains an invalid Type Library specification.

0223

TypeLib Not Found. METADATA tag contains a Type Library specification that does not match any Registry entry.

0224

Cannot load TypeLib. Cannot load Type Library specified in the METADATA tag.

0225

Cannot wrap TypeLibs. Cannot create a Type Library Wrapper object from the Type Libraries specified in METADATA tags.

0226

Cannot modify StaticObjects. StaticObjects collection cannot be modified at run time.

0227

Server.Execute Failed. The call to Server.Execute failed

0228

Server.Execute Error. The call to Server.Execute failed while loading the page.

0229

Server.Transfer Failed. The call to Server.Transfer failed

0230

Server.Transfer Error. The call to Server.Transfer failed while loading the page.

0231

Server.Execute Error. Invalid URL form or fully-qualified absolute URL was used. Use relative URLs.

0232

Invalid Cookie Specification. METADATA tag contains an invalid cookie specification.

0233

Cannot load cookie script source. Cannot load cookie script source file specified in the METADATA tag.

0234

Invalid include directive. Server side include directives may not be present in script blocks. Please use the SRC= attribute of the <SCRIPT> tag.

0235

Server.Transfer Error. Invalid URL form or fully-qualified absolute URL was used. Use relative URLs.

0236

Invalid Cookie Specification. METADATA tag contains an invalid or missing SRC parameter.

0237

Invalid Cookie Specification. METADATA tag contains an invalid or missing NAME parameter.

0238

Missing attribute value. No value was specified for the '|' attribute.

0239

Cannot process file. UNICODE ASP files are not supported.

0240

Script Engine Exception. A ScriptEngine threw exception '%X' in '%s' from '%s'.

0241

CreateObject Exception. The CreateObject of '%s' caused exception %X.

0242

Query OnStartPage Interface Exception. Querying Object '%s''s OnStartPage or OnEndPage methods caused exception %X.

0243

Invalid METADATA tag in Global.asa. Only METADATA TYPE="TypeLib" may be used in Global.asa.

0244

Cannot Enable Session State. Session state cannot be enabled when it has been disabled in the application.

0245

Mixed usage of Code Page values. The @CODEPAGE value specified differs from that of the including file's CODEPAGE or the file's saved format.

0246

Too many concurrent users. Please try again later..

0247

Bad Argument to BinaryRead. The argument to BinaryRead must be non-negative.

0248

Script isn't transacted. This ASP file must be transacted in order to use the ObjectContext object.

0249

Cannot use IStream on Request. Cannot use IStream on Request object after using Request.Form collection or Request.BinaryRead.

0250

Invalid Default Code Page. The default code page specified for this application is invalid.

0251

Response Buffer Limit Exceeded. Execution of the ASP page caused the Response Buffer to exceed its configured limit.