Classic ASP, VB 6.0, on IIS V6.0 XP 64 Bit - Getting error with GetObjectContext

Getting this error from the webpage:

ADODB.Recordset error '800a0e78'
Operation is not allowed when the object is closed.

When using GetObjectContext.  

This works fine on XP 32 bit, IIS 5.0.  I encountered this when moving the ASP application to a new development machine running XP Pro 64 bit, IIS 6.0.

Also, when I first opened the VB project in the IDE on my XP 64 bit dev machine, the "MTS 2.0 Admin Type Library" is listed as missing, yet I do see the "mtsadmin.tlb" file within c:\windows\system32\com\ folder.  
This is within my VB6 COM object registered with Component Services.
Dim objcObjCon As ObjectContext
Dim resResponse As Response
Set objcObjCon = GetObjectContext
Set roRequest = objcObjCon("Request")

Open in new window

Who is Participating?
kevp75Connect With a Mentor Commented:
First thing, the solution is above.  Second, in order to be able to reference something, you need to make sure that something is first installed.  In this case, Microsoft Transaction Server needs to be installed on the machine you are developing this with.   See the links below...

Please read them thoroughly, as it looks like there are quite a few steps you need to do to get this to work for you.
in VB6 IDE make sure MTS 2.0 Admin Type Library is checked off in project references
JMichelsonAuthor Commented:
Thanks Kevp75.  Part of the problem is that "MTS 2.0 Admin Type Library" is unavailable through the project references. When I first loaded the VB project on the new machine, the compiler indicated this reference as "MISSING:".

JMichelsonAuthor Commented:
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.