RDL file - Reporting services rendering HTML code in view mode
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.
a source to share
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"
a source to share
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.
a source to share