I use VS2005, Crystal Report for VS2005 and Microsoft SQL Server 2005. I got a report, crystal report linked to a XSD, that displays perfectly when I call it from my application.
I added an 'image' field in my source table to add a an image to the table record (image in jpeg format). I store my image in the databse using VB.Net, the image is converted to an array of bytes. I added the field to my XSD file also, type : System.Byte().
Then I added the field to my report, now I get the message 'The Report Server failed'. I get this message on opening the report, the pop-up is displayed but never the report.
I read that when using Crystal Report & Stored Procs, it's best not to use BMP files, I tried JPG and PNG, didn't work either.
Any help? Please.
Thanks
If I right-click 'Insert Column' in my XSD it doesn't work, if I drag and drop the stored proc from Visual Studio's "Server Explorer" it works, go figure it out, but it works.
Related
I have SAP Crystal Reports 2011 and use it to edit reports we use with JobBOSS ERP system. These reports were all put in place before I started here and am just now learning Crystal Reports. I am trying to edit the reports but am having issues.
So when I open the report in Crystal Reports the Field Explorer is showing that the file being used to pull fields into the reports is a TTX file. I know nothing about TTX files and assumed I could just find the data in my tables and import it in but apparently that wont mix well from what I am understanding. I have no clue what to do with the TTX and being able to populate the fields on the page with data from another table.
Where do I start with this? All of my forms use the TTX to pull data. Does anyone have any resources that can help me with this?
To change this report, you must use the report version in the JobBoss production report folder (.rpt). Save the .rpt to a work area. Make changes and then place back in the folder retrieved from. You can add tables to this kind of report but cannot change the .ttx table. The report must be run from within Jobboss. Save the original .rpt to a save folder first. Call with questions.
I have a web application that uses Crystal Reports 12 to view reports. Reports view successfully, but when I try to export the report to any format (PDF, Excel, etc.), the export button does nothing.
When I copy the report url and enter it in the browser I get a JavaScript error object expected in allinone.js.
Although you did not provide any code, Crystal reports has gotten issues in exporting reports. So I personally recommend getting the latest version.
My report is written in Crystal Reports for VS 2010 using c#.net. Its using the CR web viewer.
It displays everything correctly in VS and whilst testing it on IIS7 (locally) using the web viewer.
When I print or export the report (from the web viewer) all the 'fixed' fields (labels, text fields, images etc.) are printed but all the 'data' fields are not printed, just blank.
Have I missed a setting somewhere that allows the data in the report to persist?
Sounds like you might need to select Save Data with Report, which is on the File menu in Report Designer.
Looks like the reportdocument wasn't being saved to the session and restored correctly on a postback event. Modified a few bits and pieces and now its working like a charm.
I've a crystal report that I'm trying to get a dynamic image displayed. This is the CRBasic 2008 version that comes with VS 2008, so i can't use the method where we link out to the file, it has to come from the data source.
I'm pushing a strongly typed dataset to the report, which contains a byte[] field. This dataset is being populated correctly and the BLOB data in the DB is actually an image (verified it by getting it to display in a picture box in a windows form).
I've a BLOBField dragged onto my crystal design surface, but when I view the report, nothing gets displayed. Anybody have any idea why this might be happening?
Seems to have been a mismatch between the built dataset and what crystal was expecting. Surprised there was no error, but there you go..
I was talking to somebody a recently who mentioned it was possible to store reports created using Crystal Reports as XML files.
Upon Googling this, I can't find anything suggesting that this is the case (using data stored in XML in a report, yes, but actually storing the report, the part stored by default as a .rpt file, no.
Am I correct in assuming that there was in fact some sort of misunderstanding between us and it in fact not possible to do this?
It is not possible to store the report template in XMLformat. XML is supported as export format of the "rendered" report only.
For what purpose do you need the report template in XML format. There is a Java reporting solution called Crystal-Clear which can read the Crytsal Reports report template and save it as XML report template. The other way round this does not work. After you created a XML file you cannot open the report with Crystal Reports again. But you can work with the report using Crystal-Clear which is coming with a GUI-designer too.
Use the Crystal Reports SDK to convert the RPT file format to XML.
There's a GitHub project that will convert RPT to XML. The intent of the tool is to use for diffs, so I don't know if there is a XML to RPT converter. Crystal Reports certainly can not take the XML file and open it like a .RPT file.
At least in version 8.5 XML-file is one of the supported export destinations just like PDF, Excel or Word. Seems unlikely they'd have removed the support in later versions.
I just tested in Crystal Reports 10.
Open up the report you want to export, click on export in the file menu, and at least in CR 10, XML is at the very bottom.
Next a screen appears, asking for directory and base file name to save to. According to the Window it uses "Crystal Markup Language" XML Format