Here is another thing that I notice:
When I remove the call to the stored procedure and have a line like this,
objCmd_lb.CommandText = ""
I still receive the type mismatch error. Could it be my connection to the database or stored procedure?
Yes. The ado constants are in the adovbs.inc file. I have a line on the page as follows:
<!-- #include virtual="/assets/inc/adovbs.asp" -->
<%
Dim strFieldValue
Dim dicFields 'dictionary for failed fields
Dim blnFieldIsOkay
This line produces the error:
objCmd_lb.Parameters.Append = objCmd_lb.CreateParameter("V_HIN", adVarChar, adParamInput, txtHin)
When I comment out the line, the error moves to the next line.
Also, I have tried it out with the following code and I still get the same error message...
Can someone please help me with the following code? I am getting the following error message:
Error Type:
Provider (0x80020005)
Type mismatch.
ASP CODE:
Dim objCmd_lb
Dim txtHin, txtYearBuilt, txtCertNumber, v_PassFormatCheck
txtHin = Request.Form("txtHIN")
txtYearBuilt...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.