"Failed to open report" error while running reports using Crystal Report
We have a web application develeoped in ASP.Net, SQL Server 2005 , Crystal Reports 10.0. Sometimes if a large number of users run reports from their individual nodes they receive an error "Failed to open report ", if we restart the IIS they are able to run the reports. In addition to this the users also sometimes get the error "Maximum Report limit attained". Can any one provide me with a solution other than restarting the IIS.
Hi,
Use the close and dispose method for Report object. Its a best practice to code also gc.collect for garbage collection.
It might help you!!
Regards,
Amit
Similar Messages
-
Failed tp open .prp file while running HAL ...it says Sharing voilation ..
I am running a HAL job.
While opening .prp file it says error Sharing voilation cannot open file.
Please help to resolve issue.Are you sure there are not multiple instances of the prp open, say 2 remote connections both with the file open.
If there is a lock on the file and you are able to reboot the machine I would give that a go.
Cheers
John
http://john-goodwin.blogspot.com/ -
Rdf Report Error while running from concurrent program
hi,
i have created a RDF Report with the below query created Concurrent Prog exec and Concurrent Prog with the respective parameters
p_fromsrdate---FND_STANDARD_DATE(ValueSet)
p_tosrdate---FND_STANDARD_DATE(ValueSet)
for the report layout i have taken example template working fine from the report console
SELECT
incident.Incident_Number as ServiceRequestNumber,
TO_CHAR (incident.incident_date,'DD-MON-YYYY') as ServiceRequestDate,
incident.Summary as Summary,
agenttime.agentname as AgentName,
to_char(agenttime.agentstarttime,'DD-MM-YYYY HH24:MI') as StartTime,
to_char(to_date('00:00:00','HH24:MI:SS') +
(agenttime.endtime-agenttime.agentstarttime), 'HH24:MI') as TimeSpent
FROM cs_incidents_all_b incident,cs_agenttime_agv agenttime
WHERE agenttime.incident_id=incident.incident_id
AND incident.incident_date between to_date(:p_fromsrdate,'DD-MON-YYYY')
AND to_date(:p_tosrdate,'DD-MON-YYYY');
Service: Version : 12.0.0
Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
AGTIMREP module: SR Agent Time Report
Current system time is 01-AUG-2009 04:46:13
+-----------------------------
| Starting concurrent program execution...
+-----------------------------
Arguments
p_fromsrdate='2009/07/05 00:00:00'
p_tosrdate='2009/07/20 00:00:00'
APPLLCSP Environment Variable set to :
Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
American_America.UTF8
Enter Password:
REP-0069: Internal error
REP-57054: In-process job terminated:Terminated with error:
REP-300: ORACLE error occurred.
Report Builder: Release 10.1.2.0.2 - Production on Sat Aug 1 04:46:21 2009
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Start of log messages from FND_FILE
End of log messages from FND_FILE
Program exited with status 1
Concurrent Manager encountered an error while running Oracle*Report for your concurrent request 4444878.
Review your concurrent request log and/or report output file for more detailed information.
Executing request completion options...
Finished executing request completion options.
Concurrent request completed
Current system time is 01-AUG-2009 04:46:23
---------------------------------------------------------------------------hi,
i have enabled the trace
Service: Version : 12.0.0
Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
AGTIMREP module: SR Agent Time Report
Current system time is 01-AUG-2009 06:25:18
+-----------------------------
| Starting concurrent program execution...
+-----------------------------
Arguments
p_fromsrdate='2009/07/05 00:00:00'
p_tosrdate='2009/07/07 00:00:00'
-- Start of Reports Command --
/home/orasfa/inst/apps/SFA_appsr12/ora/10.1.2/bin/appsrwrun.sh
P_CONC_REQUEST_ID=4444890
p_fromsrdate='2009/07/05 00:00:00'
p_tosrdate='2009/07/07 00:00:00'
report=/home/orasfa/apps/apps_st/appl/cs/12.0.0/reports/US/AGTIMREP.rdf
batch=yes
destype=file
desname=/home/orasfa/inst/apps/SFA_appsr12/logs/appl/conc/out/o4444890.out
desformat=XML
-- End of Reports Command --
Request language is :
AMERICAN
Request territory is :
AMERICA
APPLLCSP Environment Variable set to :
Previous NLS_LANG Environment Variable was :
American_America.UTF8
Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
American_America.UTF8
Enter Password:
REP-0069: Internal error
REP-50002: Server is shutting down
Report Builder: Release 10.1.2.0.2 - Production on Sat Aug 1 06:26:20 2009
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Start of log messages from FND_FILE
End of log messages from FND_FILE
Reset original NLS_LANG in environment as :
American_America.UTF8
Program exited with status 1
Concurrent Manager encountered an error while running Oracle*Report for your concurrent request 4444890.
Review your concurrent request log and/or report output file for more detailed information.
Executing request completion options...
Finished executing request completion options.
Concurrent request completed
Current system time is 01-AUG-2009 06:26:20
--------------------------------------------------------------------------- -
Error while trying to load Crystal report via Windows service
Hi,
I am trying to generate PDF file using crystal reports. I have developed a console application which works absolutely fine, however when I converted the code to work as windows service (wcf hosted in Windows service), this below error I see from stack trace:
Load report failed.
at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()
at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob)
at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename)
at AtDataWindowsService.GetData.generatePDF(DataTable dt)
The code used is:
CrystalDecisions.Shared.ExportFormatType exportFormat;
ReportDocument reportObj = new ReportDocument();
exportFormat = CrystalDecisions.Shared.ExportFormatType.PortableDocFormat;
//Load the Crystal Report
reportObj.Load("CrystalReport.rpt");
reportObj.SetDataSource(dt);
What might be going wrong here?Hello,
Thank you for your post.
Based on your description, I am afraid that the issue is out of support of VS General Question forum which mainly discusses
WPF & SL designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System
and Visual Studio Editor.
I suggest that you can consult 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. -
"Failed to open report" error while running reports
We have a web application develeoped in ASP.Net, SQL Server 2005 , Crystal Reports 10.0. Sometimes if a large number of users run reports from their individual nodes they receive an error "Failed to open report ", if we restart the IIS they are able to run the reports. In addition to this the users also sometimes get the error "Maximum Report limit attained". Can any one provide me with a solution other than restarting the IIS.
Hi Balla
If you face this issue only while running the reports from a .Net web application, then please post this thread to the sdk development forum.
You can follow the link below:
https://www.sdn.sap.com/irj/sdn/businessobjects-sdk-forums
Thanks -
Error while running batch in Hyperion Reports
Has anybody run accross this error while trying to run a batch in Hyperion Reports:
Unexpected Error creating query to datasource in createCubeViews:
The book the batch is running is big...Have you ever successfully scheduled a batch? Make sure the scheduled batch name does not contain an ampersand "&" symbol or an apostrophe/single tick symbol. Those cause batches to error out for us.
-Karen -
CRM Interactive reporting, error while running RSA1
Hello Experts,
I had configured CRM 7 with BI 7 system for reporting. Now I am trying to implement CRM interactive reporting using a different client (as reporting client) of the same CRM system.
While my CRM - BI scenario is working perfect, I am not able to configure the CRM interactive reporting using 2 different clients of the same system, When I am trying to run tx RSA1 from CRM reporting client, I get error "Logical system name has been changed".
Can anyone help me in this?Hi Vicky,
There must be some error in your logical system assignment.
I request you to run these reports Z_OLTP_CONFIG_CHECK ( In CRM Client ) and Z_OLTP_CONFIG_CHECK_BI( Reporting Client) in order to resolve the errors. These reports will clearly point out the errors.
Have a look at Note 1263075 - CRM Interactive Reporting Configuration Check for the reports.
Regards...
Arup -
Error while trying to install Crystal Reports 2008 SP3
Has anyone else come across this error before when running the SP3 update installer;
Crystal Reports 2008 SP3 Update is not allowed to install because a patch with a higher version was detected.
The installation then terminates. There has been nothing installed on this server to do with Crystal, aside from CR2008, SP1 and then the attempt at SP3.
ANY help appreciated
Edited by: Ludek Uher on Aug 18, 2010 2:07 PMPriyanka,
I'm already extremely annoyed that a new server build requires installation of CR2008, then SP1 before SP3 will even allow installation. Adding SP2 into the mix just makes it seem like none of the developers tested anything (which I'm seeing from just about every software company I deal with these days).
Besides, the 'SAP Business Objects Support Software Downloads' page no longer lists SP1 or SP2 as available downloads, so I'm going to have to try Don's solution first.
Regards. -
JNDI error while generating pdf from crystal reports in java
Hi, i want to generate PDF from crystal reports in java. I have the .PDF file with database configured into the report. Following details are available in report.
1. Server Name = testdb
2. Database Name = testdb
3. User
4. Password
I am using CR XI.
In CRConfig.xml i had given following details.
<JDBC>
<CacheRowSetSize>100</CacheRowSetSize>
<JDBCURL>jdbc:oracle:thin:@192.218.216.102:1521://TESTDB</JDBCURL>
<JDBCClassName>oracle.jdbc.driver.OracleDriver</JDBCClassName>
<JDBCUserName>user</JDBCUserName>
<JNDIURL>password</JNDIURL>
<JNDIConnectionFactory></JNDIConnectionFactory>
<JNDIInitContext>/</JNDIInitContext>
<JNDIUserName>testdb</JNDIUserName>
<GenericJDBCDriver>
<Default>
<ServerType>UNKNOWN</ServerType>
<QuoteIdentifierOnOff>ON</QuoteIdentifierOnOff>
<StoredProcType>Standard</StoredProcType>
<LogonStyle>Standard</LogonStyle>
</Default>
</GenericJDBCDriver>
</JDBC>
When i am calling from java as standalone, i am getting following error.
JRCAgent1 detected an exception: Error finding JNDI name (testdb)
at com.crystaldecisions.sdk.occa.report.lib.ReportSDKException.throwReportSDKException(Unknown Source) at com.businessobjects.reports.sdk.b.i.if(Unknown Source)
Can anyone let me know where is the problem?Actually, the question boils down to; does the framework support the fonts?
I believe that my question re. this working in the designer was valid. The designer does not use the framework, so if it works there, it is either a framework issue or a runtime print engine issue.
I believe if you use the code below, it will list fonts available to the framework:
foreach(FontFamily ff in FontFamily.Families)
System.Diagnostics.Debug.WriteLine(ff.Name);
For more information see kbase [1198306 - Crystal Report displaying incorrect font in Microsoft Visual Studio .NET|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_dev/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333133393338333333303336%7D.do]
Ludek -
Whitespace is not allowed at this location. Error while running CP using RDF with XML
Hi All,
I am using RDF report with output type as XML. It have following parameters:
1. Organization Name,
2. Invoice No From
3. Invoice No To
4. Date From
5. Date To
I had developed an RTF and registered that in Oracle Applications. The output comes in Excel file.
When I used to run report using Invoice Number From and Invoice Number To the report is giving normal excel output.
But when I am running using parameters Date From and Date To then XML output is coming after viewing output in CP Output button.
I downloaded that xml file. It is invalid as in the last of xml file it is showing following error message
"Whitespace is not allowed at this location".
Please let me know how can I resolve this problem.
Thanks in advance..
Regards
Sandipmy xml file looks like this....
<!-- Generated by Oracle Reports version 10.1.2.3.0 -->
<XX_ITEM_LOADING>
<LIST_G_BLANKET_NUMBER>
<G_BLANKET_NUMBER>
<CUSTOMER>SPS PVT LTD</CUSTOMER>
<INVOICE_NO>17356</INVOICE_NO>
<INVOICE_DATE>20-JUL-13</INVOICE_DATE>
<BUYER_REF>56780YP</BUYER_REF>
<ITEM_DESCRIPTION>XXCSD</ITEM_DESCRIPTION>
<NUM_OF_BEANS></NUM_OF_BEANS>
<CARIRER></CARIRER>
<SHIP_METHOD_CODE>UK568</SHIP_METHOD_CODE>
<MODE_OF_TRANSPORT>ROAD</MODE_OF_TRANSPORT>
<ASSEABLE_VALUE>1134534</ASSEABLE_VALUE>
<QUANTITY>149</QUANTITY>
<SOLD_TO>SPS PVT LTD</SOLD_TO>
<TAN_NO></TAN_NO>
<ST_REG_NO>943481</ST_REG_NO>
<EC_CODE></EC_CODE>
<TERMS>30 NET</TERMS>
<CUST_PO_NUMBER></CUST_PO_NUMBER>
<DESTINATION>LONDON</DESTINATION>
<CP_DAYS>3</CP_DAYS>
</G_BLANKET_NUMBER>
XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.
Whitespace is not allowed at this location. Error processing resource 'file:///C:/Users/sys/Downloads/cp_output_date_range....
<SOLD_TO>DKSP TECHNOLOGIES & ENGG(A DIV. OF PARROT SYSTEM LTD.)</SOLD_TO>
_METHOD_CODE> -
Report error while running in portal
Hi All,
I am running the reports well through portal.
But when i drageed one of my free charectersitic into the rows it getting an 500 interal error.
where as its working fine in Bex
error:
Exception occured while processing the current request; this exception cannot be handled by the application or framework
If the information on this page does not help you locate and correct the cause of the problem, contact your system administrator
To facilitate analysis of the problem, keep a copy of this error page Hint: Most Web browsers allow you to select all content, and copy and paste it into an empty document (such as in an email or simple text file)
Root cause:
The initial exception that caused the request to fail was:
Termination message sent
ABEND RS_EXCEPTION (000): Part-field access (offset = 60, length = 30) to a data object of the size 60 exceeds valid boundaries.
MSGV1: Part-field access (offset = 60, length = 30) to a
MSGV2: data object of the size 60 exceeds valid
MSGV3: boundaries.
com.sap.ip.bi.base.application.exceptions.AbortMessageRuntimeException: Termination message sent
ABEND RS_EXCEPTION (000): Part-field access (offset = 60, length = 30) to a data object of the size 60 exceeds valid boundaries.
MSGV1: Part-field access (offset = 60, length = 30) to a
MSGV2: data object of the size 60 exceeds valid
MSGV3: boundaries.
at com.sap.ip.bi.base.application.message.impl.MessageManager.addMessageInternal(MessageManager.java:172)This is fixed in [Note 1240222 - Filter value from compound characteristic is not displayed|https://websmp202.sap-ag.de/~form/handler?_APP=01100107900000000342&_EVENT=REDIR&_NNUM=1240222&_NLANG=E]
-
Error while running historical and operational reports in OIM 9.1
Hi all,
I had a look at the operational reports and historical reports in OIM 9.1
When I tried to run the reports by supplying the parameters, I see the following behaviors.
a)The reports run as expected and display the information.
b)The moment, I click submit I see a series of exceptions in the Jboss log, the beginning of the thread being....
WARN [TxConnectionManager] Connection error occured: org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener@1e7aa15[state=NORMAL mc=org.jboss.resource.adapter.jdbc.xa.XAManagedConnection@6fc757 handles=1 lastUse=1300177838234 permit=true trackByTx=true mcp=org.jboss.resource.connectionmanager.JBossManagedConnectionPool$OnePool@62b4a1 context=org.jboss.resource.connectionmanager.InternalManagedConnectionPool@40ba54 xaResource=org.jboss.resource.adapter.jdbc.xa.XAManagedConnection@6fc757 txSync=null]
java.sql.SQLException: No more data to read from socket
c)The screen just hangs without any error message/report results. When I tried to click any other menu items on the left hand side, none of them responds after the screen is hung.
The only option available is to close the window and reopen the browser again.
It would be great if you could let me know the root cause for scenarios 'b' and 'c'
Looking forward to hearing from you,
Many thanks in advanceHey guys! 2 days and no replies yet. please help me with this.
-
Error while trying to install Crystal Reports XI
Hey there,
I am trying to install this on to my server but I keep getting this error:
Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 11\win32_x86\plugins\auth\secLDAP\secldap.dll failed to register. HRESULT-2147024770. Contact your support personal.
Can anyone on here offer any advise on what the problem could be?
ThxHello Shawn,
it looks like an older version was maybe installed on this system before.
I recommend to use a registry clean tool like [REGCLEAN|http://www.regclean.com/?hop=publish2] and to install again.
Hope this helps
Falk -
Error while running QTD using TODATE
Hi All,
I am having two tables TIME_DIM (YEAR->Quarter->Month) with ID
Iam having a sales fact table (ID,TIME_ID,Sales).
I have a time dimension with Year at root level and Month as ChronologicalKey.
I have made a aggregation rule as sum on Sales column of FACT table.
I have created a new logical column QTD sales with TODATE(SALES,Quarter).
I get no errors when I do a global consistency check.
In answers, when I run using QTD Sales , My BI server gets shutdown and gives an ODBC error with
State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 12002] Socket communication error at call=recv: (Number=10038) An operation was attempted on something that is not a socket. (HY000)
SQL Issued: SELECT REVENUE_TIM_DIM.FISCAL_YEAR saw_0, REVENUE_TIM_DIM.QUARTER saw_1, REVENUE_TIM_DIM."MONTH" saw_2, "REVENUE_TIM_DIM"."KEY_ID" saw_3, Sales.SALES saw_4, Sales."QTD Sales" saw_5 FROM Test ORDER BY saw_0, saw_1, saw_2, saw_3
Any help would be appreciated.
Regards
(S.Prashant)Since the column definition and the consistency check aren't throwing errors, we'll assume that your OBIEE columns are properly configured. That points us toward a problem somewhere in the database itself when executing the query, or to an incompatibility between columns in the query.
So let's start with a simpler query. Try running the query without the Year and Month columns, just Quarter and QTD Sales. Does that work? If so, there's your problem. After all, what is the QTD value for a year-level time dimension value? It has no meaning. Now add the Month column back into the query. Does that run? Try to break the query down to its very simplest form, then add columns until you find the culprit.
If the query does not run even with just Quarter and QTD Sales, you can diagnose the query by setting your user's logging level to 2, and running the simple Quarter and QTD Sales query. Let it fail. At at that point, you should be able to look at the session log (Manage Sessions, or look at nqquery.log) and pick out the PHYSICAL SQL that was sent to the database. Grab that Physical SQL and execute it on the database, using Toad or SQL Developer, whatever tool you like. It's possible that there is a database option whose flag isn't set to YES in the repository (Physical Layer, database object, Database Features tab).
By the way, the phrase "root level" in a hierarchy typically means the lowest level, like the roots on a tree. In your case, that would be Month. -
Hi,
I am getting following error while running WLST using ANT.
Traceback (innermost last):
File "<iostream>", line 13, in ?
ImportError: no module named weblogic
We have written our custom ant task to create WLST script and invoke it from there. Other details of environment>>>
1. Weblogic 8.1sp5
2. Ant 1.6.5
I added debug statements in the custom task and found that it has failed in creating WLSTInterpreter instance.
Detailed Stacktrace...
at org.python.core.Py.ImportError(Py.java)
at org.python.core.imp.import_first(imp.java)
at org.python.core.imp.import_name(imp.java)
at org.python.core.imp.importName(imp.java)
at org.python.core.ImportFunction.load(__builtin__.java)
at org.python.core.ImportFunction.__call__(__builtin__.java)
at org.python.core.PyObject.__call__(PyObject.java)
at org.python.core.__builtin__.__import__(__builtin__.java)
at org.python.core.imp.importOne(imp.java)
at org.python.pycode._pyx0.f$0(<iostream>:13)
at org.python.pycode._pyx0.call_function(<iostream>)
at org.python.core.PyTableCode.call(PyTableCode.java)
at org.python.core.PyCode.call(PyCode.java)
at org.python.core.Py.runCode(Py.java)
at org.python.util.PythonInterpreter.execfile(PythonInterpreter.java)
at org.python.util.PythonInterpreter.execfile(PythonInterpreter.java)
at weblogic.management.scripting.utils.WLSTInterpreter.<init>(WLSTInterpreter.java:35)
In case anyone has faced this error before please suggest.
Thanks in Advance.Hi,
Solved it by putting weblogic.jar, jython.jar & wlst.jar in system classpath.
Thanks.
Maybe you are looking for
-
Little help needed on utl_file
Hi I am trying to write a small stored procedure for recording some information to a text file, and I need a little help. However, beforehand, let me give you what I have done: procedure create_record (order_id IN VARCHAR2) IS l_dir VARCHAR2(10) 'c:/
-
Can we take UCCX7.0 Backup and to Restore on fresh install of UCCX8.5(1)
Hi there, We are doing fresh install of UCCX8.5(1) on Virtual Server ESXi 4.1. Currently client is running UCCX 7.0 on physical servers not VM as well as Call Manager. Can i backup the existing data including historic reporting an
-
Cannot restore backed up files
Hi, I need help to restore my old Users folder, which I backed up, using Backup 3, onto six DVD/Rs., just before I did an Erase and Install of Tiger last weekend. I did not have enough iDisk storage to accommodate the 20 GB Users folder but Backup le
-
Mail Merge for Word - Limitations?
I have been searching for information on the Mail Merge for Word in the help files and tutorials. I am trying to verify the limitations, such as Can Lotus Notes be used to send the email? (I am 90% sure we have to use Outlook, however I would like to
-
Why is the text going over the image????
Please refer to video here http://www.youtube.com/watch?v=2rN6Ndm9sFo&feature=youtu.b Why is the text going over the image when the text layer is below the image layer?? It is so frustrating.