Export (0) Print
Expand All

ASP Errors

Updated: August 22, 2005

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

Table E.4 lists the errors that the WWW service generates when processing ASP applications that are configured incorrectly or ASP pages that contain errors. These errors are listed in the Application log only if the ASPLogErrorRequests metabase property is set to TRUE. If the ASPErrorsToNTLog metabase property is also set to TRUE, all the errors get logged to the Windows event application log; otherwise, only a subset is 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. These error messages are listed in the Application log with the source name Active Server Pages.

Table E.4 ASP Errors

Error 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. The size of the 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 be executed 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 the <script> tag (%>).

0117

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

0118

Missing close of <object> tag. The object block lacks the close of the <object> tag (</OBJECT>) or the 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 have only 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 by 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 a forward slash or a backward slash.

0131

Disallowed parent path. The include file '|' cannot contain '..' to indicate the parent directory.

0132

Compilation error. The ASP 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). Select the Include files for other include statements box.

0136

Invalid object instance name. The object instance '|' is attempting to use a reserved name. This name is used by ASP 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, and 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 ASP page.

0141

Page command repeated. The @ command can be used only once within the ASP 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 turned on.

0158

Missing URL. A URL is required.

0159

Buffering off. Buffering must be on.

0160

Logging failure. Failure to write entry to the 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. 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 was not deleted 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 characters. 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 by using <object> tags to the session intrinsic.

0189

Disallowed object use. Cannot add objects created by 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.

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 the Expires attribute is earlier than Jan 1, 1980 or later than 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 CodePage attribute is missing.

0203

Invalid code page. The specified CodePage 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, which is no longer valid, has been referenced.

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 exceeds the maximum length allowed.

0215

Illegal value for EnableSessionState property. The EnableSessionState property can be only 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. The <metadata> tag contains an invalid type library specification.

0223

TypeLib not found. The <metadata> tag contains a type library specification that does not match any registry entry.

0224

Cannot load TypeLib. Cannot load the 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. The <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 cannot be present in script blocks. 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. The <metadata> tag contains an invalid or missing SRC parameter.

0237

Invalid cookie specification. The <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 script engine threw exception %X in %s from %s.

0241

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

0242

Query OnStartPage interface exception. Querying the OnStartPage or OnEndPage methods of object %s caused exception %X.

0243

Invalid <metadata> tag in Global.asa. Only <metadata> TYPE="TypeLib" can 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 code page or the file's saved format.

0246

Too many concurrent users. Try again later.

0247

Bad argument to BinaryRead. The argument to BinaryRead must be nonnegative.

0248

Script is not transacted. This ASP file must be transacted 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.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft