Errors in print & export

Hi
I have downloaded sap crystal reports 2008 demo and have used it with visual studio.
It worked fine with integration etc.... but finally i get errors when:
I try to print, i try to export, i try to zoom... through viewer control
The error i get is: something like operation failed.
Is this related to demo version or is there anything wrong we are doing.
please advise.

Hello,
Since you did not provide any code, it's not the demo version, try this samples:
Root Page
http://wiki.sdn.sap.com/wiki/display/BOBJ/BusinessObjectsHome
Enterprise Samples (including managed and unmanaged ras)
http://wiki.sdn.sap.com/wiki/display/BOBJ/BusinessObjectsSDKSampleApplications
Non-Enterprise Samples
http://wiki.sdn.sap.com/wiki/display/BOBJ/CrystalReportsSDKSampleApplications
Exporting Samples (RAS)
http://wiki.sdn.sap.com/wiki/display/BOBJ/NETRASSDK+Samples#NETRASSDKSamples-Exporting%2FPrinting
Thank you
Don

Similar Messages

  • Logon failed. Details: mscorlib (Crystal report error during print &export)

    Hi,
    I'm encountering the problem that the crystal report is working fine in the staging server I developed.
    However, after I transported to live server the report having problems when printing and exporting.
    Below is the error message prompts to me.
    Logon failed. Details: mscorlib : Could not find file 'C:\Inetpub\wwwroot\rptPrintSummaryConfineSpace.xml'. Error in File C:\WINDOWS\TEMP\rptPrintSummaryConfineSpace {2D72226E-816A-4D9B-BF93-C9077001F09C}.rpt: Unable to connect: incorrect log on parameters.
    I hit this error when I click OK button on export or print option page.
    My temp folder at windows is given full permission for IIS_WPG and ASPUSER.
    Please help to resolve my problem thank you very much.

    What version of Crystal Reports?
    What CR Service Pack are you on?
    What is the database?
    How are you connecting to the databse (ODBC, OLE DB, etc.)?
    - Ludek

  • Crystal Report/STRUTS: Error (404) when clicking on Control Buttons (Print, Export, Next, Previous, etc...) on report viewer

    Post Author: jwenny
    CA Forum: Deployment
    Need help badly!!!
    We are using the crystal reports plugin for STRUTS.
    We are able to display the report in the crystal report viewer.  However, when we click any control buttons (print, export, etc...), then we get:
    JSPG0036E:  Failed to find resource /Report-viewer.jsp
    We then moved Report-viewer.jsp to the WebContents folder (root directory) and got a different error when we clicked any control button:
    Error:  400 page not found
    Does anyone know how to solve this problem?  For instance, is there a setting or parameter that needs to be set?
    Greatly appreciate any help!

    HI,
    Whenever we print the viewer does an auto postback, I believe due to this some of the values are getting missed. Moreover we are referring to the viewer and reportdocument object, it seems. So can you try this simple code in an application to see if it helps:
    ReportDocument rdoc = new ReportDocument();
    rdoc.Load("C:\TASKECrystalReports\Intraday.rpt");
    rdoc.SetDatabaseLogon("uid","pwd");
    rdoc.SetParameterValues("parameter name","value");
    CrystalReportViewer.ReportSource = rdoc;
    Helps?
    Thanks.

  • When trying to export a pages document, it say error while printing....

    When trying to export a pages document, it says 'error while printing' when I want to save as PDF. I used to be able to do it but for some random reason it won't let me anymore. Even when the printer is not plugged in or turned on it says it. Is there a setting I can change? Does anyone know how to fix as i can't email any documents and I don't know what else to do. Please help its driving me crazy.....
    imac Intel-core duo   Mac OS X (10.4.8)  

    thank you, I can't print or save any old pages documents. I will create a new one and see if that helps. I have tried from the print dialog but it says the same thing. I will try something in another application. Could it have been when I updated pages? I only recently got broadband so did a heap of updates that were a bit overdue.

  • PDF export from Pages fails "Print - error while printing"

    Every month I have been generating PDF versions of my invoices by using the 'export' function of Pages. This has always worked fine without any problems.
    Today (end of Feb 08), the pdf export function always fails with 'Print - error while printing". A pdf file is saved to disc but it is corrupted and unreadable. I can still export as rtfd.
    I don't see anything about this in the logs, but I do notice that there was a Pages software update to 3.0.2 earlier this month.
    Anybody know how to fix this?

    Hello
    Before re-installing, it may be useful to
    a - repair permissions with Disk Utility
    b - trash the preferences file: <bootVolume>:Users:<yourAccount>:Library:Preferences:com.apple.iWork.Pages.plis t
    if it's not sufficient, try to print from an other user account.
    If it works this way, you will know that the application's files are not the wrongdoers as every account calls the same application file.
    Yvan KOENIG (from FRANCE samedi 1 mars 2008 15:33:41)

  • Save to PDF in TextEdit - Error While Printing

    When I try to save a text file to PDF I receive the error message - "Error while printing".  This only seems to be happening to text files I open or create in TextEdit.  It works fine if I log in as a different user.  I've run repair permissions and also deleted a couple of com.apple.print plist files in my user library, but the error remains.
    Is there anything else I should try short of reinstalling TextEdit?
    Thanks in advance for any advice!
    Rick

    On OS X 10.8.2, with TextEdit, I can open or create text documents and export to PDF without any issue.
    Here are the two preference tabs and settings that work for me. You can single click on the images for a larger version.
    New Document
    Open and Save
    PDF documents on OS X are created with binary content, which is the junk you observe.

  • Report Print & Export Issue (File Download Box appears)

    We send a URL to Crystal Enterprise which runs a script, logs on, finds folder, finds report and displays in the Crystal report viewer. All that works fine....
    However, when you select the print icon or the export icon a Windows Internet Explorer box to select page range etc. and then when you say OK, you recieve a File Download Box asking to Open/Save/Cancel one of the following:
    Print - Name: CrystalViewer.pdf, and Type of pdf_auto_file
    Export - Name: CrystalViewer.rpt, and Type of CrystalReports
    I have no IDEA what he is trying to do but he sure ain't printing.  I can only assume that I have a missing part that he is trying to download at the time of print/export. Or that there is something set in the script that is killing me...
      Sub ViewReport( iStore, id, token)  
      URI = "./viewer/en/viewreport.csp?id=" & id & "&token=" & token & GetPrompt
       Set viewer = Server.CreateObject( "CrystalReports.CrystalReportViewer" )
       Set rptFactory = iStore.EnterpriseSession.Service("", "PSReportFactory")
       Set rptSource = rptFactory.OpenReportSource(CInt(id))
       ' Set the viewer's properties to prepare it for viewing.
       With viewer
          .ReportSource       = rptSource
          .EnterpriseLogon    = iStore.EnterpriseSession
          .URI                = URI
          .ISOWNPAGE          = TRUE
          .ISOWNFORM          = TRUE
          .HasPrintButton     = TRUE
          .ISDISPLAYPAGE      = true
          .isdisplaytoolbar   = true
          .isDisplayGroupTree = true
          .GroupTreeWidthUnit = 1
          .GroupTreeWidth     = 17
          .HasRefreshButton   = true
          .HasExportButton    = true
          .ParameterFields    = GetParams
       End With
        If Err.Number <> 0 Then
          'There was an error setting up the viewer.
          Response.Write "<p>Unable to create report viewer. " & Err.number
       Else
          'Process the request and launch the viewer.
          viewer.ProcessHttpRequest Request, Response, Session
          'viewer.refresh
       End If
    End Sub
    Help me???

    Please re-post if this is still an issue to the .NET Development - Crystal Reports Forum or purchase a case and have a dedicated support engineer work with you directly

  • Print, Export and Page Navigation Buttons in the Report

    When I view a report through CR4E, the generated report has 3 buttons namely Print, Export and Page Navigation buttons. But when I click on either of the buttons I get a &#39;null pointer exception&#39;. This is a critical error as I am unable to navigate past the first page. Do I have to add code to these buttons? If not, why am I getting an error? Kindly solve my problem as soon as possible.

    <p>Looking at your code it appears that you are storing the ReportSource in session prior to passing in the ResultSet. This will create a problem when a postback is made on  the viewer page (which all of the viewer actions do). If you look at the sample code which is generated when you use the JSP Page Wizard you will notice that the ResultSet is passed to the ReportClientDocument object prior to it being stored in session. Then, when the page is called again this object is retrieved and the ReportSource is used by the viewer. You can quickly run the test using one of our sample reports to see what I am talking about. The code below was generated using the Consolidated Balance Sheet.rpt and did not experience any problems doing any of the viewer actions.</p><%@page import="com.businessobjects.samples.JRCHelperSample,<br />com.crystaldecisions.report.web.viewer.CrystalReportViewer,<br />com.crystaldecisions.reports.sdk.ReportClientDocument,<br />com.crystaldecisions.sdk.occa.report.application.OpenReportOptions,<br />com.crystaldecisions.sdk.occa.report.lib.ReportSDKExceptionBase,<br />com.crystaldecisions.sdk.occa.report.reportsource.IReportSource,<br />java.sql.Connection,<br />java.sql.DriverManager,<br />java.sql.ResultSet,<br />java.sql.SQLException,<br />java.sql.Statement"%><%<br /><br /><br />    try {<br /><br />        String reportName = "Sample Reports/Consolidated Balance Sheet.rpt";<br />        ReportClientDocument clientDoc = (ReportClientDocument) session.getAttribute(reportName);<br /><br />        if (clientDoc == null) {<br /><br />            clientDoc = new ReportClientDocument();<br />            <br />            // Open report<br />            clientDoc.open(reportName, OpenReportOptions._openAsReadOnly);<br /><br />  <br />            {<br />                // **** POPULATE MAIN REPORT ****<br />                {<br />                     // Connection Info for fetching the resultSet<br />                    String connectStr = "jdbc:derby:classpath:/Xtreme";<br />                    String driverName = "org.apache.derby.jdbc.EmbeddedDriver";<br />                    String userName = "dbuser";        // TODO: Fill in database user<br />                    String password = "dbpassword";    // TODO: Fill in valid password<br /><br />                    String query = "SELECT CUSTOMER_NAME FROM APP.CUSTOMER WHERE COUNTRY = &#39;Australia&#39;";<br /><br />                    <br />                    String tableAlias = "FINANCIALS";        // TODO: Change to correct table alias<br /><br />                     <br />                    JRCHelperSample.passResultSet(clientDoc, fetchResultSet(driverName, connectStr, userName, password, query),<br />                        tableAlias, "");<br />                }<br /><br /><br />            }<br />        <br />            // Store the report document in session<br />            session.setAttribute(reportName, clientDoc);<br /><br />        }<br /><br /><br />            {<br />                // Create the CrystalReportViewer object<br />                CrystalReportViewer crystalReportPageViewer = new CrystalReportViewer();<br /><br />                //    set the reportsource property of the viewer<br />                IReportSource reportSource = clientDoc.getReportSource();                <br />                crystalReportPageViewer.setReportSource(reportSource);<br /><br />                // set viewer attributes<br />                crystalReportPageViewer.setOwnPage(true);<br />                crystalReportPageViewer.setOwnForm(true);<br /><br />                // Process the report<br />                crystalReportPageViewer.processHttpRequest(request, response, application, null); <br /><br />            }<br />            <br /><br />    } catch (ReportSDKExceptionBase e) {<br />        out.println(e);<br />    } <br />    <br />%><%!<br />// Simple utility function for obtaining result sets that will be pushed into the report.  <br />// This is just standard querying of a Java result set and does NOT involve any <br />// Crystal JRC SDK functions. <br /><br />    private static ResultSet fetchResultSet(String driverName,<br />            String connectStr, String userName, String password, String query) throws SQLException, ClassNotFoundException {<br /><br />        //Load JDBC driver for the database that will be queried    <br />        Class.forName(driverName);<br /><br />        Connection connection = DriverManager.getConnection(connectStr, userName, password);<br />        Statement statement = connection.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_READ_ONLY);<br /><br />        //Execute query and return result sets<br />        return statement.executeQuery(query);<br /><br />}%><p>Try using the code generated from the wizard to see if it works for you as well. </p><p>Regards,<br />Sean Johnson (CR4E Product Manager) </p>

  • "Error while printing." over network

    I am trying to print from a mac mini running 10.4.11 to a printer on a macbook pro running 10.5.3. The printer is using the Laserjet 4 Gutenprint driver. When I connect the printer directly to the mac mini, everything works fine. I can use the PDF export options on the print dialog just fine. When I try to print over the network "Processing..." flashes up and I immediately get "Error while printing." I have tried resetting the print queue on both machines, (turning sharing off and on) rebooting, deleting and installing the printer on either machine multiple times. I've repaired permissions on both machines and the cups error_log gives me literally no information when that message pops up. Help!?

    I've also noticed that while the network printer is selected, I can't use the preview feature in the print dialogue, nor do the PDF features work. I get the same "Processing..." then "Error while printing." In addition, with the network printer selected, when I try to print from page 1 to 1 of a multipage document it tells me "Error: Invalid Page Range. The number is out of range. Resetting back to last known valid entry." it resets it to 1 to 1 and gives me the same error if I click print.

  • Cannot Print/Export to PDF in OBIEE 11G

    Hello,
    Since upgrading to OBIEE 11g (currently on 11.1.1.6) I have random occasions where I am unable to print a whole page or even export a single report to PDF. We experienced this when on 11.1.1.5 but all I get is an "Internet Explorer cannot dispaly this page" It is not related directly to IE as I am able to reproduce the error with Firefox as well.
    Has anyone else seen and overcome this issue? I have been unsuccessful finding any information on this in Oracle's support KB. Any help or suggestions would be greatly appreciated.

    It has been a while since I have checked this. Sorry for any delay. We have attempted to rearrange items however have had no luck.
    On small break through we have is that we have a custom link setup using Microsoft IIS on our server so we can access the application from outside of our network rather than just internally. We have found that we only have the print/export issues when using this external link so there may be an issue with our IIS configuration. Just throwing that one out there in case anyone has had a similiar issue with IIS configuration and found a fix.

  • The only working print-related function in BioBench1.2 on my PC is the "Print Report", all the other "Print" functions gave me "Error, the printer is not set up correctly".

    I used to print all my BioBench data by first exporting them to Excel and then print from there. Recently I need to print some of the screen shots and some data directly from array analysis, but when I click on the "print" buttons, the "Error, the printer is not set up correctly" message occurs. The only thing I can print from BB without this error is the report printing function. I have a postcript printer and I have set the postscript option to be "true"... Thanks !

    This problem is a result of a limitation in Windows 9x regarding the size of an image that you can send to the printer. The problem does not occur on Windows 2000/NT. This problem appeared with the increased color options of LabVIEW 6.0 on which the BB1.2 is based.Although it is not immediately obvious, your video driver and settings play a role in printing.
    1. Try adjusting the color palette your driver uses (i.e., 256 color, high olor, true color). The error may occur only in one of these modes. Also, change the resolution (number of pixels) to represent the Screen Area; e.g., change from a 1024 x 768 display to an 800 x 600 pixel display.
    2.Certain video drivers also support "acceleration" modes. Using a non-accelerated mode often eliminates the error. For
    Windows 95/98, right-click on your My Computer icon and select "Properties" from the pop-up
    menu. On the Performance tab, click the Graphics button and change the Hardware Acceleration (e.g., if it is set to "Full", lower the setting a notch or two); for Windows 2000/NT, right-click on your Desktop and select "Properties" from the pop-up menu. On the Settings tab, click the Advanced button and go to
    Troubleshooting.
    3.In Windows, the standard VGA driver provided by the operating system is very stable. Try using this driver in place of the specific one written for your video hardware. If the error is eliminated, there is likely a problem with your vendor-provided video driver.
    4.These errors are most often fixed with the latest
    video/printer driver. Be sure to contact your hardware manufacturer and install the latest driver. An easy way to determine if your error is "driver-related" is to move your code to another machine (and hopefully a different set of drivers) and see if th
    e error persists. If the problem is printer related, try another printer.
    5.Make sure there are at least 100M avalible space in your C: drive. If not, set the virtual memory to the other drive which has larger available space.

  • Out of Memory Error when printing

    I'm stumped and need help.  I've been creating a "roster" of our employees in InDesign CS5.5.  I've got approximately 16 photos per page, and only have 2 pages in the document so far.  I have created an InDesign file that is kind of a photo frame image that has some gradients and drop shadows applied to it.  When I place this InDesign file on the master page 16 times so that it appears over each image, I am unable to print the files, as I get an "error due to an out of memory condition".  (I can print when the 16 instances of the photo frame image is taken out, and I can print when there is only one instance of the photo frame image in it).  I'm assuming it has something to do with InDesign having to apply/redraw the effects/gradients to each and every instance of the "photo frame image."  Is there something that I'm missing, like a way of placing multiple instances of a file so that it doesn't have to redraw each and every one?  The graphic frame image that I haven't isn't anything too complex by any means, and I don't see why InDesign shouldn't be able to handle this.
    Any help is greatly appreciate!  Thanks in advance!

    Hi Sue,
    I had the same problem a few days ago. My problem was caused by a hoard of vector images on the same page (flattening that page drove my fairly optimized PC crazy).
    I solved the issue by opening the vector file in Photoshop, duplicating the layer with the image I wanted into an 8.5 x 11 spread, merging all layers when I was finished, and saving that spread as a .PSD (with maximize compatibility checked). Then I placed the .PSD into InDesign. This isn't perfect, I know, but the images look almost the same at zooms of up to 150% and printing / exporting takes a fraction of the time, not to mention my printed .PDF is 3 mb smaller.
    I guess what I'm saying is:
    1. You could put all 16 frames from 1 page in 1 file
    2. You could save that file as a .PSD to retain a nice size/quality ratio
    Hope this helps!
    Cheers,
    Reid
    p.s. How many cores does your processor have? When I switch between my single core laptop, dual core PC and quad core PC, I notice a profound difference in Adobe product speeds.

  • HELP..."An communication error occurred printing will be stopped"

    The error message "An communication error occurred printing will be stopped" appears when i try to print a report please anyone have a solution ??
    I am using Crystal reports 2008 & Java reporting component "crjava-runtime_12.2.211" to embed my report in a jsp using netbeans, I put the JRC lib & crystalreportviewers in my web application folder.
    thanks

    I'v downloaded Eclipse to use the plug ins made for crystal reports web applications & made a project using it instead of using netbeans && compared my project"using netbeans" with the other one"using eclipse" &&&....Finally I got it!
    this tags where missing in the web.xml file!!
    <servlet>
        <servlet-name>CrystalReportViewerServlet</servlet-name>
        <servlet-class>com.crystaldecisions.report.web.viewer.CrystalReportViewerServlet</servlet-class>
      </servlet>
      <servlet-mapping>
        <servlet-name>CrystalReportViewerServlet</servlet-name>
        <url-pattern>/CrystalReportViewerHandler</url-pattern>
      </servlet-mapping>
    Its now working & printing & exporting!
    Thanks,
    Menna Hamza

  • Error while printing.

    Error while printing.

    PowerPC Mac 10.4.11, Print with Safari with: Error while printing.
    Others AP: Printer Setting Utility can't pop up, no effective.

  • Error in Pre- Export methods for a request

    Hi All,
    I am getting an error while releasing a request, its giving
    "Error in Pre- Export methods for a request DM0k.....". Could you please tell me why and how can I rectify that?
    Thanks.
    NA

    Please go through as per the link
    [SAP Transport Request |http://www.sap-basis-abap.com/sapbs008.htm]
    thanks
    G. Lakshmipathi

Maybe you are looking for