System.Security.SecurityException: That assembly does not allowpartially trusted callers.

  • Thread starter Thread starter John G
  • Start date Start date
J

John G

I have created an ActiveX control that does word automation. Once I
creat an instance of work I get the following message
System.Security.SecurityException: That assembly does not allow
partially trusted callers.

I am using .net 2. I have a key and use the regasm tool after it the
dll is compiled

I am really lost on how to make this work any help will be appreciated

John
 
you prolly have to add this to your code:

[assembly: AllowPartiallyTrustedCallers]
 
Back
Top