I am getting the following error when running reports,
"That assembly does not allow partially trusted callers"
Answer:
This is because you are using a direct reference to BusinessConnector and more security is required for that. You should never use any classes which require direct access to Business Connector.
tell me resoulution of this
ReplyDeleteSecurity 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.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[SecurityException: That assembly does not allow partially trusted callers.]
Microsoft.Dynamics.IntegrationFramework.Service.EntityKeyList.Schema(XmlSchemaSet xs) +0