This is a migrated thread and some comments may be shown as answers.

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

4 Answers 622 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Хосбаяр
Top achievements
Rank 1
Хосбаяр asked on 12 Dec 2014, 05:10 AM
I trying show report in asp.net mvc.

Telerik Report v8.0.14.225

Procedur , javascript , report desing screenshot attached

4 Answers, 1 is accepted

Sort by
0
Хосбаяр
Top achievements
Rank 1
answered on 12 Dec 2014, 05:16 AM
Forget javascript code screenshot
0
KS
Top achievements
Rank 1
answered on 13 Dec 2014, 09:46 AM
Hi,

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

-KS
0
Хосбаяр
Top achievements
Rank 1
answered on 14 Dec 2014, 06:48 AM
Hi.
Yes i liked report parameters to sqldatasource. When see in Sql server profiler executing just procedur without paramters. screenshot attachet.  
0
Hinata
Top achievements
Rank 1
answered on 17 Dec 2014, 03:45 PM
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.
Tags
General Discussions
Asked by
Хосбаяр
Top achievements
Rank 1
Answers by
Хосбаяр
Top achievements
Rank 1
KS
Top achievements
Rank 1
Hinata
Top achievements
Rank 1
Share this question
or