Procedure or function 'expects parameter '@ResId', which was not supplied.

5 posts, 0 answers
  1. Хосбаяр
    Хосбаяр avatar
    8 posts
    Member since:
    Jun 2013

    Posted 11 Dec 2014 Link to this post

    I trying show report in asp.net mvc.

    Telerik Report v8.0.14.225

    Procedur , javascript , report desing screenshot attached
  2. Хосбаяр
    Хосбаяр avatar
    8 posts
    Member since:
    Jun 2013

    Posted 11 Dec 2014 Link to this post

    Forget javascript code screenshot
  3. KS
    KS avatar
    165 posts
    Member since:
    Oct 2012

    Posted 13 Dec 2014 in reply to Хосбаяр Link to this post

    Hi,

    Is @ResId linked to Parameters.ResId.Value on reconfiguring the SqlDatasource? And what is the content of the request to the service?

    -KS
  4. Хосбаяр
    Хосбаяр avatar
    8 posts
    Member since:
    Jun 2013

    Posted 14 Dec 2014 Link to this post

    Hi.
    Yes i liked report parameters to sqldatasource. When see in Sql server profiler executing just procedur without paramters. screenshot attachet.  
  5. Hinata
    Hinata avatar
    146 posts
    Member since:
    Dec 2013

    Posted 17 Dec 2014 in reply to Хосбаяр Link to this post

    Hi,

    Check if @ViewData["ResId"] contains the correct value and it is of the correct data type e.g., you are not passing a string.
    Check for any error messages in the console.
    Try to run the report in a different viewer or inside the VS designer -> Preview and supply the required parameters. If it works there, then the issue is connected to the HTML5 viewer.
Back to Top