Results 1 to 2 of 2

Thread: Problem with COM+

  1. #1

    Thread Starter
    New Member
    Join Date
    Aug 1999
    Location
    Hyderabad, Andhra Pradesh, India.
    Posts
    3

    Thumbs up Problem with COM+

    Hi ,
    I have a COM+ problem. I registered the data and business dlls in COM+

    on WIN2K server. While I was executing the code I got an error which is

    as follows.

    "You made a method call on a COM+ component that has a transaction that has already committed or aborted."

    I made the following observation.
    I invoked a business method in my screen which returns a collection. I

    assigned this collection to a local collection
    (NOTE:Here gclnPicklists is global collection which is declared in the standard module)
    DIM pclnPicklists as new collection

    set pclnPicklists = {Business method}

    set gclnPicklists=pclnPicklists

    debug.print gclnPicklists.count
    'No problems. It prints the count
    'Now I did the following

    set pclnPickLists = Nothing
    'I issued the above statement again
    debug.print gclnPicklists.count
    **********************************
    The above error occured.

    Please help. It would be very helpful.

    Thanks,
    Anjan
    Last edited by atallapaneni; May 10th, 2001 at 03:08 AM.

  2. #2
    Fanatic Member
    Join Date
    Jan 2001
    Location
    Vietnam
    Posts
    613
    After this line:
    set pclnPickLists = Nothing
    You can not refer to gclnPicklists or pclnPicklists anymore since you have dereference pclnPicklists.

    To use the gclnPicklists.count, you must store it in a variable such as:
    Code:
      lngTemp = gclnPicklists.count
    before you dereference pclnPicklists.

    Regards,
    TheBao

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