UnauthorizedAccessException when using COM interop

F

FDMattias

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
 

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
474,268
Messages
2,571,095
Members
48,773
Latest member
Kaybee

Latest Threads

Top