none
SSRS Report in mvc application

    Question

  • hi 

    I have an SSRS report which is using cascading parameters and am calling the report inside an mvc application 

    the report is displaying in the web page for the first time, when i try to change the first parameter, the second parameter is not getting updated/ refreshed and am getting the below error message when i click view report 

    Uncaught Sys.WebForms.PageRequestManagerParserErrorException: Sys.WebForms.PageRequestManagerParserErrorException: The message received from the server could not be parsed. ScriptResource.axd:237
    Error$create ScriptResource.axd:237
    Sys$WebForms$PageRequestManager$_createPageRequestManagerParserError ScriptResource.axd:665
    Sys$WebForms$PageRequestManager$_parseDelta ScriptResource.axd:1435
    Sys$WebForms$PageRequestManager$_onFormSubmitCompleted ScriptResource.axd:1314
    (anonymous function) ScriptResource.axd:47
    (anonymous function) ScriptResource.axd:3484
    Sys$Net$WebRequest$completed ScriptResource.axd:6373
    Sys$Net$XMLHttpExecutor._onReadyStateChange

    here is the code am using in .ascx 

    <form runat="server">

        <asp:ScriptManager runat="server">
        </asp:ScriptManager>
        <rsweb:ReportViewer runat="server" Visible="true" Width="100%" Height="100%"
            ProcessingMode="Remote" 
            AsyncRendering="False" 
            SizeToReportContent="true"
            InteractivityPostBackMode="AlwaysAsynchronous" 
            enablepartialrendering ="false">
            <ServerReport ReportPath ="/CascadingParameter/cascadingparameters"
                reportserverUrl ="...." />
                </rsweb:ReportViewer>

    </form>

    please let me know what would be the solution for this, am new to MVC 

    Monday, July 08, 2013 9:01 PM