I'm trying to fix the following problem with my asp.net page. Basically, the application server is configured to .net trust level = medium and I can't change this configuration second the policy of the company.
Because of this, I can't connect with dynamics crm with the tooling connector for example. Is there other option of connection to solve this problem?
CONNECTION CODE
private static IOrganizationService GetCrmConnection()
{
var connectionString = ConfigurationManager.ConnectionStrings["CRMOnlineConn"].ConnectionString;
// Connect to the CRM web service using a connection string.
var conn = new CrmServiceClient(connectionString);
// Cast the proxy client to the IOrganizationService interface.
var orgService = conn.OrganizationWebProxyClient ?? (IOrganizationService)conn.OrganizationServiceProxy;
return orgService;
}
*This post is locked for comments