I have a VB component running under MTS that returns
an ADODB.Connection object.
When I create the object and call the method from an ASP page, I can use the connection to open a recordset.
When I create the object and call the method (late-bind) from an .EXE on the same machine, I get an ADO type mismatch error when opening a recordset.
If I remove the object from MTS, the recordset works with the returned connection.
Does anyone know what this could be? Some sort of cross-process problem?
I am not using the SafeRef function. I don't think it would
apply here. Am I reading it wrong?
Thanks.
an ADODB.Connection object.
When I create the object and call the method from an ASP page, I can use the connection to open a recordset.
When I create the object and call the method (late-bind) from an .EXE on the same machine, I get an ADO type mismatch error when opening a recordset.
If I remove the object from MTS, the recordset works with the returned connection.
Does anyone know what this could be? Some sort of cross-process problem?
I am not using the SafeRef function. I don't think it would
apply here. Am I reading it wrong?
Thanks.