CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2003
    Location
    Manchester, England
    Posts
    11

    COM interop failing for asp.net only.

    We have a COM object which we need to call from an asp.net application but it doesn't work. I know about COM interop and references and tlbimp etc. When I say "doesn't work" I mean that the methods of the com object fail - we haven't managed to debug it yet so we don't know exactly where it fails.

    The COM component works fine from a c# windows application but not from a c# asp.net application. If it helps, the COM component extensively uses SQL via ado, amongst many other things. It is a large object model.

    Is it something to do with permissions that prevents it from working in an asp.net environment? As I said, it works fine in a normal c# windows app.

    Finally, if I register the component in COM+ the situation is improved but we still have big problems with the cOM component not being suitable to be run out of process.

    This is driving us nuts please help.

    Gaz.

  2. #2
    Join Date
    Sep 2011
    Posts
    1

    Re: COM interop failing for asp.net only.

    I know this is an age old topic, but does anyone have a solution to this? I am facing the same problem here. I can access a components method in a normal winforms app, also through javascript on a web app page, but is there a way to achieve this on the server side?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured