R – ASP.NET Using Twitterizer in Medium Trust

asp.netmedium-trusttwitterizer

Does anyone using the Twitterizer framework have any experience running it in a Medium Trust environment? I keep getting security exceptions…

Security Exception
Description: The
application attempted to perform an
operation not allowed by the security
policy. To grant this application the
required permission please contact
your system administrator or change
the application's trust level in the
configuration file.

Exception Details:
System.Security.SecurityException:
That assembly does not allow partially
trusted callers.

Best Answer

I was using this with GoDaddy and had to find an alternative hosting company, discount asp.net...

I'm pretty sure the issue with Twitterizer is that you need to be able to have reflection work in order for the assembly to identify what operations are possible. Medium trust does not allow reflection to work.

Related Topic