PDA

Click to See Complete Forum and Search --> : ObjectContext


asabi
Jul 8th, 2000, 01:49 PM
From some reason I cannot make an ObjectContext variable.
I have the ASP libarary added (I can make response variable for example)

I am using IIS 5.0, VB 6.0

What other object libarary should I add ?

Clunietp
Jul 9th, 2000, 11:50 AM
Are you trying to retrieve the object context from an ASP page or a VB Component?

asabi
Jul 9th, 2000, 01:14 PM
In the Component ..
I have read something about it in microsoft website, they say that it wouldn't work with win2000 and that for win2000 you need to use COM+ , but I couldn't find any proper documentation for that.

Doesn't sound logical because it just came out with IIS 4.0 ...

Clunietp
Jul 10th, 2000, 11:56 AM
You can't use the MS Transaction server type library in W2k, you need to add a reference to COM+ Services Type Library.

You can then declare on ObjectContext object and use GetObjectContext the same way you would using MTS

asabi
Jul 10th, 2000, 02:35 PM
Thnks, it is WORKING now.

So, do you think that thid DLL would also work on IIS 4.0 ?
Or do I need to recopile it to MTS ?