My host only allows medium trusted web applications.
I am getting this error:
Exception Details: System.Security.SecurityException: That assembly does not allow partially trusted callers.
I have the code, what should I change? I read I can add a attribute in each file: [assembly:AllowPartiallyTrustedCallers] but my solution has tons of files, is there a faster way to do this? (a single global change?)
I wish I could narrow down which method or include namespace that is causing the issue. I don't even know if this assembly is signed or not.