In my asp.net application, I call one lump method using interop dll. This works fine in a normal state, but sometimes in production it is tossed below the exception.
System.Runtime.InteropServices.COMException (0x80010105): The server threw an exception. (Exception from HRESULT: 0x80010105 (RPC_E_SERVERFAULT))
I suspect this happens when a large number of users access a single page at the same time.
Does anyone know a solution or steps to debug this problem.
I have another question. when searching the Internet, I came across this aspcompact attribute and the MTA vs STA thread model related to com components. Is this aspcompact attribute applicable in the case of interop dll (Runtime callable wrappers). Will adding this attribute solve my problem?
source share