Page 1 of 1

Type mismatch: 'variable' errors

Posted: Tue Sep 20, 2005 12:06 pm
by admin
Note that Quick 'n Easy Web Server 3.2 should fix this issue.

If Quick 'n Easy Web server reports a Type mismatch error most of the time this is caused by assigning database values to ASP collections.
QnE Web Server currently does not support these type of assignments.
To work-around this problem, write your ASP code like this:

Dim tmpValue
tmpValue = rsQuery("SOMEFIELD")
Session("MyValue") = tmpValue

instead of

Session("MyValue") = rsQuery("SOMEFIELD")