locked
Silverlight Rest Endpoint security error on some users RRS feed

  • Question

  • Hello Everyone,

    Let me give my CRM setup details:

    Its on-premise with domain controller, sql 2008 r2, and CRM 2011 on same server. Also, CRM for outlook is installed for each user.

    I have created 2 Silverlight xap files with respective html pages and added them to webresources.

    So, here is the problem, the Silverlight apps are working for only 2 users (user1,user2) and only when they log in to server through RDP and then open CRM and it doesn't work if they try to use it in their laptops with the url of crm. For other users (user3 and others), its not working either way.

    Errors that are given:

    "securityexception" when used without RDP, for any user.

    "arg_securityexception" when used with user3 on server with RDP.

    Steps I already tried and failed:

    1.) I created LocalAccesspolicy.xml and put it in the "C:\Program Files\Microsoft Dynamics CRM\CRMWeb" directory with the following contents:

    <?xml version="1.0" encoding="utf-8"?>
    <access-policy>
      <cross-domain-access>
        <policy>
          <allow-from http-request-headers="*">
            <domain uri="*"/>
          </allow-from>
          <grant-to>
            <resource path="/" include-subpaths="true"/>
          </grant-to>
        </policy>
      </cross-domain-access>
    </access-policy>

    2.) Granted same rights as user1 to user3. The rights include CRM security roles, and ''active directory" rights.

    3.) On server with user3 logged in, I changed the internet security settings to include the ip of server and name of server in "trusted site" zone.

    I am trying for many days for this to work, but I have no idea what so ever on how to remove this error. Plz help guys.

    Regards,



    • Edited by Kapil Tak Friday, September 27, 2013 8:28 AM
    Thursday, September 26, 2013 12:12 PM

All replies