
VB6 COM+ Component kills ASP .Net app
VB6 COM Component that returns a string when called.
I have referenced it in my VB .Net (2003) project... The first time I call
it works, but on the second and up, it fails to come back to my code (I have
to click stop)
It is as if .Net never really frees the Component (Which needs to be done..)
What am I missing?
Adam Southerland
Notes:
I have tried adding
imports System.EnterpriseServices
wrapped around the COM+ instance I have...
Dim Config as new ServiceConfig
ServiceDomain.Enter(config)
Dim onjCOMOBJ as COMOBJ.CLS = New COMOBJ.CLS
Dim myStr as string = objCOMOBJ.Function
ContextUtil.SetComplete()
ServiceDomain.Leave()
Before I added the imports and Service stuff it did the same thing - i'm
flying blind =(