I am working with Intuit.Ipp to access QuickBooks Desktop data. I have been working fine locally, however, after deploying my code to our server I started receiving a TypeLoadException when trying to instantiate the OAuthRequestValidator. I believe this might be related to the fact that our server is configured to use MediumTrust which is not allowing the Serialization to happen. Is OAuthRequestValidator known to not support MediumTrust? Is there anything I can do to get it to work?
Here is the exception:
System.TypeLoadException: Inheritance security rules violated while overriding member:
'Intuit.Ipp.Exception.IdsException.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)'.
Security accessibility of the overriding method must match the security accessibility of the method being overriden.
at Intuit.Ipp.Security.OAuthRequestValidator..ctor(String accessToken, String accessTokenSecret, String consumerKey, String consumerSecret)