RDL file - Reporting services rendering HTML code in view mode

for some reason RDL file RDL file - Reporting services rendering HTML in view mode in Visual Studio

any clues as to why

The only thing I can think of is that it uses Dundas Charts and I don't have one installed. Do I need this ??

+2


a source to share


4 answers


VS2008 will try to display an error message as HTML if the RDL has an error (such as an unrecognized tag), however the HTML is not rendered as expected, resulting in plain HTML being rendered in Design View.



If you are using custom components that are not installed, there may be a bug in the RDL.

+2


a source


I solved this problem by copying the html to the txt document, renaming it, and then manually editing the lines specified in the html in the rdl file. rdl file contains XML in a readable format, easy to edit. In my case, the error was caused by a boolean parameter with invalid "Available Values"



+1


a source


I had the same problem when I tried to open the RDL in BIDS-2005 (Visual Studio). But RDL was originally built in BIDS - 2008.

When I tried to open RDL in BIDS -2008 it worked fine.

Ervind

+1


a source


I know this is an old topic, but I had a similar problem and was able to solve it. I am using 2008 and out of nowhere the RDL that previously opened fine now opens with an HTML error. I haven't seen anything about this elsewhere, although I'm sure there will be something. But this is a somewhat unique combination of events.

I have a Boolean parameter with available values ​​set to "On" and "Off" for "True" and "False". What happened, even though I had set this earlier, I opened the properties of the parameter, changed nothing, and then clicked Cancel, which under normal circumstances you thought nothing changed. But for some reason the XML changes from:

<ValidValues>
    <ParameterValues>
      <ParameterValue>
        <Value>True</Value>
        <Label>On</Label>
      </ParameterValue>
      <ParameterValue>
        <Value>False</Value>
        <Label>Off</Label>
      </ParameterValue>
    </ParameterValues>
  </ValidValues>

      

at

<ValidValues>
    <ParameterValues>
      <ParameterValue>
        <Value DataType="Boolean">True</Value>
        <Label>On</Label>
      </ParameterValue>
      <ParameterValue>
        <Value DataType="Boolean">False</Value>
        <Label>Off</Label>
      </ParameterValue>
    </ParameterValues>
  </ValidValues>

      

This change happened without my knowledge, I saved and closed the file. After reopening the file, the viewer appears to break to DataType = "Boolean" resulting in an HTML error. Hope this helps someone. Why "Cancel" will ever change anything, though, is beyond me.

0


a source







All Articles