Microsoft VBScript runtime error '800a000d'

Type mismatch: 's'

/RegControl/ReleaseCode/myfunc.asp, line 312