T
Tobias Bergmann
Hello,
this is really a hardcore question for Microsoft professionals!
I have got a .NET 2.0 UserControl DLL.
When it is started it checks for a certain object that stores data and
communicates cyclically to a server. This object is a static variable
because in some applications the UserControl should be disposed and build up
later and the background data store object should remain meanwhile.
It works perfect so far.
But... When I embed the UserControl into a ASP.net web page I get trouble. I
can jump from a page showing the UserControl to another and back and the
data container object in the background still works in the background. But
when I then close the IE there is a system message about an exception on
accessing address XXX in process XXX.
I think the problem is: The background object still works even without the
calling object but when the IE is closed nobody tells the background object
that the hosting process was stopped. And so it suddendly acts within
non-allocated memory without a hosting process and that is what causes a
crash.
Can anybody follow me and has anybody advice for me?
Thanks a lot in advance!
this is really a hardcore question for Microsoft professionals!
I have got a .NET 2.0 UserControl DLL.
When it is started it checks for a certain object that stores data and
communicates cyclically to a server. This object is a static variable
because in some applications the UserControl should be disposed and build up
later and the background data store object should remain meanwhile.
It works perfect so far.
But... When I embed the UserControl into a ASP.net web page I get trouble. I
can jump from a page showing the UserControl to another and back and the
data container object in the background still works in the background. But
when I then close the IE there is a system message about an exception on
accessing address XXX in process XXX.
I think the problem is: The background object still works even without the
calling object but when the IE is closed nobody tells the background object
that the hosting process was stopped. And so it suddendly acts within
non-allocated memory without a hosting process and that is what causes a
crash.
Can anybody follow me and has anybody advice for me?
Thanks a lot in advance!