Hey,
I have this error message when I try to launch my ASP page:
Error Type:
(0x80020009)
Exception occurred.
/First/test1.asp, line 64
here is my code:
<%
Dim rs
Set rs = Server.CreateObject ("ADODB.Recordset")
rs.Open "tres2", "DSN=test"
While Not rs.EOF
Response.Write ("<tr>")
Response.Write ("<td height='30' width='24%'>" & "<b>" & "<font size='2' color='C10000'>" & rs("TENOR") & "</b>" & "</td>")
Response.Write ("<td height='30' width='12%'>" & "<b>" & "<font size='2' color='C10000'>" & rs("USD") & "</b>" & "</td>")
response.write ("<td height='30' width='12%'>" & "<b>" & "<font size='2' color='C10000'>" & rs("CAD") & "</b>" & "</td>")
Response.Write ("<td height='30' width='12%'>" & "<b>" & "<font size='2' color='C10000'>" & rs("EUR") & "</b>" & "</td>")
Response.Write ("<td height='30' width='12%'>" & "<b>" & "<font size='2' color='C10000'>" & rs("GBP") & "</b>" & "</td>")
Response.Write ("<td height='30' width='12%'>" & "<b>" & "<font size='2' color='C10000'>" & rs("CHF") & "</b>" & "</td>")
Response.Write ("<td height='30' width='12%'>" & "<b>" & "<font size='2' color='C10000'>" & rs("JPY") & "</b>" & "</td>")
Response.Write ("</tr>")
rs.MoveNext
Wend
Response.Write ("<tr>")
Response.Write ("<td height='42' width='96%' colspan='7'>" & "<b>" & "<font size='2' color='C10000'>" & rs("QUOTE") & "</b>" & "</td>")
Response.Write ("</tr>")
rs.Close
Set rs = Nothing
%>
Can you please help me?
I have this error message when I try to launch my ASP page:
Error Type:
(0x80020009)
Exception occurred.
/First/test1.asp, line 64
here is my code:
<%
Dim rs
Set rs = Server.CreateObject ("ADODB.Recordset")
rs.Open "tres2", "DSN=test"
While Not rs.EOF
Response.Write ("<tr>")
Response.Write ("<td height='30' width='24%'>" & "<b>" & "<font size='2' color='C10000'>" & rs("TENOR") & "</b>" & "</td>")
Response.Write ("<td height='30' width='12%'>" & "<b>" & "<font size='2' color='C10000'>" & rs("USD") & "</b>" & "</td>")
response.write ("<td height='30' width='12%'>" & "<b>" & "<font size='2' color='C10000'>" & rs("CAD") & "</b>" & "</td>")
Response.Write ("<td height='30' width='12%'>" & "<b>" & "<font size='2' color='C10000'>" & rs("EUR") & "</b>" & "</td>")
Response.Write ("<td height='30' width='12%'>" & "<b>" & "<font size='2' color='C10000'>" & rs("GBP") & "</b>" & "</td>")
Response.Write ("<td height='30' width='12%'>" & "<b>" & "<font size='2' color='C10000'>" & rs("CHF") & "</b>" & "</td>")
Response.Write ("<td height='30' width='12%'>" & "<b>" & "<font size='2' color='C10000'>" & rs("JPY") & "</b>" & "</td>")
Response.Write ("</tr>")
rs.MoveNext
Wend
Response.Write ("<tr>")
Response.Write ("<td height='42' width='96%' colspan='7'>" & "<b>" & "<font size='2' color='C10000'>" & rs("QUOTE") & "</b>" & "</td>")
Response.Write ("</tr>")
rs.Close
Set rs = Nothing
%>
Can you please help me?