-
Why does my com+ object not shut down?
I have created an active x dll from visual basic 6 and registered it through component service on windows 2000 advanced server.
I call the object in my asp script and looking through component services the ball starts spinning.
The default time out is left at 3 minutes but after this time the ball is still spinning!! :eek:
I am using setcomplete to the objectcontext in the dll and set my varible in the asp script to nothing and it still happening.
I have tried a third party dll but this is doing exactly the same. Is there anything else I could try??
:confused:
-
I've just done some testing on this with some of my COM+ components, and they shut down ok.......
can you post the DLL so I can try starting and stopping it here?
-
1 Attachment(s)
Thanks Crispin, if you could...
I have attached (hopefully) testpool.dll
It has one function Called SayHello()
Option Explicit
Public Function SayHello() As String
Dim objContext As ObjectContext
Set objContext = GetObjectContext
SayHello = "Hello there"
objContext.SetComplete
End Function
and I'm calling it from asp as:
<%
Set Com = Server.CreateObject("TestPool.pool")
REsponse.Write Com.SayHello()
Set Com = Nothing
%>
;)
-
Could I try one of your Com+ Objects on my server to see if it stops spinning?? :confused:
-
1 Attachment(s)
yeah, of course, most of these are from Ted Pattisons book, my ones are not finished yet, im trying to provide a set of internal components that provide simple functions for in-house testing like string functions and recordset functions for all the "not quite so techies", im also trying to incorporate distributed transactions between SQL Server and Oracle which is about as much fun as a Great White shark in your bathtub!
heres a couple for you to start with.
I just finished testing your component - I set the timeout to 1 minute, said hello and then waited (I hit f5 after 1:10) and it had stopped.....