I am working on a Classic ASP page with VB6 code. We are in a process of converting the crystal report and iis server for migration. We are not able to generate the report. When i debugged till the point i call the "Database.SetDataSource CDOSet, 3,1" it works fine. When i comment that single line i'm able to get the report without any data. We are also using the .ttx file for database connection(Field Definitions Only). Kindly suggest me were could have been the mistake. What all things i need to check for the migrating?
*crystal report 9 to Crystal report 2008, iis 5 to iis 6
First thing I'd suggest you look at is the Schema for the dataset and make sure it matches exactly with what the report is expecting.
Is it possible that while migrating some of the datatypes have changed and thats whats causing your problem now? if so it might be a simple fix to change the datatype in the report to match the new dataset
I don't have any experience with your setup, but my first guess would be a permissions issue. I would try looking at the event viewer on the server for more information, then the IIS logs.
Related
I have a simple report in Crystal to develop. The business sends me the SQL, I copy and paste, and create 1 prompt. Easy. It's actually a duplicate of an existing report, but the join criteria is modified a bit to look at a different set of purchase orders.
So when I run my new report locally where I developed it, in SAP Crystal Reports developer, it runs perfectly and looks the way it needs to: 9 columns w/headers, all displaying data for each row.
When I run that same report in SAP Business Objects on the web (which is where the business runs it), 3 of the the 9 columns have the header but no data.
I originally thought it was because I simply took the existing report, updated the SQL, and did a "save as"... I thought something may have gotten wonky in the metadata (it's happened before). So I built it from scratch and still the same problem. I've also tried just pulling on only those fields. Shows up in developer, but not on the web.
Here's what it looks like in developer for me locally: https://i.stack.imgur.com/CKSI2.png
And here's what it looks like on the web:
https://i.stack.imgur.com/COzZS.png
Anyone have any idea what the issue could be?
I had downloaded the Microsoft SQL Report Builder and installed in my system. I designed the simple report with the help of Report Builder which contains one text box and saved it in D drive. Then I created the asp.net application and added the aspx page with Report Viewer. I had assigned the report to report viewer when I try to execute report is not loaded. I got the following error.
The report definition is not valid. Details: The report definition has an invalid target namespace 'http://schemas.microsoft.com/sqlserver/reporting/2016/01/reportdefinition' which cannot be upgraded.. I hope I make it clear. Please do mail me if any one have Idea about this. MailId:sujibiit#gmail.com
i think its is possible.
There are a lot of websites that help out with this problem. You can refer SSRS 2016. here are some of the links i found useful.:
https://www.codeproject.com/Questions/993309/The-report-definition-is-not-valid
The report definition is not valid
hope this helps.
I have encountered same problem 'Document Has No Pages' issue as described in Jasper Reports And IReport Issue. I applied the solution provided in the given link and it started working. I am stuck behind the concept. My main point of concern is, when we are using detail band and we don't give a data query it gives Document has No Pages error. As soon as we give a dummy query in data query, it starts working. Kindly note that, i am using a subDataSet for a table component. That's where IReport generates this issue. Any pointers would be helpful.
Keep in mind that This is not an error but this is how it is configured to do.
This happens when you don't have results to display in the report from the database. But still you can set option what to do in this situation.
In Jaspersoft iReport 5.6.0
1. right click the report
2. Go to properties
3. Find **When No Data**
4. Select one from the options
There you'll see some options as No Section, No Detail, Blank Page, No Data Section, No pages.
Choose the one suits you. -_(--)-_
I have created my Crystal Reports using SQL query in Crystal Reports itself, by passing two parameters, i.e, say for eg:- Month & Year.
While I preview the report, I can able to navigate through all pages by passing different parameters and its working fine, but while viewing the report through browser I can't able to view the current report instead is loads the previously generated report, but while I manually make refresh the crystal page in toolbar I can see the current report, even I can't navigate the current report.
Can anyone help me on this?
Try checking the 'Discard Saved Data When Loading Reports' option.
Should be able to find it here:
Right Click/Design/Default Settings/Reporting/Discard Saved Data When Loading Reports
Not sure if that will fix your problem or not but definitely worth a try.
go to file> save data with report.......
I think it will help you
I know its too late for the reply, but I was facing the same problem may be somebody else will go through the same. I applied many hints from different sites including stack-overflow but finally I solved my problem with this code snip..
crystalReportViewer1.Refresh();
crystalReportViewer1.RefreshReport();
Thanks!
I'm currently using CR 2008 for design and running my reports in InfoView. I have a fairly standard report with about 6 groupings and 2 details sections. The groupings are all hierarchichal and can be drilled into. The report contains 5 parameters that the user has access to edit in Infoview.
My problem occurs only when users change any parameter on the report and then attempt to drill down in the report. The result always ends up that the drill down will display the very first Group, with drill down, in the report rather than the one they selected to drill into. If a user enters the report and drills into any group without changing the parameters, everything works as expected.
Has anyone ever seen this kind of behavior or know of a reason that this might be happening? Please help.
Thank You,
Patrick Johnson
This is a bit of a reach, but when you change the parameters, are you refreshing the data (ie. don't use the saved data that was pulled originally). I believe something may be going wrong because of that.
Always, always, always choose to refresh your data.