I don't know why my ASP page can not be read. I have a vxml page that submit to an ASP page but each time when it get to the ASP page i keep getting error: Unknown element 'font'
errno: 205
error.badfetch
I am really hooked here because i don't know if the problem is from my server or form plum vxml platform. I HAVE SPENT 7DAYS TRYING TO RESOLVE IT WITH NO SUCCESS. I WILL APPRECIATE IF YOU CAN HELP ME OUT HERE BECAUSE I DONT KNOW WHAT ELSE TO DO.
Here is my code, i think my code is fine but i dont know. pls kindly help me check where i'm going wrong. pls help
Code: Select all
<?xml version="1.0"?>
<vxml version="2.0">
<%@ Language=VBScript %>
<%
Dim userno,userpin,Title,Firstname,Lastname
Dim conn,rs,strsql
userno = Request.Querystring("userno")
userpin = Request.Querystring("userpin")
Set Conn = Server.CreateObject("ADODB.Connection")
Set Rs = Server.CreateObject("ADODB.Recordset")
conn.open "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" & Server.MapPath("userbase.mdb")
strsql="SELECT * FROM [clients] WHERE [accountno] ='" & acctnumber & "'"
Rs.Open strsql, conn
If Not rs.Eof Then
If rs("pin") = acctpin Then
userno =rs("userno")
Response.Write("<goto next=""#UserHome""/>")
else
Response.Write("<goto next=""#BadLogin""/>")
End if
Title = rs("title")
Firstname = rs("firstname")
Lastname = rs("lastname")
rs.close
set rs = Nothing
Set conn = Nothing
%>
<form id="BadLogin">
</form>
<block>
<prompt><voice name="claire"> Incorrect login info, please try again </voice></prompt>
<goto next="index.xml#AskforLogin" />
</block>
<form id="UserHome">
<block>
<prompt><voice name="claire"> Welcome <%= Title %> <%= Firstname %> <%= Lastname %></voice></prompt>
<goto next="#Logoff" />
</block>
</form>
</form>
<form id="Logoff">
<catch event="Logoff">
<prompt>Thank you for calling, pls call again. Goodbye!</prompt>
<throw event="telephone.disconnect.hangup"/>
</catch>
</form>
</vxml>