Introducing the all-new TIBCO Community site!

For current users, please click "Sign In" to reset your password and access the enhanced features. If you're a first-time visitor, we extend a warm welcome—click "Sign Up" to become a part of the TIBCO Community!

If you're seeking alternative community sites, explore ibi, Jaspersoft, and Spotfire.

Jump to content

Authentication Error visualize at single page html


ainsley zamora

Recommended Posts

I've installed Jaspersoft Studio and Jaspersoft SERVER. I've created sucessfully a report using MongoDB DATABASE and I can preview it on studio and run it on server. But, when I try to call on a webpage, always I've this error.

[Report] [visualize.js:1] [ERROR] - authentication.error : Authentication error

I'm passing all apropriate parameters in the script:

<script src="http://localhost:8084/jasperserver-pro/client/visualize.js"></script>

<div id="container"></div>

<script>

visualize(

{auth: {

name: "jasperadmin",

password: "jasperadmin"

}},

function (v) {

v("#container").report({

resource: "/public/Dcc_final",

error: function(e) {

alert(e);

}

});

});

</script>

Thanks a lot!

  •  
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...