<script src="http://localhost:8088/jasperserver-pro/client/visualize.js"></script>
<script>
visualize({
auth: {
name: "jasperadmin",
password: "jasperadmin"
}
}, function (v) {
var report = v.report({
resource: "/public/Samples/Reports/AllAccounts",
container: "#container",
error: function (err) {
alert(err.message);
}
});
}
);
</script>
I used above code to display a report in a web page, but when I ran this page, I got the following error message, is there anyone can help?
Unhandled exception at line 51, column 1048 in http://localhost:8088/jasperserver-pro/client/visualize.js
0x800a139e - JavaScript runtime error: Load timeout for modules: bundle!js-sdk/DashboardBundle,bundle!DashboardBundle,bundle!js-sdk/CommonBundle,bundle!CommonBundle,bundle!CommonBundle_unnormalized3,bundle!all,bundle!jasperserver_messages,bundle!InputControlsValidation,bundle!js-sdk/ScalableInputControlsBundle,bundle!js-sdk/RepositoryResourceBundle