Crystal Reports errorhandling
Hi there,
I have some problems with errorhandling of the Crystal Reports component.
Some exceptions are printed with stacktrace, some exceptions are shown in the viewer without stacktrace and some exeptions are handled by log4J.
For example, when a database error occures in the build up of the report the viewer shows a NullpointerException without stacktrace. When I execute the query myself directly on the databse I get an exception from the database about rights to a database object I try to access.
Can I catch these exception myself in javacode to show the exception to the user my own way? And how can I get more information about a exception shown in the viewer without stacktrace?
Hi there,
I'm using CRXI and java sdk.
I need a way to trap exceptions and manage them from my application.
I'm not using a web app, so I have no "context" for setting this parameter and there is nothing similar inside CRConfig.xml.
I can see the exceptions inside log4j output that comes from CR classes, but the sdk exception show only shot informations, not the original cause.
Example: "cannot open report" it's fine, but the cause was "missing column XXX in table YYY" would be much more meaningful to my users,
Is there any way to get the original exception using java sdk?
Your faithfully G.H.Jack!
Similar Messages
-
ASP Crystal Report 2008 (12) Oracle 9 and Visual Basic!
Hi All,
I'm mainting an old application and I need to simulate the same client environment in my machine.
I have a VB application (with COM+ server components) that's creates a report object with parameters. But the only thing that this application does it's call an ASP page that contains all the logic to call a .rpt file, connect to Oracle 9i and then show the crystal report inside a MS webbrowser component (activeX) in the VB form.
I already setup the IIS, and the site there, I put all the .rpt files in the site and if you try to access without calling from VB you can run the asp pages, but the reports still doesn't appears.
These ASP pages should connect to Oracle and then show the rpt file, but I'm facing the following error:
The url that's the application creates is for example this: http://localhost/application1/createreport.asp?sSessionId=2&ReportName=TransactionsProcessed.rpt¶meter1¶meter2... etc etc...
Script Error Number: -21471922153
File could not be opened because the library "P2sora7.dll" cannot be found.
User Error Text: An error has ocurred in CreateReport.asp while logging onto the Oracle database server. Please try again.
I already check the database connection and it is working fine using ODBC, and the application works fine with the database.
The file p2sora.dll is in C:\WINDOWS\SYSTEM32, I already copied from another machine, and I have installed Crystal Report 2008 (12) in my server machine with Windows 2003 server, that's the application and web server where report should be run. I know that the old application was executed with Crystal 7, but I cannot found this version to buy.
Edited by: Don Williams on Mar 21, 2010 9:05 AMThis is the code of the createPage.asp that it's called from VB:
<%
On Error Resume Next
Dim sDLLName
Dim sDatabaseType
Dim sServerName
Dim sUserId
Dim sPassword
Dim arrayInteger
Dim sReportDbName
Dim oTransStore
Dim oReportObject
Dim oCRSections
Dim oCRSection
Dim oCRSubReportObject
Dim oCRReportObjects
Dim oCRReportObject
Dim oCRSubReport
Dim oCRPageEngine
Dim sSessionId, sReportPath, sReportName, sTablename
' Errorhandling Parameters
Dim lUserErrorNumber, sUserErrorText
' -- Get parameters --
sSessionId = Request.QueryString("SessionId")
sReportName = Request.QueryString("ReportName")
sStartDay = Request.QueryString("StartDay")
sStartMonth = Request.QueryString("StartMonth")
sStartYear = Request.QueryString("StartYear")
sEndDay = Request.QueryString("EndDay")
sEndMonth = Request.QueryString("EndMonth")
sEndYear = Request.QueryString("EndYear")
sAccName = Request.QueryString("AccId")
sUserName = Request.QueryString("UserName")
' -- Initialisation --
Session("ImageFolder") = ".\images"
sDatabaseType = Request.QueryString("DbType")
sServerName = Request.QueryString("ServerName")
sUserId = Request.QueryString("DbUserId")
sPassword = Request.QueryString("DbPassword")
sReportPath = Request.QueryString("ReportsFolder")
' -- Select DLL for DB Type
- Hide quoted text -
sDLLName = "P2sora7.dll"
Response.Write "DATABASE SELECCIONADA: " & sDatabaseType
Select Case sDatabaseType
Case "Oracle":
sDLLName = "P2sora7.dll"
sReportDbName = ""
Case "SQLServer":
sDLLName = "P2ssql.dll"
sReportDbName = Request.QueryString("ReportsDbName")
Case "Informix":
sDLLName = "P2sifmx.dll"
End Select
' -- Set the ErrorNumber to 400 and sErrorText.
sUserErrorText = "An error has occurred in CreateReport.asp while loading the report details. CreateObject(CrystalRuntime.Application) . Please try again."
lUserErrorNumber = 400 -
If image file not exist in image path crystal report not open and give me exception error problem
Hi guys my code below show pictures for all employees
code is working but i have proplem
if image not exist in path
crystal report not open and give me exception error image file not exist in path
although the employee no found in database but if image not exist in path when loop crystal report will not open
how to ignore image files not exist in path and open report this is actually what i need
my code below as following
DataTable dt = new DataTable();
string connString = "data source=192.168.1.105; initial catalog=hrdata;uid=sa; password=1234";
using (SqlConnection con = new SqlConnection(connString))
con.Open();
SqlCommand cmd = new SqlCommand("ViewEmployeeNoRall", con);
cmd.CommandType = CommandType.StoredProcedure;
SqlDataAdapter da = new SqlDataAdapter();
da.SelectCommand = cmd;
da.Fill(dt);
foreach (DataRow dr in dt.Rows)
FileStream fs = null;
fs = new FileStream("\\\\192.168.1.105\\Personal Pictures\\" + dr[0] + ".jpg", FileMode.Open);
BinaryReader br = new BinaryReader(fs);
byte[] imgbyte = new byte[fs.Length + 1];
imgbyte = br.ReadBytes(Convert.ToInt32((fs.Length)));
dr["Image"] = imgbyte;
fs.Dispose();
ReportDocument objRpt = new Reports.CrystalReportData2();
objRpt.SetDataSource(dt);
crystalReportViewer1.ReportSource = objRpt;
crystalReportViewer1.Refresh();
and exception error as belowFirst: I created a New Column ("Image") in a datatable of the dataset and change the DataType to System.Byte()
Second : Drag And drop this image Filed Where I want.
private void LoadReport()
frmCheckWeigher rpt = new frmCheckWeigher();
CryRe_DailyBatch report = new CryRe_DailyBatch();
DataSet1TableAdapters.DataTable_DailyBatch1TableAdapter ta = new CheckWeigherReportViewer.DataSet1TableAdapters.DataTable_DailyBatch1TableAdapter();
DataSet1.DataTable_DailyBatch1DataTable table = ta.GetData(clsLogs.strStartDate_rpt, clsLogs.strBatchno_Rpt, clsLogs.cmdeviceid); // Data from Database
DataTable dt = GetImageRow(table, "Footer.Jpg");
report.SetDataSource(dt);
crv1.ReportSource = report;
crv1.Refresh();
By this Function I merge My Image data into dataTable
private DataTable GetImageRow(DataTable dt, string ImageName)
try
FileStream fs;
BinaryReader br;
if (File.Exists(AppDomain.CurrentDomain.BaseDirectory + ImageName))
fs = new FileStream(AppDomain.CurrentDomain.BaseDirectory + ImageName, FileMode.Open);
else
// if photo does not exist show the nophoto.jpg file
fs = new FileStream(AppDomain.CurrentDomain.BaseDirectory + ImageName, FileMode.Open);
// initialise the binary reader from file streamobject
br = new BinaryReader(fs);
// define the byte array of filelength
byte[] imgbyte = new byte[fs.Length + 1];
// read the bytes from the binary reader
imgbyte = br.ReadBytes(Convert.ToInt32((fs.Length)));
dt.Rows[0]["Image"] = imgbyte;
br.Close();
// close the binary reader
fs.Close();
// close the file stream
catch (Exception ex)
// error handling
MessageBox.Show("Missing " + ImageName + "or nophoto.jpg in application folder");
return dt;
// Return Datatable After Image Row Insertion
Mark as answer or vote as helpful if you find it useful | Ammar Zaied [MCP] -
Sales quote layout rows doubled in crystal report layout
Dear All,
Sales quote layout rows doubled in crystal report layout.
In sales quote layout the rows are doubled. Even in the standard layout. If the quote contains only two rows. Then it is doubled as 4 rows in the crystal report layout.
It is happening in the particular database. Other database are working fine. I request you people to help me to overcome this issue.
Regards,
SivaHi Siva,
If this is regarding CR in SAP B1 then please repost to the SAP Business One Application space.
-Abhilash -
Sale Order Query Print layout/Crystal Report Query required
Hi Experts,
I created a Sale Order. Items included in it are service and material.
(I created a BOM, bound the child material item to the parent service item. Moreover child item will have unit price where as parent item will not have unit price)
I need the report on it please let me know how i can do it.
I tried with below query
select a.DocEntry, a.DocNum, a.CardCode, a.CardName, b.DocEntry,b.ItemCode, b.Dscription, b.Quantity, b.Price, b.LineTotal, a.DocTotal, a.VatSum
from ORDR a inner join RDR1 b on a.DocEntry = b.DocEntry
--and b.TreeType <> 'N'
where a.docnum = '14240621'
output of above query is
DocEntry
DocNum
CardCode
CardName
DocEntry
ItemCode
Description
Qty
Unit Price
Line Total
DocTotal
Tax Amount
621
14240621
CDR0001
ABCDEFGH
621
302010001
PROVIDING & LAYING
17.62
2493.76
43940.05
354652
18888.46
621
14240621
CDR0001
ABCDEFGH
621
MT0001
Material for PROVIDING & LAYING
17.62
2800
49336
354652
18888.46
621
14240621
CDR0001
ABCDEFGH
621
305010005
BM CM INCLUDING CEMENT
10.055
1980
19908.9
354652
18888.46
621
14240621
CDR0001
ABCDEFGH
621
MT0002
Material for BM CM INCLUDING CEMENT
10.055
1650
16590.75
354652
18888.46
621
14240621
CDR0001
ABCDEFGH
621
302040001
P/APPLYING
65
116.5
7572.5
354652
18888.46
621
14240621
CDR0001
ABCDEFGH
621
MT0003
Material for P/APPLYING
65
65
4225
354652
18888.46
621
14240621
CDR0001
ABCDEFGH
621
301000001
P& FIXING
2.233
31625.05
70618.74
354652
18888.46
621
14240621
CDR0001
ABCDEFGH
621
MT0004
Material for P& FIXING
2.233
44000
98252
354652
18888.46
621
14240621
CDR0001
ABCDEFGH
621
306010001
PROVIDING RMC
3
3593
10779
354652
18888.46
621
14240621
CDR0001
ABCDEFGH
621
MT0005
Material for PROVIDING RMC
3
4847
14541
354652
18888.46
and my desired output is
Unit price of both child item and parent item should be display in single column. ie. cumulative in Unit Price Column and Linetotal respectively.
DocEntry
DocNum
CardCode
CardName
DocEntry
ItemCode
Description
Qty
Unit Price
Line Total
DocTotal
Tax Amount
621
14240621
CDR0001
ABCDEFGH
621
302010001
PROVIDING & LAYING
17.62
5293.76
93276.05
354652
18888.46
621
14240621
CDR0001
ABCDEFGH
621
305010005
BM CM INCLUDING CEMENT
10.055
3630
36499.65
354652
18888.46
621
14240621
CDR0001
ABCDEFGH
621
302040001
P/APPLYING
65
181.5
11797.5
354652
18888.46
621
14240621
CDR0001
ABCDEFGH
621
301000001
P& FIXING
2.233
75625.05
168870.7
354652
18888.46
621
14240621
CDR0001
ABCDEFGH
621
306010001
PROVIDING RMC
3
8440
25320
354652
18888.46
please let me know the update on this.
with regardsHi Nagarajan,
thanks for reply..
1) Yes, i.e i have taken into BomType: Template
2) i did not get any helpful output by using treetype by keeping 'S' and 'N', i kept in comment.
3) Actually MT0001-05 - these are material item- unit prices are fixed. see in attached image
for parent item, unit prices are not fixed. I give the price for them in Sale Order.
I want unit price for parent and child should be summed/cumulative for Sale Order print.
(in my above post, first matrix exactly same as sale order line items plz check it)
Please help me, how i can achieve this by query(for PLd or Crystal report)
With Regards -
SQL Connections remain open after Crystal Report closes
I am wirting an interface to use the crystal report viewer to print reports, connecting to a Progress Open Edge 10.1B database. From our application we declare the application, report, exportoptions and connectionproperties objects and pass these to the crystal reports viewer. Once the report is printed we release the objects and set their variables for null. However we are finding that the SQL connection to the database is remaining connected and we can only release the connection by manually going in a disconnecting.
I have read in forums that people use .dispose or .close to release the connection, however we do not have access to these methods as we do not use .NET. Are there any methods we can use to disconnect these sql connections?Hi Dean,
Moved to the Legacy Application forums. Likely using the RDC as your report engine.
You should still be able to close and dispose of the report objects. They are not specific to .NET.
In VB it would look something like these lines::
crReport.Close
Set CrystalActiveXReportViewer1.ReportSource = Nothing
Set crReport = Nothing
Once the report is closed it should disconnect from the DB. If you close the application does that disconnect?
Have you looked on 4GL's site for info on how to?
Thank you
Don -
Dunning Letter as Crystal Report: What tables? (SAP B1 9.0)
Dear Experts,
I am being asked to revise the Dunning Letters for our clients. The existing PLDs for each Dunning Letter shows most data fields as system variables. The existing Crystal Report for Dunning Letter 1 is a conversion from the PLD and doesn't show table information for most of the report's main items. There are tables in the report but they are standard ones (OADM, OADP, OCRD, OHEM, OSLP). It also includes a "table" called "PLD__ITEMS" which has all the PLD system variables and no B1 table or field/column information.
As I'm just now starting to work with dunning letters, I see that I can't even run this report in Crystal. The PLD__Items datasource prompts me for a file path and class name. Any ideas what one enters here to run the report outside of B1 (from the Crystal report designer)?
The main focus of my question is: Has anyone created a Crystal Report to replicate the Dunning Letter and if so, what tables are involved and how are they connected? If I can create a Dunning Letter entirely in Crystal, I can replicate it across all clients and get the correct fields/columns of data the clients want. The inclusion of the PLD__Items apparently limits my ability to test the results. I would prefer to avoid the PLD limitations.
Thanks for any assistance.Thank you Nagarajan. I have a dunning letter created in Crystal Reports for our client. It is fairly limited in scope, it just has the customer name and address, invoice numbers and dates, amounts due and the text they wanted in it.
I can import it into B1 9.0 and set it as the default for Dunning Letter #1 and it runs, but unlike other formats where there is a DocEntry and/or ObjectID and a ?DocKey@ or ?ObjectId@ parameter, how do I limit the report to just one customer? Typical document layouts run for the document that's on the screen. In the dunning process, the report runs once for every customer when the Dunning Letter Method is set to "One Letter per BP". I have to limit the report to one customer at a time. Right now, each dunning letter based on the Crystal report is identical and it contains all the data for every customer.
So, does anyone have any ideas for what selection criteria needs to be included in the Crystal report to have it select just one customer from the dunning wizard tables? Thanks.
Michael
Edit: I created a ?WizardID@ parameter and a ?CardCode@ parameter to limit the report to a single dunning wizard event and a single customer. While it works fine in Crystal itself, it doesn't work in B1 at all. I had thought that by limiting the report in this way, it would only create dunning letters for a single customer. -
Exporting Crystal Report to HTML is not working in Windows 7
Hi Sir,
I am trying to export Crystal Report to HTML format using VB.NET code. Functionality is working fine at Windows XP Environment (Save to Disk, Open an Application and Email Attachment). But the same functionality is not working at Windows 7 Environment (both 32-Bit as well as 64-Bit).
Below is the code to Exporting Crystal Report to HTML in VB.NET.
Dim CrDiskFileDestinationOptions As New DiskFileDestinationOptions
Dim CrFormatTypeOptions As New HTMLFormatOptions
Dim vFormat As Integer
Dim CrExportOptions As New ExportOptions
Dim vRdReport As New ReportDocument
Dim sfd As SaveFileDialog
Dim vFileName As String = Nothing
vRdReport = vRptSource
sfd = New SaveFileDialog
If Not (vRptPath = "") Then
sfd.InitialDirectory = vRptPath
End If
sfd.Filter = "Webpage, Complete(.htm;.htm)|.htm|Web Archive, Single file(.mht)|.mht|Webpage, HTML only(.htm;.html)|.html"
If sfd.ShowDialog = DialogResult.OK Then
' Set the disk file options.
CrDiskFileDestinationOptions.DiskFileName = sfd.FileName.ToString()
Else
Return
End If
CrExportOptions = vRdReport.ExportOptions
CrFormatTypeOptions.HTMLFileName = vFileName
CrFormatTypeOptions.HTMLEnableSeparatedPages = True
CrFormatTypeOptions.HTMLEnableSeparatedPages = True
CrFormatTypeOptions.HTMLHasPageNavigator = True
CrFormatTypeOptions.UsePageRange = True
With CrExportOptions
.ExportDestinationType = ExportDestinationType.DiskFile
.ExportFormatType = ExportFormatType.HTML32
.DestinationOptions = CrDiskFileDestinationOptions.DiskFileName
.FormatOptions = CrFormatTypeOptions
End With
vRdReport.Export()
Catch ex As Exception
MsgBox(ex.ToString)
End Try
Code working fine at Windows XP, But it is not woking in Windows 7 environment.
Please can anyone share your valuable thoughts or ideas reg. this.
Thanks in Advance
Deivanayaga Perumal D.user13509659 wrote:
Run this code to reproduce the issue.Which issue?
It looks like inheritance is broken in the component hierarchy for JFrame in Windows 7 JDK 1.6.0_23-b05. The only thing remotely related to inheritance in your code snippet is the WindowListener, which does little. See camickr's advice about built-in exit management.
EDIT - using the post title as a clue, I realize you may be talking about the component hierarchy, and whether the contentPane's background is visible through the upper layers. Instead of guessing, I'd prefer you describe your "issue" accurately (observed vs expected behavior).
Edited by: jduprez on Feb 10, 2011 1:01 PM -
Print crystal report without using the print button on toolbar
Hi,
I am working on Crystal report XI. I need to print the report w/o using the toolbar. So I have inserted a print icon in the report. On clicking that icon it should call a jsp page which will print the report. I am not able to call any print methods provided by JRC to do this.
Can someone help me with this problem.
Is there some other way to implement it ?
Thanks
Message was edited by:
CR_newbiePrint the report where? On what printer? The server's printer?
Java code runs on the server. You can't affect the client's computer from JSP.
You can write javascript code which can call window.print() but that is working through the browser to display the print dialog box (as if the user selected file:print) -
Performance issue - Open a Crystal Report from SAP BW
Hi,
I have an general question on the performance of Crystal Reports: We are using Crystal Reports 2008 SP 2 in context with SAP BW 7.0. We don't have a BO XI. We use the BW as a central storage for our reports. Now we have the problem that the opening of some reports takes a long time. For expample one report needs ~13 secound an another > 5 minutes.
Where can be the problem? What happens in SAP BW when a report is called? And what can we do to make it faster?
Thanks for your informations!Hi Ingo,
the value of MaxPickListSize is "c8".
Yesterday I have spent a lot of time to find the bottleneck. I have traced the SQL statements, which are performed from Crystal Reports / Integration Kit when I open a report. It might be the values for the parameters. That's our situation:
Crystal Reports
|
Query (restriced on Cube 1)
|
MultiProvider
- Cube 1
- Cube 2
- Cube 3
- DSO 1
The slow report is based on the BW Query and in the filter restricted to the Cube 1. If I open the report, all values for the parameters are read from all the InfoProviders under the MultiProvider (Cube 1, Cube 2 Cube 3 and DSO 1). The very big DSO 1, which is not used, increases the duration extremly. This may not be the desired behavior?! Is this a bug? I would expected that only the values are loaded from Cube 1. -
Huge delay in Printing Crystal Report Layout
Good Day Experts,
I am experiencing big delays when printing a document that makes use of a Crystal Report Layout Design.
For example,
The Sales Quote is set to automatically print when added by the user.
When clicking 'Add', SAP freezes up and only about 30 seconds later does the printer finally print the document.
During that time, the user cannot use SAP at all.
The layout does have a lot of fields and a few formulas here and there.
Logically, I am thinking that that is the reason for the delay, as SAP needs to calculate and populate those fields.
Is there any other way that I could speed up this process? Or if you know what might be causing this speed issue?
Your assistance will be appreciated,
Thanks
Regards
DarioHi Dario,
Pl Try the Below Threads and Ref SAP Notes Provided by NagaRajan.
http://scn.sap.com/message/13419121#13419121
http://scn.sap.com/thread/2024941
Regards,
Vamsi -
Crystal Report Preview Problem
Dear All,
I have done a crystal report for Sales Quote and imported using Administration-->Setup-->General-->Reports and Layouts.
It shows that the report is imported successfully but when i go and give print preview, it shows an error as "LogOn Failed Please Try Again".
I dont know why this error occurs.
But the other reports are working well.
Help me solving this issue.
Regards,
Jananihi
Janani..
Actually i never Seen This Type of problem..
I have one Doubt May be u have Developed in ur system n then import it to the client server..
before importing have u change the login credentials....
After i search i got below link just have a look on below post If it's not use ful just ignore the mail....
System asks for SA Password when printing with Crystal Reports -
Crystal Report 2008 SP3 and BO XI 3.1 conflict
Hi every body,
We have a BOE system:
BO XI 3.1
Oracle db 10g
All running successful and can create some types of WebI report.
But we also want reports with Crystal Report.
1> So we install Crystal Report 2008 SP3 (without knowing the conflict error between BO XI 3.1 and Crystal Report 2008 SP3 and overwrite some .dll file). After installing, we can not create WebI report any more. And a error message box display: "DBDriver failed to load: C:\Program File\Business Objects\BusinessObjects ENterprise12.0\win32_x86\dataAccess\connectionServer\dbd_oci.dll ".
2> We uninstall Crystal Report SP3. But this is not the solution. Still error because of missing .dll files.
3> We open BO XI 3.1 setup and repair BO XI 3.1. Even we uninstall BO XI 3.1, delete all of its components and delete in regedit key. We install BO XI 3.1 again. Now we have full .dll file, not missing them any more. But when we open universe and click on Table browser, cannot fetching any tables.
We set rights for Oracle DB user again. But still error: cannot fetching.
4> We searched the solution for this problem on the internet. But not worked, no answer.
Can somebody help me bring back the BOE system state again ? pls :"<
T______THi Paul,
I hope I read your question right!
Yes, It is possible to run XIR2 and 3.1 on the same server although it's not recommended by BO. You will need to make sure they are both pointing to different CMS databases and different FRS repositories, like you already mentioned you will need to specify different ports for the CMS db and Tomcat.
Why not uninstall Business Objects XI R2 in your BO development environment or a spare server (if you have one), and do a clean install of XI 3.1 SP3.
Tip: If you were already having performance issues with your XI R2 environment, I would seriously consider upgrading the hardware. XI 3.1 needs a bit more RAM and CPU than XI R2
Regards
Rim Geurts -
Crystal Report generate PDF with J2EE problem
Dear All
I am having a great problem on generating PDF file by Crystal Report in J2EE.
I have my J2EE application runs Crystal Report to generate PDF files.
However for a report, i hit the following error (red color) when the PDF is generating.
But is no problem for the other reports.
Here is the code that i used to generate the PDF
My OS and Java version as follows
Window 2003 server.
Java 1.4.2_04
Please Kindly Help
Thanks very much
public static void export(HttpServletRequest request, HttpServletResponse response, String reportPath, ArrayList paramList, ReportExportFormat outFormat) throws Exception{
System.gc();
HttpSession session = request.getSession(false);
Object reportSource = getReportSource(request, reportPath);
ReportExportControl exportControl = new ReportExportControl();
if(paramList != null && paramList.size()>0){
exportControl.setParameterFields(getParamFields(paramList));
ExportOptions exportOptions = new ExportOptions();
exportOptions.setExportFormatType(outFormat);
PDFExportFormatOptions pdfexpopts = new PDFExportFormatOptions();
exportOptions.setFormatOptions(pdfexpopts);
exportControl.setReportSource(reportSource);
exportControl.setExportOptions(exportOptions);
exportControl.processHttpRequest(request, response, session.getServletContext(), null);
exportControl.dispose();
public static IReportSource getReportSource(HttpServletRequest request, String reportPath) throws Exception{
ReportClientDocument oReportClientDocument = new ReportClientDocument();
HttpSession session = request.getSession(false);
oReportClientDocument.open(reportPath, 0);
return oReportClientDocument.getReportSource();
00:57:08,671 ERROR reportdefinition Thread-28 - Report printer was not valid, switching to default printer.
00:57:08,687 ERROR objectformatter Thread-28 - com.crystaldecisions.reports.dataengine.k: |Y
00:57:09,343 ERROR b Thread-28 - Disk Exporter: no output file was created by an exporter
00:57:09,343 ERROR b Thread-28 - PdfExporter: caught Exception in PDFFormatter.finalizeFormatJob (from destination?); java.lang.IllegalArgumentExceptionHi,
I have tried this code but stil the same.
However i tried setup another tomcat and application in the other machine and the only job for the application is exporting the report that has problem, then the error is gone.
So i guess that is the memory size problem.
Thanks for this
One more question about the memory size between Tomcat and Crystal report.
I have set in catalina.bat as
set JAVA_OPTS = "-Xms2048M -Xmx1024M"
and CRConfig as
<JVMMaxHeap>1024000000</JVMMaxHeap>
<JVMMinHeap>512000000</JVMMinHeap>
1. Is that the correct setting.?
2. The memory in the JAVA_OPT and is the MAX and MIN memory that java would use,
then is the Max memory in CRConf is 1024M out of the java heap size or the application use another 1024 memory -
Hi All,
I have successfully installed Crystal Report Addon Version 2.0.0.7 on B1 (Patch 0) . I have already installed Dot Net framework 3.5 on my machine and I use to design Crystal Reports in VS.Net 2005 Crystal Reporting tool .
The proble is that everything works fine but as I click on the button 'preview and print ' it flashes an error "Could not load file or assembly CrystalDecisions.Windows.Reports Version 12.0.2008......"
Iam not able to understand exactly what is lacking ? Do I require to install Crystal Report 2008 also . I do only have Crystal Report 10 (shipped with VS .NET 2005)
If yes then please help me how to proceed to crack this problem...
Thanks in advance.Hi Pooja,
Yes, you need to install Crystal Reports 2008 Runtime. Alternatively you can install Crystal Reports 2008 or Crystal Reports 2008 for B1.
Regards,
Vítor Vieira
Maybe you are looking for
-
Read this after press conference, what do you think?
Okay here's the deal. Apple had a press conference today, and they have thoroughly addressed the antenna issues or apparently lack of with the iPhone 4, now dubbed as "antennagate". Now, I will just throw a "light" breakdown of thoughts on this and
-
I'm having problems installing Itines on my new computer with Windows 8. I always get problem with install. the error code is 2503. How do I correct this?
-
hi so i just dpownloaded the mac os lion but when i turn my mac it says please restart it and when i do i get the message again. i am travelling soon and i need my mac to be fixed. please help me.
-
Keynote exporting to FLASH will not run on browsers
I have created several short keynote files that were then exported to Flash so that they can be viewed on an HTML page created by dreameweaver. However, after exporting them to a swf file and then importing the flash file into an html page all I get
-
Messages button giving "Service not configured" error
Hi, I have created my voice mail ports, LG,HL and HP. I also created voice mail pilot and profile, assigning the pilot to profile and then assigning profile to the line of the IP Phone. I can dial the pilot number and voice mail port numbers, but whe