Report viewer does not load, showing blank space - running local RDLC files

前端 未结 10 1806
南笙
南笙 2021-02-08 04:56

I got a problem with reporting services, running local rdlc files on the 2005 version.

I have in the HTML a report viewer set to run locally as follows :



        
10条回答
  •  终归单人心
    2021-02-08 05:24

    In my case, ReportViewer control does not provide error messages (EventViewer nor ReportViewer control body), just blank page. I think this make hard find and fix the issue. Yoel Halb's answer was my key!

    A property called IsReadyForRendering was False. In the BOL refers to parameters topic.

    I could inspect every value of the whole parameters with the code (you can execute it from immediate window)

       var parameters = ReportViewer1.LocalReport.GetParameters()
    

    You will find the problematic parameter when you look the property State with the value "MissingValidValue"

    Hope this helps !

提交回复
热议问题