Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
microsoft.public.dotnet.framework.interop
Re: System.Security.SecurityException: That assembly does not allow partially trusted callers.
Dominick Baier
11/28/2007 7:20:00 AM
you prolly have to add this to your code:
[assembly: AllowPartiallyTrustedCallers]
-----
Dominick Baier (
http://www.leastpri...
)
Developing More Secure Microsoft ASP.NET 2.0 Applications (
http://www.microsoft.com/mspress/book...
)
> 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
>
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
Re: System.Security.SecurityException: That assembly does not allow partially trusted callers.
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password