Unhandled COMException Message: No Error. during printing some reports, extend Exception Info
Hi,
i'm using Crystal Reports for VS version 13.0.13.1597 with Visual Studio 2013
Unfortunately I get a COMExeption when trying to Print some reports after previously displaying a preview using the CrystalDecisions.Windows.Forms.CrystalReportViewer Component.
System.Runtime.InteropServices.COMException was unhandled by user code
HResult=-2147483648
Message=
No Error.
Source=rptcontrollers.dll
ErrorCode=-2147483648
StackTrace:
at CrystalDecisions.ReportAppServer.Controllers.ReportSourceClass.GetPage(PageRequestContext pPageRequestContext)
at CrystalDecisions.ReportSource.EromReportSourceBase.GetPage(PageRequestContext pageReqContext)
at CrystalDecisions.CrystalReports.Engine.FormatEngine.QueryPageSettingsEventHandler(Object sender, QueryPageSettingsEventArgs e)
at System.Drawing.Printing.PrintDocument.OnQueryPageSettings(QueryPageSettingsEventArgs e)
at System.Drawing.Printing.PrintDocument._OnQueryPageSettings(QueryPageSettingsEventArgs e)
at System.Drawing.Printing.PrintController.PrintLoop(PrintDocument document)
at System.Drawing.Printing.PrintController.Print(PrintDocument document)
at System.Drawing.Printing.PrintDocument.Print()
at CrystalDecisions.CrystalReports.Engine.FormatEngine.PrintToPrinter(PrinterSettings printerSettings, PageSettings pageSettings, PrintLayoutSettings layoutSettings, Boolean reformatReportPageSettings)
at CrystalDecisions.CrystalReports.Engine.ReportDocument.PrintToPrinter(PrinterSettings printerSettings, PageSettings pageSettings, PrintLayoutSettings layoutSettings, Boolean reformatReportPageSettings)
at CrystalDecisions.CrystalReports.Engine.ReportDocument.PrintToPrinter(PrinterSettings printerSettings, PageSettings pageSettings, Boolean reformatReportPageSettings)
at Soloplan.CarLo.Printing.PrintAdapterCrystalReports2011.Print() in c:\project.net\Soloplan\CarLo\Printing\PrintAdapterCrystalReports2011.cs:Line 1528.
InnerException:
As you can see the error message is a bit short on information what went wrong, especially the Message: No Error.
Is there any possiblity to extend the information on this exception?
The behavior is reproducible with some reports, while others work just fine, and even with the problematic reports it only when the call of the Print function is done while the preview is shown.
I hope someone can point me in the right direction.
Thanks
Johannes
Wow. It's been a long, long time since I've seen CR throw error: no error (like v. 4.5 or so...). Used to chuckle about it - I think I even saved a screenshot of it
It will be good to have more info on this:
Win or web app?
Printer used.
Printer driver name and version.
The reports that do not work throw the error consistently?
Code used to print the reports.
Is this a threaded app?
Do you get the issue printing from the viewer?
Do you get the issue printing from the designer viewer?
- Ludek
Senior Support Engineer AGS Product Support, Global Support Center Canada
Follow me on Twitter
Similar Messages
-
Error during print request output. l_rc = 1
Hi ,
I have a request to create on ouput device which can copy the spool request to desired location in application server. Our server is not connected to any physical server and is windows NT.
I am tring to create ACCESS TYPE 'L' with host printer name '__default'.
I am using control set to copy file at desired location on server
COPY &F <path for file to be copied>&T
File is being copied to desired location but its returing error message "Error during print request output. l_rc = 1"
Complete log is below:
SAP spool error log
=====================
Print request processing log
The host spool is reporting errors
Message from host spool:
1 file(s) copied.
End of message
Command used: COPY E:\usr\sap\D06\DVEBMGS00\data\000002934300001.D06 E:\interface\D06\
Errors occurred processing this print request
Error during print request output. l_rc = 1
There may be no printout
Most important attributes of spool request
Request number 29343
Request name SCRIPT ZRAJ BASISADMIN
Client 220
Owner BASISADMIN
Request attributes
Time created 2008102906203900
Remaining life +00008000000
Dispo 1 (Go/Hold) G
Dispo 2 (Keep/Delete) K
Dispo 3 (Indirect/Direct) D
Default output device ZRAJ
Default no. copies 1
Format X_PAPER
Main print request characteristics
Spool request number 29343
Print request number 1
Print request attributes
Time created 2008102906203900
Output device ZRAJ
Format X_PAPER
Character converter active when first problem occurred
No information available
Pls help.
Regards
Raj KiranIf you have done a search with your subject line, you would have got the following [results.|https://www.sdn.sap.com/irj/sdn/advancedsearch?query=%22errorduringprintrequestoutput.l_rc%3D1%22&cat=sdn_all]
so do a search in SCN before posting your question.
Regards
Karthik D -
Error printing Check - "Missing Parameter Values. Error During Printing"
Dear friends,
Our client is in SAP B1 8.81 Pl07 and is facing an error while printing checks designed in Crystal Reports. As soon as they click on "Print" button, we are getting an error "Missing Parameter Values. Error During Printing".
We have checked the Crystal Reports and all the parameters are given.
Can anyone help me regarding this?
Thanks and regards,
Bharath Shi,
Quoted from Note 1555170
1555170 - Error 'Missing parameter values' printing with CR layout
Symptom
When you print on add any stock transactions document, with Crystal report layout, you receive error message:'Missing parameter values' and then 'Error during the printing; ensure all parameters are defined'
Step by Step scenario:
1.Go to Administration / System Initialization / Print preferences and select the tab per document.
2.Select the document stock transfer and tick the box print document when adding document and click on update.
3.Go to stock management / stock transactions / stock transfer
set the Crystal report template as default.
Note:
- The issue is reproduced also for Goods Receipt and Good Issue.
- The issue is reporduced with any Crystal Report Template for the above documents.
Cause
Program error
Solution
This issue is candidate for a change in a future release of SAP Business One.
Workarounds:
1.Use PLD for printing the stock transactions.
2.Convert the PLD layout to Crystal reports with Crystal converter.
3.Print the document after adding it.
Other terms
sap business one, printing issues, good issue, good receipt, stock transfer, crystal report, print preferences, print when adding, dockey, missing parameter
Header Data
Released on 07.02.2011 13:27:30
Release status Released for Customer
Component SBO-REP-CR Crystal Reports 2008 for SAP Business One
Other Components
SBO-GEN-PRT Printing Issues
Priority Correction with low priority
Category Program error
Validity
Software Component
Version
SAP BUSINESS ONE
8.8
8.81
you can download the PLD to Crystal Converter [here|http://www.sdn.sap.com/irj/scn/downloads?rid=/library/uuid/108305a7-1555-2d10-8289-9a178d441c71]
regards,
Fidel -
Error during printing: Ensure all parameters are defined
Forum,
I have the following issue on 8.81 PL08. When trying trying to print from the Outgoing Payment screen we get the following message: Error during printing: Ensure all parameters are defined.
What parameters specifically would it be referring to?
Regards,
JuanHi,
IS the error occurred only in outgoing payment? or what changes have you done?
Try to create new PLD copy from system PLD then edit the field.
Everytime you inserted a fields try to run the PLD so that we can determine the problem.
Thanks.
Clint -
When saving iDVD to disk image the following message appears: "Error during rendering/codification. There was an error during rendering/codification of menus/slide presentation. The recording process was canceled.
What am I doing wrong?Read and answer the questions posted by Bengt Wärleby in this thread: Cant burn my idvd project to...: Apple Support Communities
OT -
I seem to have a weird error. Whenever I print system reports or preview them on the server it works just fine but if I go to print them or preview them on a terminal server I get an error. When I go to print I get the error "Error during printing; ensure all parameters are defined". When I preview them I get asked for the database login. I've put in the correct login and tried integrated security to no avail. I have looked at the self help application and tried both Case 1 and Case 2 under Environmental issue and I've done the Appendix. I have never seen had this problem before. Any suggestions?
SAP Version: 8.81 PL10
Server OS: Windows 2008 R2
SQL Server: 2008 R2
Terminal Server OS: Windows 2003This problem is due to mismatch between too servers. You may have to modify registration keys to make is work.
Search (x86) in registry and/or user profile to find all Crystal Report related entries on the Terminal Server to correct. -
Hi, I am trying to set up an airport express hub to work with a Star tsp100 receipt printer and IPad 2. The IPad is being used to accept credit card payments and I was hoping to print receipts out wirelessly using the airport express and receipt printer. I checked to make sure the airport express has the latest firmware and it does. The IPad software is also updated to the latest 7.1. I then connected the Airport express and IPad and the network setup with no problems. I connected the receipt printer to the airport express using the USB slot available. While the printer comes up as available, when I attempt to print something, I get the error message "An error occurred printing this document" and I can cancel or Try again. No matter how many times I try, I continue to get this message and I lost as to the cause. When I disconnect and reconnect, another instance of the printer appears, but receive the same cryptic error message when I try to print. Totally lost, please help
Hi kelston3,
In order to print from an iPad you will need to use a printer that is compatible with AirPrint, which is described in the following article -
About AirPrint
http://support.apple.com/kb/HT4356
AirPrint printers must be wireless on your network - not connected via USB to the base station. There is a list of printers that are known to be compatible with AirPrint in the article.
Thanks for using Apple Support Communities.
Best,
Brett L -
Problem with printing some report
hi very body
we have some problems with printing some reports.
the problem is when printing a report the computer processes stoped
and i should restart the computer a gain to print the report for first time and
then in the second time i have same problem.Maher,
You can check out the new printer driver test utility verions2.0 on OTN at:
http://otn.oracle.com/software/products/reports/files/printerdrivertest.zip
This should help you determine if it is a printer problem or whether you should look into another area.
Also, you don't mention which version of reports, what command line options your using, the computer
configuration your using whether it is a network printer or local printer connected to the machine. Support
will need this information to help determine where your problem lies.
Regards,
The Oracle Reports Team -
Message VL864 Error during copy partner: SP
Hi
When I try to create a delivery note for project in transaction CNS0,
I receive the below error
VL864 Error during copy of partner: Patner role SP..
The ship to party is connected to a SP both in the project and in the
customer master data.
Thank you in advance for your kind help.
Best Regards
CarinaHI
Check the Below Link
[Re: Delivery from PS (CNS0) - Error Message VL864 |Delivery from PS (CNS0) - Error Message VL864;
Regards,
Prasanna -
Error While Printing the Report
Post Author: saqib
CA Forum: .NET
HI All,I have joined this forum recently. I found this forum so helpful. I have one query which is: I am using crystal report 10 with Dot Net 1.1, I have created one web report which consists of 19 pages. Once i press the print button on the report after previewing it shows me the error reporting screen of windows. I have checked in event viewer it gives me the following error detail:The description for Event ID ( 1000 ) in Source ( Microsoft Internet Explorer ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. The following information is part of the event: iexplore.exe, 6.0.2800.1106, printcontrol.dll, 10.0.0.533, 0003bb45. Can any one helps me as i am totally stuck in that. Thanks in advance.Try the following if your printer is a network printer
1. Add Printers - select Local Printer
2. In the Add Printer wizard, select "create a new port" option and select "TCP/IP" as type
3. Write the IP address of the network printer in the "Add standard TCP/IP Printer Port wizard". The port name becomes IP_<ip addr>. Click Next.
4. Select the printer and printer type in "Add Printer" wizard.
5. Select a driver and Write a printer name. This completes the setup. Use this printer name to print from Oracle reports.
Hope this helps..
Yogesh
I am getting this error message while printing the report on Network Printer.
"REP-1849: Failed while printing"
Reports Server is not installed on my machine.
On shared printer, it has no problems.
Platform is Win2000. Report Builder 6.0.8.11.3
Plz help !
Thanks in advance ! -
Error while running some reports
Hi All,
We are facing issues while running some reports in BI production portal and below are some error messages.
--Access Error: Aithorization Check for caller assignment to j2ee security role (service.naming:jndi_all_operations] referncing j2ee security role [SAP -J2ee -engine :administrators].
--serialization failed for object (PCD location)
--The metadata of CMD "open_Dialog_DLg_Variable" are incorrect for parameter "Target_Dialog_Ref"
Kindly help me to resolve the above issue .
Regards,
Nithyathis is something to do with the java stack (J2EE engine) and its Authorizations..
So contact Basis explaining the issue and they should be able to help you out to get the proper access. -
4.0 EA1 Error during setting up reporting schema
Hello,
during creation of the reporting schema the following error window pops-up:
Error occured while creating Reporting Schema. See the log file for details.
The log file contains the following information:
2013-08-20 09:20:00,036 [Thread-57] ERROR SchemaFactory - SchemaFactory create
java.sql.SQLException: ORA-01450: maximum key length (3118) exceeded
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:440)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:396)
at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:837)
at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:445)
at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:191)
at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:523)
at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:193)
at oracle.jdbc.driver.T4CStatement.executeForRows(T4CStatement.java:999)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1315)
at oracle.jdbc.driver.OracleStatement.executeInternal(OracleStatement.java:1890)
at oracle.jdbc.driver.OracleStatement.execute(OracleStatement.java:1855)
at oracle.jdbc.driver.OracleStatementWrapper.execute(OracleStatementWrapper.java:304)
at oracle.dbtools.crest.exports.reports.SchemaFactory.createSchema(Unknown Source)
at oracle.dbtools.crest.exports.reports.ReportsHandler.checkDB(Unknown Source)
at oracle.dbtools.crest.exports.reports.ReportsHandler.export(Unknown Source)
at oracle.dbtools.crest.swingui.ControllerApplication$ExportToReportsSchema$1.run(Unknown Source)
Build: 4.0.0.816
JoopHi,
This exception is thrown by index creation and basically it depends on database db_block_size parameter.
What you can do is setup the reporting repository from DM 3.3. After that run manually /datamodeler/reports/DMRS_Upgrade_Script_DM3.3_DM4.0.sql against the database. One (probably DESIGNS__IDX) of the index creation statements will fail. We'll fix the message in the log file with the exact index name.
Thanks for reporting the issue -
Error in Printing Crystal Report Directly to Printer using SDK Code
Hello ,
I am trying to print a crystal report created in SAP Crystal Reports 2008 through SDk Code using one parameter
as (Document Number).But While running the Code the Report is not getting printed and also the system is
not able to fetch the correct data in the report using the supplied parameter .
I am using Visual Studio 2005 Crystal Report dll s in my code :-
Imports CrystalDecisions.CrystalReports.Engine
Imports CrystalDecisions.Shared
Imports CrystalDecisions.CrystalReports
Imports System
Imports System.Data.SqlClient
Imports System.IO
For Clarification i am pasting my code below :-
Dim oRpt As ReportDocument
oRpt = New ReportDocument
oRpt.Load(Path)
With crConnectionInfo
.ServerName = Server
.DatabaseName = Database
.UserID = User
.Password = Password
End With
CrTables = oRpt.Database.Tables
For Each CrTable In CrTables
crtableLogoninfo = CrTable.LogOnInfo
crtableLogoninfo.ConnectionInfo = crConnectionInfo
CrTable.ApplyLogOnInfo(crtableLogoninfo)
Next
oRpt.ParameterFields("Document Number").CurrentValues.AddValue(Parameter)
If Printer <> "" Then
oRpt.PrintOptions.PrinterName = Printer
End If
oRpt.PrintToPrinter(Copies, False, 0, 1)
Catch ex As Exception
SBO_Application.MessageBox(ex.Message)
End Try
Please suggest me what i have to do in my code to print the report with correct data in report.
Thanks & Regards,
Amitk
-
Error according printing html report
I bulid a vi to print HTML report but I have problem printing this report .
I try ever to used some example which national Instrument bulid , such as Report Generation > Text
Report, but ever in this example I couldn't print the file (HTML).Wisam,
Could you tell us what procedure are you following to run that example? and also what version of LabVIEW you have?
The way you have to run that example (Text Report.vi) is that when you open it, in the control that reads: "Report Type" you select HTML, and also in the control that reads "HTML Save Path" you set the path like for example "C:\test1.htm", now run it and you should have now the HTML format type report. I believe that you also have in that same directory of examples another one called : Example HTML Report Report, that one also shows how to print a report to an HTML file. Try the example you mention setting up the controls that I wrote above and it should work. If not please contact us and we can try to send you an original example and see if i
t works. You can do it by this same means or by direct contact ( www.ni.com/ask ).
Good luck!...
Nestor Sanchez
Applications Engineer
National Instruments
Nestor
National Instruments -
Run time error while printing ALV report
Hi,
At the time of printing a report output we get a dump GETWA_NOT_ASSIGNED.
The printer used here is LOCL.
The length of the report increases dynamically according to no. of months given in range.
In report , there are 3 static columns & no. of columns increases by 2 for each month. System is printing the report for 1 month ie. (3+2) columns . but if no. of months increased to 2 ..... no. of columns also increases by 2.... in this case system is giving dump.
Please help.
Thanks in advance,
VijetaHi
1. check the fieldcat ( ie. CURR field without WAERS field.. )
2. check if you want to use colours at calling the ALV.. but you don´t fill the deep structure for the colours...
bestreg Robert
Maybe you are looking for
-
[Solved]Problem with Wicd and D-bus
I get this error at login: "could not connect wicd d-bus interface. Check thw wicd log for error messages" I restarted both wicd and dbus demons, but didnt work. bash-3.2# wicd-client Importing pynotify failed, notifications disabled. Has notificatio
-
Removing a row from SQL query results when there is a duplicate hostname
I have a query created for a software usage report in SCCM. When there are multiple versions of the same software (Acrobat) installed on the same machine, I will receive duplicate results for the same machine. For example, it will come back with Acro
-
Crystal Report 9 performance issue wehn we move old DB to new DB server
We are using Crystal Reports 9 version, recently we move to new database server and reports data source are pointing to Old database server and old database server is no longer in the network. , Now we have issue with the performance, if the we call
-
Is variance account needed for moving average item valuation?
Hi All, My client is currently using SAPB1 ver.2005 and upgrade from ver.2004. After upgrade, in ver.2005, they want to add A/P credit memo that is copied from A/P invoice they have created earlier in ver.2004. When they tried to do that, system prom
-
Automatic clearing of FI documents
When I reversed a MIRO invoice through MR8M, the invoice was successfully reversed, but the corresponding FI documents were not reversed. Is that normal, shouldnt the FI document be reversed automatically. We are using ECC 6.0. The system gave me th