Hello Dear,
I'm needing a lot of help from yours.
I have an application in ASP, not ASP.NET ... Which uses several COM+ components developed for me.
Below is an example of using one of the components.
Dim componentXPTO
Dim xpto
componentXPTO = Server.CreateObject("NAMESPACE.XPTO")
Set xpto = componentXPTO.myFunction(variables)
Set Session("XPTO") = xpto
Set componentXPTO = Nothing
Set xpto = Nothing
---------------------------------
Session("XPTO").name
The problem I'm experiencing is something intermittent. I access several times the variable XPTO in the session without any problems. Thus this code is running. What happens is that sometimes when I access the same variable XPTO in the same user session bellow error occurs:
| 27 | 800a01ce | The_remote_server_machine_does_not_exist_or_is_unavailable: _'Session (...). name '
My suspicion is that as the XPTO object was returning from a COM+ function is keeping dllhost reference to the process and the moment that the recycling mechanism(Lifetime 10 minuts) terminating the process a reference to this object is lost and for this I am getting this error in my application ...
It has some logic that I'm talking about? Return of functions with references and keeping at the time of the recycling process loss this reference?
I've tried every way to debug and the only question that remains is exactly this ..
Please someone help me!