|
-
May 9th, 2001, 11:55 PM
#1
Thread Starter
New Member
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.
-
May 10th, 2001, 01:28 AM
#2
Fanatic Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|