Jump to content
We've recently updated our Privacy Statement, available here ×

How to use MS SQL stored proc as data source in JasperReports Server


Recommended Posts

I have a very simple MS SQL stored proc (no input parameters).  See below...

CREATE PROCEDURE dbo.Test
AS
BEGIN

  SET NO COUNT ON

  SELECT * FROM person

END

 

When I use this stored proc as my data source in JasperReports Studio building my report, everything works perfectly.  But when I upload it into JasperReports Server and setup the relevant data sources there, I keep getting an error when the report tries to run.

Any help/guidance is appreciated.  P.S. I'm using the Community Edition of JasperReports Server 6.4.0.

Thank you.

 

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

you will need to add some more info here, please. 

What is the error you are getting. 
I would suggest finding the error in the log file and then posting the whole stack trace error, so one can maybe identify where the error is occuring.
There could be a lot of reasons why this is not working as expected. 
 

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...