ainsleyzamora99 Posted March 25, 2023 Share Posted March 25, 2023 I have embedded the file and want to run it in single page html, but an authentication error appears. I have entered the correct name and password.the code :<script src="http://localhost:8084/jasperserver-pro/client/visualize.js"></script><div id="container"></div><script>visualize({auth: {name: "jasperadmin",password: "jasperadmin",organization:"organization_1",}},function (v) {v("#container").report({resource: "/public/Dcc_final",error: function(e) {alert(e);}});});</script> Link to comment Share on other sites More sharing options...
anish.rai Posted March 28, 2023 Share Posted March 28, 2023 Thank you for posting to the Jaspersoft Community. Our team of experts has read your question and we are working to get you an answer as quickly as we can. If you have a Jaspersoft Professional Subscription plan, please visit https://support.tibco.com/s/ for direct access to our technical support teams offering guaranteed response times. Link to comment Share on other sites More sharing options...
Tirupathi Mangalarapu Posted March 29, 2023 Share Posted March 29, 2023 Looks like you are running into a CORS issue. Please review following KBAs for self help on you can fix the issue:https://community.jaspersoft.com/wiki/troubleshooting-cors-issues-visualizejshttps://community.jaspersoft.com/wiki/cors-visualizejs Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now