OAF page Export to Excel opens excel with an error message "Unknown Cause"
On clicking "Export to Excel" option in an OAF page, the file is downloading but upon opening an error message is showing with an "Unknown Cause" (Excel_error.png) . The issue is not observed in the Development environments but in all other higher test instances and Production.
The log file shows the below error (log_file.txt):
XML PARSE ERROR: Missing end-tag
Error occurs at or below this element stack:
<html>
<head>
<meta>
<meta>
<link>
On opening the .xls file in notepad, it shows an additional html tag being generated that has the message "JavaScript enabled browser required" (html_tag.txt). We have JavaScript enabled for all the browsers but the issue still continues to exist.