UnauthorizedAccessException when using COM interop

Discussion in 'ASP .Net Security' started by FDMattias, Mar 1, 2005.

  1. FDMattias

    FDMattias Guest

    Hi,
    I am currently working on a webservice that is calling functions from a VB6
    COM component. the COM is working when called from a regular .NET WinForm
    application but when I try to create an instance of it in the webservice i
    get an System.UnauthorizedAccessException.

    This only seems to happen on my developmentcomputer and everything is
    working fine on the our testserver and even at a codevelopers computer. I
    have tried everything that I can find about the problem.

    I have also tried to create a very simple COM component and a simple
    webservice to test if it was that specific COM but that doesn't work either
    so it seems like I have some strange setting or policy somewhere that says I
    can't create COM-object from IIS, however I can't find to figure out what to
    change.

    Would be most greatfull for some help.
    /Mattias
    FDMattias, Mar 1, 2005
    #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. S. Justin Gengo
    Replies:
    0
    Views:
    840
    S. Justin Gengo
    Jul 14, 2003
  2. Salim Afþar
    Replies:
    0
    Views:
    419
    Salim Afþar
    Aug 11, 2003
  3. R Warford
    Replies:
    3
    Views:
    481
    Guest
    Dec 1, 2003
  4. Buckster
    Replies:
    0
    Views:
    111
    Buckster
    Feb 10, 2006
  5. Franz
    Replies:
    0
    Views:
    115
    Franz
    Jan 10, 2006
Loading...

Share This Page