PRB: Random ASP 0115 Errors when Submitting Form (173741)
The information in this article applies to:
- Microsoft Visual InterDev 1.0
- Microsoft Active Server Pages 1.0
This article was previously published under Q173741 SYMPTOMS
The following error occurs randomly when submitting a HTML form:
error 'ASP 0115'
Unexpected error
/<web name>/<asp file name>.asp
A trappable error occurred in an external object. The script cannot
continue running.
Again, the error occurs randomly.
CAUSE
The following conditions cause the error to occur:
- The elements of the submitting form are not named. For example, <input
type="Text"> instead of <input type="Text" name="textinput">.
- The form must have a "Input" or "Select" element. In other words, the
form must pass values associated with the "Input" or "Select" tags to
the server.
- You have code that accesses the Forms Collection from a second Active
Server Pages (ASP) page. For example, the "Action" parameter of the
"Form" tag points to an .asp file other than itself. And the code
accesses the forms collection via 'Request.Forms("var")'. NOTE: at this
time we have been unable to reproduce the error when the "Action"
parameter points to itself -- the .asp file in which the form is
defined.
- You have code that accesses memory; as in, 'Session("variable")=value'.
This condition is very touchy, sometimes just changing the name of the
variable will remove the symptoms.
RESOLUTION
Name each element--including the form itself--in the form.
-or-
Change the name of the variable, see condition 4 in the CAUSE section
above.
STATUS
Microsoft is researching this problem and will post new information here in
the Microsoft Knowledge Base as it becomes available.
REFERENCES
For the latest Knowledge Base articles and other support information on
Visual InterDev and Active Server Pages, see the following page on the
Microsoft Technical Support site:
Modification Type: | Major | Last Reviewed: | 5/2/2006 |
---|
Keywords: | kbcode kbprb KB173741 |
---|
|