Results 1 to 5 of 5

Thread: ObjectContext

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Mar 2000
    Location
    Canada
    Posts
    264
    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 ?
    In the beginning the universe was created. This has made a lot of people very angry and is generally regarded as a bad idea.

    - Douglas Adams
    The Hitchhiker's Guide to the Galaxy

  2. #2
    Guru Clunietp's Avatar
    Join Date
    Oct 1999
    Location
    USA
    Posts
    1,844
    Are you trying to retrieve the object context from an ASP page or a VB Component?

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Mar 2000
    Location
    Canada
    Posts
    264
    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 ...


    In the beginning the universe was created. This has made a lot of people very angry and is generally regarded as a bad idea.

    - Douglas Adams
    The Hitchhiker's Guide to the Galaxy

  4. #4
    Guru Clunietp's Avatar
    Join Date
    Oct 1999
    Location
    USA
    Posts
    1,844
    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

  5. #5

    Thread Starter
    Hyperactive Member
    Join Date
    Mar 2000
    Location
    Canada
    Posts
    264
    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 ?
    In the beginning the universe was created. This has made a lot of people very angry and is generally regarded as a bad idea.

    - Douglas Adams
    The Hitchhiker's Guide to the Galaxy

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width