Disallowed object use. Cannot add object with apartment model behavior to the application intrinsic object.
or getting records from a database:
It only allows me to assign literal constants to the session or app variables, which is totally useless to me.
Interestingly the above code works fine in VBscript (changing the syntax of course)
What causes the problem?
Is there any workaround?