I installed contents of components folder to my web server. I did several XML reports with all “in one demo” saving the csv to xml reports. When I try to open a xml report located in my server, I have a message “Unable to open file …….401398571.”


this is the web page code, the site is our intranet. I checked all directories exist and files.
<!DOCTYPE html>
<title>Flexmonster Pivot Component Flash/JavaScript API – All-In-One Demo</title>
<link href=”../assets/css/style.css” rel=”stylesheet” type=”text/css” />
<div id=”header”>
<a id=”logo” href=”http://www.flexmonster.com/&#8221; target=”_blank”></a>
<!– 1. Create a DIV container to insert the component –>
<div id=”pivotContainer”></div>
<!– 2. Include flexmonster.js file –>
<script type=”text/javascript” src=”flexmonster/flexmonster.js”></script>
<!– 3. Embed the component using flexmonster.embedPivotComponent() –>
<script type=”text/javascript”>
flexmonster.embedPivotComponent(“flexmonster/”, “pivotContainer”, “100%”, “615”, {
configUrl: “http://www.upt.com/agro/reports/HXR.XML&#8221;
}, “flash”, true);
<div class=”links-area”>
<a href=”./” id=”openFolder” target=”_blank”><span>Open source folder</span></a>
<a href=”http://www.flexmonster.com/docs/#page=js_api.html&#8221; id=”docs” target=”_blank”><span>See documentation</span></a>

1 answer

Roman Petrusha Staff October 17, 2015

Hi Matias,

Could you please check if http://www.upt.com/agro/reports/HXR.XML&#8221; exists? I’ve tried to load this file but got an error. One more thing that you have to check is cross-origin resource sharing (CORS). Please read more here http://enable-cors.org/

Please login or Register to Submit Answer