Products | Versions |
---|---|
Spotfire Web Player | 7.0 and lower |
Server Error 500 - Internal server error. There is a problem with the resource you are looking for, and it cannot be displayed.
Special characters used in the web.config settings cause the XML to be invalid. All special characters used in the web.config settings must be escaped.
(C:\Program Files\Tibco\Spotfire Web Player\7.0\webroot\Web.config)
For example, the following file path mentioned in web.config is invalid and will cause the 500 Internal Server error. (Here, even though the path is a valid accessible path, it is an invalid XML syntax):
<ArrayOfString> <string>\\myWebPlayer\Temp\Apples & Oranges</string> </ArrayOfString>
In order to make the XML valid, the "&" must be escaped with "&" as shown below.
<ArrayOfString> <string>\\myWebPlayerServer\Temp\Apples & Oranges</string> </ArrayOfString>
For your reference, there are 5 pre-defined entity references in XML which must be escaped when used inside an XML element which are listed below.
Character | Entity reference |
< | < |
> | > |
& | & |
' | ' |
" | " |