Question
0x80020009 Exception occured? ASP/VB and MSSQL
Hi. I have a two-menu form on an asp page that posts to a
second page. On
the second page I have a form.
Within this form are a set of blank form fields for a user to complete.
These fields should be displayed (Show if Empty) if the user chooses "New"
from either, or both, of the menus on my initial page. The value of "new",
being passed to the second page, is blank:
<option value="" selected>New</option>
Also within this form, are a set of pre-filled (from recordset) form fields,
identical to the blank form fields, but only displayed (Show if Not Empty)
if the user makes a selection other than "New" from either, or both, of the
menus on my intial page.
<option value="<%=(rsRecordset.Fields.Item("orderID").Value)%>">Order ID -
Name - City</option>
If I make a selection, other than "New", in BOTH of the menus on my first
page, and submit the form, my second page form fields are correctly filled -
no problem!
If, however, I select "New" from either of the menus, or both, I get the
following:
Error Type:
(0x80020009)
Exception occurred.
/my2ndpage.asp, line 230
Browser Type:
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
Page:
POST 42 bytes to /mypage.asp
POST Data:
orderIDpick=&orderIDdel=&Submit=Continue
I've tried inserting a "dummy" value in my "New" value (an order ID I know
doesn't, or won't exist):
<option value="999" selected>New</option>
My thoughts being that, because I wasn't passing any value, that was what
was causing the error, however this just gives me the following:
Error Type:
(0x80020009)
Exception occurred.
/my2ndpage.asp, line 230
Browser Type:
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
Page:
POST 42 bytes to /mypage.asp
POST Data:
orderIDpick=999&orderIDdel=999&Submit=Continue
Line 230 on my second page is:
<%
Dim rsOtherRecordset__MMColParam
rsOtherRecordset__MMColParam = "1"
230>>>>If (rsOtherRecordset2.Fields.Item("pickupregion") <> "") Then
rsOtherRecordset__MMColParam =
rsOtherRecordset2.Fields.Item("pickupregion")
End If
%>
...this recordset is completely unrelated to the problem, I feel, so I am
wondering if this is, really, my line 230 as is being reported by the error
in IE?
Can anyone see what might be causing this? Would really appreciate the
assistance. Thanks.
Regards
Nath.
the second page I have a form.
Within this form are a set of blank form fields for a user to complete.
These fields should be displayed (Show if Empty) if the user chooses "New"
from either, or both, of the menus on my initial page. The value of "new",
being passed to the second page, is blank:
<option value="" selected>New</option>
Also within this form, are a set of pre-filled (from recordset) form fields,
identical to the blank form fields, but only displayed (Show if Not Empty)
if the user makes a selection other than "New" from either, or both, of the
menus on my intial page.
<option value="<%=(rsRecordset.Fields.Item("orderID").Value)%>">Order ID -
Name - City</option>
If I make a selection, other than "New", in BOTH of the menus on my first
page, and submit the form, my second page form fields are correctly filled -
no problem!
If, however, I select "New" from either of the menus, or both, I get the
following:
Error Type:
(0x80020009)
Exception occurred.
/my2ndpage.asp, line 230
Browser Type:
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
Page:
POST 42 bytes to /mypage.asp
POST Data:
orderIDpick=&orderIDdel=&Submit=Continue
I've tried inserting a "dummy" value in my "New" value (an order ID I know
doesn't, or won't exist):
<option value="999" selected>New</option>
My thoughts being that, because I wasn't passing any value, that was what
was causing the error, however this just gives me the following:
Error Type:
(0x80020009)
Exception occurred.
/my2ndpage.asp, line 230
Browser Type:
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
Page:
POST 42 bytes to /mypage.asp
POST Data:
orderIDpick=999&orderIDdel=999&Submit=Continue
Line 230 on my second page is:
<%
Dim rsOtherRecordset__MMColParam
rsOtherRecordset__MMColParam = "1"
230>>>>If (rsOtherRecordset2.Fields.Item("pickupregion") <> "") Then
rsOtherRecordset__MMColParam =
rsOtherRecordset2.Fields.Item("pickupregion")
End If
%>
...this recordset is completely unrelated to the problem, I feel, so I am
wondering if this is, really, my line 230 as is being reported by the error
in IE?
Can anyone see what might be causing this? Would really appreciate the
assistance. Thanks.
Regards
Nath.
