locked
Error while browsing RSViewer.aspx in SSRS RRS feed

  • Question

  • Hi,

    I am getting the below error while browsing the RsViewer.aspx (Or rdl file). I have moved the rdl file from one environment (where I could browse the rdl file) to another environment. In the new environment, I am getting the  below error while browing the rdl file. Both environments are having the same configuration (SQL server 2008 R2 SP3).


    "Type 'System.Web.UI.WebControls.PlaceHolder' does not have a public property named 'style'  "

    Thanks in advance,

    Krishna

    Wednesday, February 4, 2015 3:48 PM

Answers

  • Hi krish456,

    According to your description, after you move SSRS report from one server to another, you got the error message when you preview the repot: Type 'System.Web.UI.WebControls.PlaceHolder' does not have a public property named 'style'.

    As per my understanding, you are using object of System.Web.UI.WebControls.PlaceHolder while a different type was expected, this different type has style properties, which were needed for the report to run properly. It seems that you should be using System.Web.UI.WebControls.Style.

    Reference:
    PlaceHolder Class
    Style Class

    If you have any more questions, please feel free to ask.

    Thanks,
    Wendy Fu


    Wendy Fu
    TechNet Community Support


    • Proposed as answer by Wendy Fu Thursday, February 12, 2015 11:51 AM
    • Marked as answer by Wendy Fu Friday, February 13, 2015 11:02 AM
    Monday, February 9, 2015 1:24 PM