PRB: Random ASP 0115 Errors when Submitting FormID: Q173741
|
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.
The following conditions cause the error to occur:
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.
Microsoft is researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
=======frmsubmit.asp================
<%@ LANGUAGE="VBSCRIPT" %>
<HTML>
<BODY>
<form action="calendarcase.asp" method="POST">
<input type="text" name="Month2" size="1">
<input type="submit" value="OK" >
</form>
</BODY>
</HTML>
=========end frmsubmit.asp============
========frmaction.asp==============
<%@ LANGUAGE="VBSCRIPT" %>
<%
'Access the forms collection
mo=Request.Form("Month")
'The below code -- setting the session variable -- is also necessary.
I ' suspect setting the session variable below just accesses the
'corrupted forms collection memory and causes the error.
Session("SelectedMonthNumber") = "1"
response.redirect "testvb.asp"
%>
=========end frmaction.asp======================
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:
http://support.microsoft.com/support/vinterdev/
Additional query words:
Keywords : kbcode kbASP kbVBScript kbVisID kbGrpASP
Version : WINDOWS:1.0
Platform : WINDOWS
Issue type : kbprb
Last Reviewed: May 10, 1999