rob 0

rob 0

  • NA
  • 1
  • 0

COM Interop & APTC

Jan 23 2006 10:08 PM
OK,

I have been playing with this for a couple of days now, but seem to have hit a brick wall... What I am trying to do is utilize a COM object which is hosted inside Internet Explorer as a windows forms control.

Whenever i try to perform an action from the COM component I generate SecurityExceptions, as you would expect. I signed the components and created a code group with 'Everything' access to get around the permission problems i was having, and have also used SecurityPermission.Asset() etc , but whenever i call a method from the COM object, it says "That assembly does not allow partially trusted callers".... Is what im trying to do possible or am i wasting my time...?!?!

Whats worse is that I somehow managed to get the code to run on my dev server (running IIS 6.0) but i cannot seem to get the permission settings right anywhere else...

Anyhelp / suggestions people have on this would be wicked.

Thanks in adavance.