Crystal Report not printing

Hi,
I am trying to print the crystal report from Main menu (For Addon).But it is showing the error 'Exception from HRESULT: 0x800A501B'.Can you guide me how to proceed?
Thanks and Regards,
S.G.Sekar

Hi,
I solved the problem by putting the report in Programme Files/SAP /Addon folder.
Regards,
S.G.Sekar

Similar Messages

  • Gray color background in PDF exported from Crystal Report not printing correctly in Digital Printer (CMYK)

    I am processing a crystal report on RAS server,and exporting it to PDF, using the RAS Dlls.
    Dim Report As ReportClientDocument
    Dim crExportData As New ByteArray
    Dim crExportType As CrReportExportFormatEnum
    crExportType = CrReportExportFormatEnum.crReportExportFormatPDF
    crExportData = Report.PrintOutputController.Export(crExportType)
    A gray background is applied to an object in crystal report, with RGB color code (216,216,216).
    On exporting this report to pdf, the color appears as required.
    However, when printing this PDF in a digital printer (uses CMYK color format), the color changes to Pinkish Gray.
    The color remains gray as required, in other printers.
    Is there any way to make the exported PDF CMYK compliant?
    Please help.

    From the info, I have no idea what version of .NET and CR you are using...
    How is the printing from the CR designer?
    How is the printing to another printer, say HP?
    Do you have the latest updates for Digital Printer (CMYK) installed?
    How does a plain pic with grey background print from a .NET app? (E.g.; is this a CR issue, or a framework issue? See:
    RGB to CMYK (Plugin) - Plugins - Publishing ONLY! - Paint.NET Forum
    RGB VS. CMYK: WHEN TO USE WHICH AND WHY - Crux Creative
    http://www.sumydesigns.com/2012/12/06/color-rgb-vs-cmyk-web-color-vs-print-color/
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
      Follow us on Twitter

  • Page Not Found Error when clicking on Crystal Report Viewer print icon

    Hi,
        I am working with ASP.NET 2.0 and crystla reportXI release2.
        I am getting "Page Can not be Found " error when clicking on Crystal Report Viewer print icon.
        Could you please tell me how to get rid of this error?
    Regards,
    Smitha

    This sounds like a postback issue. Does your application handle postback by putting the report in session?
    There is a [sample|http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/en/CrystalReports_dotNET_SDK/crsdk_samples_aspx/data/crsdk_net_tutorials_115_en.zip] to look at on our website. It was created with Crystal Reports XI R2 and Visual Studio .NET but the code will be the same.
    A short pseudocode would be something like this:
    Dim rptDocument As ReportDocument
    If Not Me.IsPostBack or Session("Report") = Nothing Then
    rptDocument = New ReportDocument
    rptDocument.Load(sGlobalPath & "\myreport.rpt";)
    Ludek

  • 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 below

    First: 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]

  • Display more pictures in crystal report not work why

    Hi guys i try to show picture of specified employee from network path in crystal report  it work
    but i don't know how to show all pictures to all employees in crystal report
    Can any one help me to customize my code to accept show all employee pictures
    i try to make this from crystal report and assign path but version of crystal report not allow to me
    to put path
    my code below show picture to one employee from text box control from network path
    I need to customize this code to accept show more one  pictures of employees from  employee table
    the following fields i show in report
    EmployeeNo      integer
    EmployeeName   nvarchar(50)
    Image     datatype  image 
    btnemployeeno_click
       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("ViewEmployeeNoR", con);
    cmd.CommandType = CommandType.StoredProcedure;    // Viewxxx doesn't seem a good name for a sp
    cmd.Parameters.Add("@EmployeeNo", SqlDbType.NVarChar, 20);
    cmd.Parameters["@EmployeeNo"].Value = textBox1.Text;
    SqlDataAdapter da = new SqlDataAdapter();
    da.SelectCommand = cmd;
    da.Fill(dt);
    string path = Path.Combine("\\\\192.168.1.105\\Personal Pictures", textBox1.Text) + ".jpg";
    FileStream fs=null;
    if (File.Exists(path))
    fs = new FileStream("\\\\192.168.1.105\\Personal Pictures\\" + textBox1.Text + ".jpg", FileMode.Open);
    else
    MessageBox.Show("Please File Not Exist");
    BinaryReader br = new BinaryReader(fs);
    byte[] imgbyte = new byte[fs.Length + 1];
    imgbyte = br.ReadBytes(Convert.ToInt32((fs.Length)));
    foreach (DataRow dr in dt.Rows)
    dr["Image"] = imgbyte;
    ReportDocument objRpt = new Reports.CrystalReportData2();
    objRpt.SetDataSource(dt);
    crystalReportViewer1.ReportSource = objRpt;
    crystalReportViewer1.Refresh();                     

    Hi, 
    Put an image field in your report, then change the image’s Graphic Location:
    right click the image, select Format Graphic, select Picture tab, click the conditional-formula button that look like a x2 and set the formula’s text to
    the name of the formula or parameter field that will contain the image’s URL.
    Save the formula and click the OK button. Save the report and test it.
    Be carefull with the size of the image field. If this size is not equal to the image itself it could get resized.
    Good Tutorial
    Mark as answer or vote as helpful if you find it useful | Ammar Zaied [MCP]

  • After i install Visual-Studio 2013 crystal-report not working

    hi
    after i install Visual-Studio 2013 crystal-report not working on my Visual-Studio 2010 projects
    when i try to open crystal-report i see this:

    Hi E_gold,
    Crystal Reports forum may be a better place for you.
    Thanks for your understanding.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Crystal Report Viewer Print does not work for IE7

    Post Author: ssdudeveloper
    CA Forum: .NET
    When I view a report in IE7, and click the Print button in the Crystal Reports Viewer toolbar, an empty dialog window opens and no print dialog appears. The print functionality works correctly when viewing the same report using an IE6 browser.
    I have tried changing the browser security settings (as per http://technicalsupport.businessobjects.com/cs/forums/thread/3171.aspx) - with Automatic prompting for file downloads set to Enable, but this does not resolve my problem.
    Is this a known compatability issue with IE7? Are there any workarounds/solutions to this?

    Hello,
    Please search before posting.
    Visual Studio 2010 is not meant to work with Crystal Reports 10.2.
    Download CR4VS2010 here:
    [/people/blair.wheadon/blog/2010/07/29/crystal-reports-for-visual-studio-2010-beta-2-and-runtimes-now-available|/people/blair.wheadon/blog/2010/07/29/crystal-reports-for-visual-studio-2010-beta-2-and-runtimes-now-available]
    Thanks,
    Bhushan.

  • Crystal Report viewer print dialog not working.

    I have an asp.net website that i developed in VS 2010 that is using Crystal Reports 10.2.  Everything works fine in the devleopment environment but when I upload it to the production server the print dialog wont print.
    The print dialog opens up just fine but when i click print it says "Class not registered" at the top of the dialog.
    How can I fix this problem?
    Thanks in advance.

    Hello,
    Please search before posting.
    Visual Studio 2010 is not meant to work with Crystal Reports 10.2.
    Download CR4VS2010 here:
    [/people/blair.wheadon/blog/2010/07/29/crystal-reports-for-visual-studio-2010-beta-2-and-runtimes-now-available|/people/blair.wheadon/blog/2010/07/29/crystal-reports-for-visual-studio-2010-beta-2-and-runtimes-now-available]
    Thanks,
    Bhushan.

  • CR XI landscape report not printing correctly on one particular server

    Post Author: BronxJedi
    CA Forum: General
    I have a report that was designed in Crystal XI (11.5.0.313) that is not previewing or printing correctly when the users access it on our production server. The report is designed as a landscape report, for an 8.5x11 size paper; however, when this report is previewed on the production server all of the data is pushed over to the left, as though the computer is trying to cram it all into a portrait-sized layout. Furthermore, when viewing the Document Properties of the report in preview it says that the page size is 11x17!
    This report, I should mention, is part of a web application designed in Visual Studio. When users select a report to run the application actually displays the report as a PDF document in an Adobe Reader window. So, when I mention "preview" in this post it is not the Crystal Reports print preview window but rather an Adobe Reader window previewing the report as a PDF document.
    None of the other landscape reports in this application are demonstrating this same problem. Also, the report in question previews and prints perfectly fine when it is run on other computers or servers.
    Currently, we have eliminated design flaws in the report as a suspect because all of the pertinent properties in the report's design are set properly. We have also eliminated the users' printer settings as the culprit because the problem exists no matter who attempts to print that particular report and no matter what printer is chosen.
    Right now we are operating under the assumption that the problem lies within the server (which is a new box that just replaced one which died...the hardware on this new box is different, I am told by our server guy, but everything else was mirrored from the old box); however, we are unsure of what to examine in our attempts to fix it.
    The production server is running Win 2003 Server, R2, SP2 and there are no apparent printer drivers installed on the production server. We are using Adobe Reader 8.0 on all machines that can access this report.
    If anybody out there has had this same problem or knows of anything else we can check (either on the production server or within the report's design) we'd appreciate it. Why would only this particular report be exhibiting this problem and why on Earth would the Adobe Document Properties think that the page size is 11x17?
    Thank you,
    Sean

    Once you find an erroneous report, can the report be re-run over the same data (same parameters, same underlying data records after record selection) and the error duplicated?
    Can you dump the data read by Crystal in the Detail section of the report?  (Verify the data is as expected...)
    Can you post the stored procedure?  (Please wrap it in  markup to keep it readable.  A sample of both crosstabs wrapped in the markup would be helpful, too.)
    Carl

  • On Demand sub report not printing in IE and Other Browsers

    Hi All,
    We have developed Crystal report for our web application with version 13.0 and Visual Studio 2010.
    When we run our web app in IIS report display fine in All web browser and when we print report in ActiveX mode in IE 9+ for main report it prints fine but if we print on demand sub report it not printing even a single page out of 2 or more than 2 page.
    If on demand sub report has only one page then it will print in IE 9+  browser.
    Even If we click on Export button on demand sub report easily export to pdf or any formate the issue while we print it.
    It going to hanged while we print on demand sub report with more than one page.
    Please help in this issue.
    Also  please let me know if you want more detail.

    Not sure why you created two Discussions on the same issue? (CR on demand sub report goes hang in IE)
    Locking this Discussion.
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • SAP should retrieve print preferences in a Crystal report before printing

    I would like to submit an enhancement... or a "come back" of something that was working fine before.
    Missing functionality referring to message #88318 opened at the end of January 2011
    Version: 8.8 u2013 PL18
    Description of requirements:
    Automatically select the appropriate page layout in SAP B1 when the page layout has been saved in a Crystal report.  So, the user wonu2019t have to change his u201CPrint preferencesu201D in SAP before printing a document with a different layout.
    Valid as of: N/A
    Business needs: (Please describe the impact on your business, if the functionality is not realized)
    Any people who has to print a report doesnu2019t want to always think about what should be the layout of this specific report and then have to change it in B1 before printing. This is a loss of time, more over when the layout has been saved in the u201CPrint preferencesu201D of the report itself (for example, 8½ X 14 or Landscape) so the user should not have to manually select it in addition.
    The print preview is correct in CR and in B1 but then, when sending the preview to the printer, the printing is not correct.  It is not on the same format.
    Examples: (Please describe a typical example, how the functionality should work.)
    I have a Crystal Report saved in 8½ X 14 format.
    I preview it within Crystal Report --> Ok
    I send it to the printer via Crystal Report --> Ok
    I preview it within SAP --> Ok
    I send it to the printer via SAP --> THIS SHOULD BE PRINTED THE WAY IT IS PREVIEWED
    Current Workaround: (Please describe the workarounds you are using at the moment)
    The users have to change their print preferences in B1 before printing the report !  This is a loss of time !
    Proposed solution:
    SAP should take in consideration the printing preferences saved in Crystal, so it will print the report accordingly to the print definition, using the appropriate tray. Since the print preview is okay, it should print that way.
    This was working fine in 8.8-PL11u2026

    Thank you for your reply. It works in this specific report.
    But we have both PLD and Crystal Report in the system, changing the settings means the PLD will lose their watermark...
    Also, I don't know how the Draft is displayed, but when select Print Preview for Draft, it's asking for parameter (DocEntry), which I have setup a DocKey@ in Crystal Report and set it in the Selection Manager. Does SAP provide DocEntry in Draft Invoice (ODRF) the same way as in Invoice (OINV)?
    Thanks,
    Grace

  • SAP B1 Collection Report's crystal report layout printing format

    Hi all,
    We're having an issue in Crystal Report fro SAP Business One - for the Collection (aged-debt) report.
    The report is basically doing the following when previewing it in SAP Business One.
    It prints the header information etc on the first page and then the detailed information filling up the page as expected - it then prints more lines (not filling up the page - maybe 10 lines or so) from the detailed section to the second page (without any headers etc) - then the third page contains headers again with the detailed line data and the fourth then has a couple of lines but without any header data - and so on...
    We've checked the standard page settings - all looks fine.We've checked the section expert - again can't see anything particularly bizarre. It's as though Crystal thinks the page is actually ending someway down the second page!
    Has anyone come across a similar scenario and what would be the solution to this sort of issue?
    Many thanks,
    Mohsen

    Hi Mohsen,
    You may check Selection Expert - Paging tab to see if they have been changed. What is the setting for Report header and Page header?
    Thanks,
    Gordon

  • VS2013 and Crystal Report Layout printing

    <p>Hi,</p><p></p><p>I use VS2013 and Crystal reports.&nbsp; In my program i also use direct print from the form (not by crystal reports).</p><p></p><p>When I first print a documten from a form,
    and then I take a printpreview from a crystal report, the lay-out is not correct.</p><p></p><p>As example I put 2 screenshots:</p><p>first correct - second after printing from form</p><p></p><p>I
    hope somebody can help me.</p><p></p><p>Thx</p><p><img alt="right" src="https://social.msdn.microsoft.com/Forums/getfile/564644" /></p><p><img alt="wrong" src="https://social.msdn.microsoft.com/Forums/getfile/564645"
    /></p>

    Hi Detleff,
    Thank you for posting in MSDN forum.
    Since this forum is to discuss: Visual Studio WPF/SL Designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System, and Visual Studio
    Editor. Based on your Crystal Reports printing issue, I’m afraid that it is not the correct forum for this issue. Therefore,
    I suggest you can ask your issue directly on SAP Crystal Reports:
    http://scn.sap.com/community/crystal-reports/content?filterID=content~objecttype~objecttype[thread]
    for better solution and support.
    Best Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Crystal Report not visible when using IE9

    Hello,
    I have a report that has been displaying fine in IE8 for me, but when I upgraded to IE9, the report stopped displaying.  This problem seems to only occur if the report has more than 5 columns of data in it.   If it has 5 or less columns, everything displays correctly.  If it has 6 or more columns, a blank page loads.  I've noticed that if I try to print the blank page,  it will print correctly(all columns will display).
    So far, the only solution I've found is by going into compatibility mode in my IE9.    Is there a way to fix this so that compatibiltiy mode is not required to view the report in IE9?  This report is going to be used by client's and I have no way of stopping them from upgrading their browser.
    Also, I have read that Crystal Reports does not support IE9.  Does anybody know when they will support it?
    I'm using Crystal Reports version 14.0.2.364 RTM to create the report.
    The version of Crystal Reports on my aspx page is  13.0.2000.0
    Thank You.

    Bug description and suggested workarounds have been posted in this thread:
    Fix for CR for VS2010 visual effects bug: faded or blank report under IE9
    04/17/2012 Update:
    It has been verified that the bug fix has been applied to Service Pack 3.

  • Crystal report not showing correctly in firefox after windows update

    From the past six months, crystal reports has been displayed without the print toolbar and the formatting is completely lost in firefox. Previously we found that when we uninstall the windows updates KB2836942, KB2836943, KB2836946, KB2836947, the problem is resolved. But with more and more windows updates that are automatically updated on the servers, it is getting practically impossible to track which windows update creates the problem. There is absolutely no issue in Chrome, IE and Opera; it is only with firefox that this problem occurs; so we feel it is more of a firefox issue than a windows update problem. It is not just in one machine, but we found the same issue at all our customer's servers (more than 10). The servers are a mix of windows 2008, windows 2012 with iis 7. We also observed the same problem on windows 7 machines. We have been recommending firefox as the best browser for our software to all our customers, and with this problem cropping up, we are badly handicapped. Kindly let us know how to sort this issue. We have provided the link below for your perusal. When you open it in chrome it works fine, but on firefox it does not display correctly:
    http://54.209.141.3/Reports/Report.aspx?reportname=RptProductWiseSalesDetails.rpt&paramlist=@FromDat,01/01/2011;@ToDat,01/26/2014;@BranchSlno,1;@FranchiseSlno,1;@FirstCol,B;@DateType,B;@SaleChannel,A;@ProductTypeSlno,0;@ProductSlno,6;@ColorSlno,0;@FinancierSlno,0;@ChannelTypeSlno,0;@ChannelSlno,0;@SalesPersonSlno,0;@SaleStatus,L;@BillingType,A;@LoginUser,admin;@LoginBranch,Keerthi%20Triumph%20Bangalore;@Franchise,Triumph;@AddCustomerDetail,0;@SaleCodeSuffix,&loadfromsql=0

    Those four updates all relate to the .Net framework, and involve how an ASP.Net application recognizes different browsers.
    * http://support.microsoft.com/kb/2836942
    * http://support.microsoft.com/kb/2836943
    * http://support.microsoft.com/kb/2836946
    * http://support.microsoft.com/kb/2836947
    Each contains this Note:
    <blockquote>There is a configuration switch to be used to revert back to the old behavior: <br>
    <pre>&lt;appSettings>
    &lt;add key="aspnet:UseLegacyBrowserCaps" value="true" />
    &lt;/appSettings></pre>
    </blockquote>
    I think the downside of turning off the changes is that IE 11 will not be well supported.
    That's all I know so far...

Maybe you are looking for