Type mismatch: 'variable' errors

Frequently Asked Questions about Quick 'n Easy Web Server
Site Admin
Posts: 45
Joined: Wed Apr 13, 2005 9:16 pm

Type mismatch: 'variable' errors

Post 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")