none
Difference in SharePoint Reporting Service web part contents

    Question

  • I'm working on an issue which involves reports which have been published in SharePoint 2010.

    What I have noticed is that the data from the AJAX call to render the report is different between my preproduction site and production.

    If I check the contents of the rendered HTML using Fiddler for the following request,  /_layouts/ReportServer/RSViewerPage.aspx?rv%3aRelativeReportUrl=myreport.rdl, I get two different behaviors from each environment.

    The one which is working appears to have generic calls, javascript/object references and the one failing has absolute references in the return response.

    Example - Working:

    span style="display:none"><menu type='ServerMenu' id="m_sqlRsWebPart_RSWebPartToolbar_ctl00_RptControls_RSActionMenu_ctl00">
    <ie:menuitem 
    id="m_sqlRsWebPart_RSWebPartToolbar_ctl00_RptControls_RSActionMenu_Export" 
    type="submenu" 
    text="Export">
    <ie:menuitem 
    id="m_sqlRsWebPart_RSWebPartToolbar_ctl00_RptControls_RSActionMenu_Export_Label" 
    type="label" 
    menuGroupId="2147483647">
    </ie:menuitem>
    <ie:menuitem 
    id="m_sqlRsWebPart_RSWebPartToolbar_ctl00_RptControls_RSActionMenu_XML" 
    type="option" 
    onMenuClick="$find(&quot;m_sqlRsWebPart_ctl00_ReportViewer&quot;).exportReport(&quot;XML&quot;);" 
    text="XML file with report data" 
    menuGroupId="2147483647">
    </ie:menuitem>

    Example - Failing:

    <span style="display:none"><menu type='ServerMenu' id="m_sqlRsWebPart_RSWebPartToolbar_ctl00_RptControls_RSActionMenu_ctl00">
    <ie:menuitem 
    id="m_sqlRsWebPart_RSWebPartToolbar_ctl00_RptControls_RSActionMenu_ReportBuilder_forRendering" 
    type="option" 
    onMenuClick="STSNavigate2(event,'https://mysite.domain.ltd/_layouts/ReportServer/RSAction.aspx?RSAction=ReportBuilderViewer&amp;ReportPath=http%3a%2f%2fmysite.domain.ltd%2fReports%2fReport.rdl');"
    text="Open with Report Builder" 
    menuGroupId="2147483647">
    </ie:menuitem>

    <ie:menuitem 
    id="m_sqlRsWebPart_RSWebPartToolbar_ctl00_RptControls_RSActionMenu_Subscribe_forRendering" 
    type="option" 
    onMenuClick="STSNavigate2(event,'https://mysite.domain.ltd/_layouts/ReportServer/SPSubscriptionProperties.aspx?list={2c3dea42-d2ef-41c5-83b4-be5ec2106854}&amp;ID=12&amp;RedirectUrl=http%3a%2f%2fmysite.domain.ltd%2fReports%2fReport.rdl');" 
    text="Subscribe" 
    menuGroupId="2147483647">
    </ie:menuitem>

    I have been reading up in Technet and MSDN / MS Social and cannot find any information related to why I have different behavior.

    Can anyone point me in the right direction.

    Friday, January 16, 2015 9:58 PM

Answers