-2147023170 - Automation error
The remote procedure call failed.

I have the a.dll run under the MTS server. I wrote a client to call the a.dll and I got the error message above. Anyone has any ideas how to solve the problem? and if it's possible, please explain briefly what's going on? Thanks in advance.