Need help for COM working from .NET Web app, but not working from .NET EXE app

J

JeffQ888

Hi,



I am currenly buliding a .NET app based on a third party software.
Since the third party software was implemented using COM technology, I
am using .NET TlbImp utility to wrapper
COM dlls, then I can use them in my .NET application. However, those
new .NET dlls (after wrapping) can only work correctly from a Web app
(ASP.NET or Web Service), and it will not work correctly from .NET exe
app (Windows Form app or Window Service app). The error message is
"mscorlib Exception has been thrown by the target of an invocation.". I
am guessing those old COM dlls relying on a web environment, but just
can't figure it out how to solve it. It will be appreciated if anybody
can help me.




Thanks,



Jeff
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,997
Messages
2,570,240
Members
46,830
Latest member
HeleneMull

Latest Threads

Top