moon44
asked on
COMException by accessing vb6 DLL from ASP.NET
Hi
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.InteropServ ices.COMEx ception: 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
Thank you!
Regards!
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.InteropServ
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
Thank you!
Regards!
Is there any Memory Leakage ? or more Load causing the problem ?
ASKER
none of my knowledge. The servers are dedicated for our application. The problem does not occure on some heavy loaded machines, but on some with little load.
Were able to establish the pattern which is causing the error ?
Are you passing the objects between windows in ur Application ?
Are you passing the objects between windows in ur Application ?
ASKER
No, there is no timeframe or usageinfo that could lead to a analogy.
C# calls a function in vb6 dll. In this function an sql-server is connected and a c++ dll is called.
There are only strings passed.
C# calls a function in vb6 dll. In this function an sql-server is connected and a c++ dll is called.
There are only strings passed.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.