Remote COM+ Object Fails
Posted on 2002-07-12
Hi. I'm using ASP.NET / C# to call a remote COM+ object (DLL) written in VB 6.0. I was provided with the application proxy MSI file and I ran that install on my machine. For a test, I made a quick EXE in VB 6.0 and called the method I needed, and it worked. For another test, I made a windows app in .NET / C#. In this test, I added the DLL as a reference to that project. The method call worked again.
Now, all I want to do is add this DLL as a reference to a web project in .NET and simply call the method (just like in the above successful tests). Instead, I get an error:
System.InvalidCastException: QueryInterface for interface CTCashRead._Cash failed
How can I get this to work?