The code works for me on my localhost. I am wondering if your password and username are not correct. Also, if you has a few organizations on JRS, he needs to add the organization id. <span style="font-size:12px;"><!DOCTYPE html><html><head><script src="http://localhost:8080/jasperserver-pro/client/visualize.js?logLevel=debug"></script><title>My Report</title></head><body><script>visualize({auth: {name: "jasperadmin", password: "jasperadmin", organization: "organization_1"}}, function (v) {var report = v.report({resource: "/public/Samples/Reports/9.CustomerDetailReport",container: "#container"});});</script><div id="container"></div></body></html></span>