CRM 2011 Custom report problem with CRMAF_ prefix RRS feed

  • Question

  • Hi All!

    I have a problem with custom report containing CRMAF_ prefix.

    My code is just like from SDK

    SELECT accountid, name
    FROM FilteredAccount AS CRMAF_FilteredAccount;

    When I run it in CRM 2011, I get the following JavaScript error:

    "Webpage error details
    Message: Access is denied.
    Line: 14
    Char: 3483
    Code: 0
    URI: https://crmserver/_static/crmreports/viewer/filtereditor.htc?ver=1924846962

    Message: Object doesn't support this property or method
    Line: 392
    Char: 1
    Code: 0
    URI: https://crmserver/crmorganization/crmreports/viewer/viewer.aspx?action=filter&helpID=Report4.rdl&id=%7b4EB51CC5-5884-E311-AD49-005056A700ED%7d"

    When I trace the error, I see that it breaks at the following line:


    I am administrator of CRM.

    When I user the normal code:

    SELECT accountid, name
    FROM FilteredAccount

    Then it works perfectly for me.

    Please help understand what the problem is.

    Thursday, January 23, 2014 6:12 PM

All replies

  • Try to remove ";" behind your CRMAF_FilteredAccount.
    Friday, January 24, 2014 2:45 AM
  • Thank you Mr_nougat! But actually it didn't help something should be in CRM settings I suppose.
    Friday, January 24, 2014 6:14 PM