Signup · Login
Stardeveloper.com  
Home · Tutorials · Forums · ASP.NET Newsletter Application · Web Hosting Plans · Faisal Khan's Blog · Contact
Forums : ASP : ASP 3.0 : If 'MTS Type Library' Reference Is Not Available, use COM+ Services Type Library Instead Signup · Login
Author Thread
If 'MTS Type Library' Reference Is Not Available, use COM+ Services Type Library Instead
Posted in tutorial: ASP Intrinsic Objects from within COM Component
·  guenhwyvar
User
Joined: 28 Oct 2003
Total Posts: 2

If 'MTS Type Library' Reference Is Not Available, use COM+ Services Type Library Instead

Posted: 29 Nov 2003
I have found the solution for my question about Windows 2000 and VB 6 Com object problem.

If you are trying to build a Com Object on Windows 2000 with VB 6, you wont be able to find 'Microsoft Transaction Server Type Library' in the project references window. You have to use COM+ Services Type Library Instead. Windows 2000 and later does not include MTxAS.dll for this operation. MS uses COMSVCS.dll instead.

There is another problem with this Type Library. After changing the library name from MTS to COM+ Services we have to correct the ObjectContext object type written on the step 5 of Faisal Khan's article.

Change the line
Private ObjectContext As MTxAS.ObjectContext
with
Public ObjectContext As COMSVCSLib.ObjectContext

It works, and is great.
Want to leave a comment? Login or Register for free!

Users Who Have Visited This Thread In Last 24 Hours
3 Visitors

Login to post a comment or start a new thread
UserName Or Email Address:       Password:       Auto-Login:    
· Create New User Account
· Send Forgotten Password by Email
 
© 1999 - 2010 Stardeveloper.com, All Rights Reserved.