COMException by accessing vb6 DLL from ASP.NET
Posted on 2008-06-10
we're using an Appartment Model Threaded VB6 COM component in a C# aspx webapplication. This works fine most cases. But sometimes it starts to throw COMExceptions. Only a applicationpool recycle helps to fix it.
The error is:
System.Runtime.InteropServices.COMException: Automation error
The callee (server [not server application]) is not available and
disappeared; all connections are invalid. The call did not execute.
Does anyone have a clue what could be the case here?
Why could this happen?
This happens on a Windows 2003 Server with .NET Framework 2.0 SP1