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

Discussion in 'ASP .Net Web Controls' started by JeffQ888, May 23, 2006.

  1. JeffQ888

    JeffQ888 Guest

    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
    JeffQ888, May 23, 2006
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Id L
    Replies:
    2
    Views:
    4,767
    mikeb
    Mar 3, 2004
  2. prem
    Replies:
    1
    Views:
    1,589
    Shankara Narayanan
    Nov 3, 2004
  3. =?Utf-8?B?R2lhbmNhcmxv?=

    debug Windows app works but, not web app

    =?Utf-8?B?R2lhbmNhcmxv?=, Sep 26, 2005, in forum: ASP .Net
    Replies:
    0
    Views:
    313
    =?Utf-8?B?R2lhbmNhcmxv?=
    Sep 26, 2005
  4. Replies:
    1
    Views:
    382
    Richard Brown
    May 23, 2006
  5. Replies:
    1
    Views:
    134
    Van den Driessche Willy
    Sep 20, 2006
Loading...

Share This Page