manshack_one Posted September 4, 2009 Share Posted September 4, 2009 I created a very simple report in iReport. Here's the query:SELECT call_detail.`Unit` AS call_detail_Unit, call_detail.`DialedNumber` AS call_detail_DialedNumber, call_detail.`Rate` AS call_detail_Rate, call_detail.`Minutes` AS call_detail_Minutes, call_detail.`Last` AS call_detail_Last, call_detail.`First` AS call_detail_First, call_detail.`Revenue` AS call_detail_Revenue, call_detail.`Commission` AS call_detail_CommissionFROM `call_detail` call_detailWHERE call_detail.`call2` LIKE "Complete"It compiles and runs fine in iReport. However, when I publish it to jasperserver and try to run it I get this error:com.jaspersoft.jasperserver.api.JSExceptionWrapper: net.sf.jasperreports.engine.JRException: Unknown column name : call_detail_UnitBoth iReport and jasperserver are pointing to the same datasource. I have a feeling it's something to do with the alias it's using. However I've tried changing the query to leave out the alias's and the dot notation on the columns and get the same error. I've also tried creating the report and instead of pushing it to the server, going into jasperserver and pulling it in using the new report wizard. Same result either way. How do I get them to talk to the database the same way? Link to comment Share on other sites More sharing options...
manshack_one Posted September 7, 2009 Author Share Posted September 7, 2009 no ideas? Seems like it would be a common problem. Link to comment Share on other sites More sharing options...
elvermg Posted July 20, 2011 Share Posted July 20, 2011 I have the same error, please help!!!Thanks in advance... 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