Error when refreshing report in Infoview
Post Author: Anna-Marie Smith
CA Forum: Administration
We are running BO XI release 2. I can run any report in Desktop Intelligence, but when I publish it and try to run it through Infoviewer I get the following error:
Connection or SQL sentence error: (DA00005): [Exception: CS, Bad Value for Field: Single Sign-On failed because the required components have not been property initialized.
Can anyone please assist?
Thank you.
Hey folks,
i suppose we are facing the same error. But where do i check if the key for the server-side integration kit has expired? There is no explicit key in our CMC.
We use BOE XI 3.1.
Thanks in advance!
Similar Messages
-
Error when refreshing report region: ORA-20876: Stop APEX Engine
I'm using Apex 4.2. On click of a button, I refresh 2 Standard Region Reports with a Dynamic Action. This dynamic action has been working without problems for WEEKS and all of a sudden i'm getting the ORA-20876: Stop APEX Engine error when I click the button.
In the dynamic action, I removed the refresh of the second report and now the error does not occur. If I add the second refresh action back in, it throws the above error. I've even tried making the second report identical to the first and the refresh action fails. I don't understand why this is failing on the second refresh action since the second report & region is IDENTICAL to the first report now.
Please help!
Thanks,
JohnI would use something like firebug to see how the AJAX call for the refresh is working. I would want to see what is begin posted and what's being returned from the call.
That should shed some light on the issue.
THanks
-Jorge -
Proxy error when running reports in Infoview
We are running XI 3.1 sp4 and are getting a Proxy error on some reports when running in PDF mode. Any ideas?
Here's the error:
Proxy Error
The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request GET /AnalyticalReporting/ViewAsPDF/Disposition Analysis Report.pdf.
Reason: Error reading from remote server
Apache Server at preprod.nalts.com Port 443Hi Sylvia,
It seems that the reverse proxy you are using: Apache could have problems with the sessions of the users. I have seen the same behaviour with other Load Balancers. If you have different WAS in the backend, make sure they stay with the same WAS (session affinity).
Regards,
Julian -
I received the error u201C AN ERROR HAS Occurred: NULL u201C when I leave the report open for more than 20 min. this happen when I clicking on the "NEXT " or u201CPREVIOUSu201D button(arrow) or refresh. Hope some one can help.
Thanks.
EddyAndy, here is how i fixed it:
1. Stop the Tomcat server in CCM
2. Go to c:\program files\business objects\tomcat\webapps\business objects\enterprise115\desktoplaunch\web-inf\web.xml file, then change these lines to look like this
<listener>
<listener-class>com.busnessobjects.sdk.ceutils.SessionCleanupListener</listener-class>
</listener>
<!--
-->
3. Search for timeout and change from 20 minites to your desire
4. Save the file
5. In CCM re-start Central Management Server, then Start the Tomcat server.
good luck.
Eddy. -
Weird APEX error when refreshing report
Hi All,
I am trying to refresh a report with dynamic action. And getting the following errors:
{"dialog":{"uv":true,"row":[{"V":"Widget Failure
ORA-20876: Stop APEX Engine,
classic_report"}]}}
I have identified the problematic part. I have a multi-select select list and my query goes like this:
select o.order_id, s.salesrep_name
from ml_orders o, ml_order_salesrep_mapping m
where m.order_id(+) = o.order_Id
and case when :P22_SALESREP is null then 1
when :P22_SALESREP IS NOT NULL and m.salesrep_id in (:P22_SALESREP) then 1
else 0
end = 1Previously this line: when :P22_SALESREP IS NOT NULL and m.salesrep_id in (:P22_SALESREP) then 1 used to be just when :P22_SALESREP IS NOT NULL and m.salesrep_id i=:P22_SALESREP then 1 and it would work. But have requirement to make this select list multi-select.
Any help appreciated.
Using Apex 4.2, classic report with refresh by dynamic action upon button click.William Wallace wrote:
I am trying to refresh a report with dynamic action. And getting the following errors:
{"dialog":{"uv":true,"row":[{"V":"Widget Failure
ORA-20876: Stop APEX Engine,
classic_report"}]}}
I have identified the problematic part. I have a multi-select select list and my query goes like this:
select o.order_id, s.salesrep_name
from ml_orders o, ml_order_salesrep_mapping m
where m.order_id(+) = o.order_Id
and case when :P22_SALESREP is null then 1
when :P22_SALESREP IS NOT NULL and m.salesrep_id in (:P22_SALESREP) then 1
else 0
end = 1Previously this line: when :P22_SALESREP IS NOT NULL and m.salesrep_id in (:P22_SALESREP) then 1 used to be just when :P22_SALESREP IS NOT NULL and m.salesrep_id i=:P22_SALESREP then 1 and it would work. But have requirement to make this select list multi-select.It doesn't work like that. In
select * from table where columnvalue in (7788, 7839, 7876)<tt>(7788, 7839, 7876)</tt> is an expression list and the predicate is evaluated as a membership condition.
In
select * from table where columnvalue in (:P1_X)<tt>:P1_X</tt> is a scalar string, incapable of containing multiple values.
See +varying elements in IN list+ on Ask Tom, and +emulating string-to-table functionality using sql+ for potential solutions.
In an APEX standard report, use a PL/SQL function body returning an SQL query report source with lexical substitution to produce a "varying IN-list":
return 'select * from emp where empno in (' || :P1_X || ')';where <tt>P1_X</tt> has been sanitized for SQL injection and string values are properly quoted if necessary. -
Error when refreshing WEBI report with Universe Connection Type "SSO"
Hi Experts:
We are trying to refresh the Webi report in Infoview with Universe Connection set as "Use Single Sign On when refreshing the report at view time", so that we can leverage SAP OLAP authorization variable from Bex Query which the Universe is built on.
However got the error of "incomplete logon data" after all the configurations done following below blogs:
SNC Part 1
/people/ingo.hilgefort/blog/2009/07/03/businessobjects-enterprise-and-client-side-snc-part-1-of-2
SNC Part 2
/people/ingo.hilgefort/blog/2009/07/03/businessobjects-enterprise-and-client-side-snc-part-2-of-2
We already have Win AD SSO to SAP setup, and in BO CMC, Win AD user is mapped to SAP user ID.
The SNC settings are:
- AD Account: service.test.bobj (all lower-letters)
- 32-bit gsslib on the BO server, and 64 bit on the BW server side.
- SNC0: p:service.test.bobj at DOMAIN
- SU01 --> BO_Service ; SNC: p:service.test.bobj at DOMAIN
- Entitlement system tab --> username: BO_Service
SNC Name: p:service.test.bobj at DOMAIN
- SNC settings tab:
SNC Lib: c:\winnt\gsskrb5.dll
Mutual Authentication settings: p:SAPServiceBP0 at DOMAIN
In CMC, the role can be imported if "RFC activated" option unchecked in SNC0.
I found a few threads on the same topic, but they are all not answered:
SNC Client side configuration error
SNC Configuration Error: Incomplete logon Data
Can you please provide details of the solution if you have impleted a same scenario successsfully, or any thoughts to help the investigation?
Thanks in advance!
Regards,
JonathanHi Ingo,
Sorry for taking so long to reply, we are trying to set up server side trust and enable SSO; but we still couldn't success.
What we did is:
1. We followed installation guide chapter 6, generate certificate and PSE, etc. All looks good.
2. Then we still have the "incomplete logon data" error when refreshing webi report after logon using Windows AD user ID.
3. Then we trace the PFC connection, the log is as below. We checked several BO notes, e.g. 1500150, 1461247.. The part bothers us is that we even don't have URI displayed in the log when system trying to use SNC, and we couldn't get more info on this which make us very difficult to diagnosis.
Can you please help? Thanks a lot!
Thu Mar 31 10:54:46.857 ThreadID<1980> SAPMODULE : SAPAuthenticationService: Authentication model for SAP connectivity is SSO
Thu Mar 31 10:54:46.857 ThreadID<1980> SAPMODULE : SAPAuthenticationService: Determining if we can connect using SNC. Calling CanAuthenticate...
Thu Mar 31 10:54:46.919 ThreadID<1980> SAPMODULE : SAPAuthenticationService: Unable to authenticate using SNC because the URI does not meet the minimum connection requirements.
Thu Mar 31 10:54:46.919 ThreadID<1980> SAPMODULE : SAPAuthenticationService: Determining if we can connect using SSO. Calling CanAuthenticate...
Thu Mar 31 10:54:46.919 ThreadID<1980> SAPMODULE : SAPAuthenticationService: Authentication model for SAP connectivity is SSO
Thu Mar 31 10:54:47.013 ThreadID<1980> SAPMODULE : SAPAuthenticationService: The SAP SSO authentication process will fail because the SAP secondary credential are not properly updated and the password is blank.
Thu Mar 31 10:54:47.013 ThreadID<1980> SAPMODULE : SAPAuthenticationService: Trying to connect to SAP using this URI : occa:sap://;PROVIDER=sapbw_bapi,R3NAME=PB0,GROUP=BI_Group1,MSHOST=sapaupdb04,LANG=en,CLIENT=100,CATALOG="ZSPUM602",CUBE="ZSPUM602/ZSPUM602_Q50"
Thu Mar 31 10:54:47.013 ThreadID<1980> SAPMODULE : SAPAuthenticationService: Calling m_pRfcWrapper->RfcOpenEx() ...
Thu Mar 31 10:54:47.154 ThreadID<1980> SAPMODULE : SAPAuthenticationService: RfcOpenEx(...) returned 0
Thu Mar 31 10:54:47.154 ThreadID<1980> SAPMODULE : SAPAuthenticationService: Call to m_pRfcWrapper->RfcOpenEx() took 0.141 seconds
Thu Mar 31 10:54:47.154 ThreadID<1980> SAPMODULE : SAPAuthenticationService: SAPAuthenticationService::~SAPAuthenticationService -
Error when running report in CMC and Infoview
Hi all,
i have this following problem:
- when i try to run report in cmc it fails and i get this error message: Error in File ~tmp1a745af945b59b0.rpt: Failed to load database information
- when i try to run the report in infoview the error message looks like this: Error in File test_4: Failed to load database information.
Where can be the possible problem ?
Thanks for any suggestions.<b>i dont know if this could help you, but i found something when trying to refresh report in infoview - the full error log:</b>
2009-05-27 08:40:54
com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: Error in File Vykaz_2:
Failed to load database information.---- Error code:-2147215357 Error code name:internal
at com.crystaldecisions.sdk.occa.report.lib.ReportSDKException.throwReportSDKException(Unknown Source)
at com.crystaldecisions.sdk.occa.managedreports.ps.internal.f.a(Unknown Source)
at com.crystaldecisions.sdk.occa.managedreports.ps.internal.f.findGroup(Unknown Source)
at com.businessobjects.report.web.event.q.a(Unknown Source)
at com.businessobjects.report.web.event.z.a(Unknown Source)
at com.businessobjects.report.web.event.bt.broadcast(Unknown Source)
at com.businessobjects.report.web.event.ak.a(Unknown Source)
at com.businessobjects.report.web.a.q.if(Unknown Source)
at com.businessobjects.report.web.e.a(Unknown Source)
at com.businessobjects.report.web.e.a(Unknown Source)
at com.businessobjects.report.web.e.if(Unknown Source)
at com.crystaldecisions.report.web.viewer.CrystalReportViewerUpdater.a(Unknown Source)
at com.crystaldecisions.report.web.ServerControl.processHttpRequest(Unknown Source)
at com.crystaldecisions.report.web.viewer.CrystalReportViewerServlet.if(Unknown Source)
at com.crystaldecisions.report.web.viewer.CrystalReportViewerServlet.doPost(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595):
Edited by: Martin Zluky on Jul 27, 2009 9:35 AM -
Error when refreshing web intelligence document less then every minute
Hi all,
I get the following error, when refreshing document via javascript more often then every minute:
Server Error in '/Dashboard' Application.
FatalException occured. The cause was : BusinessObjects.Enterprise.OcaFramework.Oca.oca_abuse: IDL:img.seagatesoftware.com/OCA/oca_abuse:3.2 at BusinessObjects.Enterprise.OcaFramework.ManagedService.invoke(MethodInfo method, Object[] args, IDictionary context)
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: BusinessObjects.Enterprise.OcaFramework.ManagedServiceFatalException: FatalException occured. The cause was : BusinessObjects.Enterprise.OcaFramework.Oca.oca_abuse: IDL:img.seagatesoftware.com/OCA/oca_abuse:3.2 at BusinessObjects.Enterprise.OcaFramework.ManagedService.invoke(MethodInfo method, Object[] args, IDictionary context)
Source Error:
Line 121:
Line 122: //Session["StorageToken" + strDocId] = doc.StorageToken;
Line 123: doc = reportEngine.OpenDocument(intDocID);
Line 124: //doc = reportEngine.GetDocumentFromStorageToken(storageToken);
Line 125: doc.Refresh();
Source File: c:\inetpub\wwwroot\dashboard\document.aspx.cs Line: 123
Stack Trace:
[ManagedServiceFatalException: FatalException occured. The cause was : BusinessObjects.Enterprise.OcaFramework.Oca.oca_abuse: IDL:img.seagatesoftware.com/OCA/oca_abuse:3.2
at BusinessObjects.Enterprise.OcaFramework.ManagedService.invoke(MethodInfo method, Object[] args, IDictionary context)]
BusinessObjects.ReportEngine.WI.Internal.Server.OCCA._WICDZProxy.initInstance(Byte[] p0, UTF8StringHolder p1)
BusinessObjects.ReportEngine.WI.Internal.Server.OCCA.OCCAServerStub.InitInstance(String clientInfo, Int32& returnCode)
[CommunicationException: The Web Intelligence server could not be reached. Contact your Business Objects administrator. (Error: RWI 00236)]
BusinessObjects.ReportEngine.WI.Internal.Server.OCCA.OCCAServerStub.InitInstance(String clientInfo, Int32& returnCode)
BusinessObjects.ReportEngine.WI.Internal.Server.ServerCaller.InitInstance(String clientInfo)
BusinessObjects.ReportEngine.WI.Internal.WIDocumentInstance..ctor(WIReportEngine engine, Int32 documentId)
BusinessObjects.ReportEngine.WI.Internal.WIReportEngine.OpenDocument(Int32 documentId)
Dashboard.document.Page_Load(Object sender, EventArgs e) in c:\inetpub\wwwroot\dashboard\document.aspx.cs:123
System.Web.UI.Control.OnLoad(EventArgs e)
System.Web.UI.Control.LoadRecursive()
System.Web.UI.Page.ProcessRequestMain()
Version Information: Microsoft .NET Framework Version:1.1.4322.2407; ASP.NET Version:1.1.4322.2407
I searched forum and google for this error, but I didn't find anything. Did you heard of this error? How can I fix it?
My BO Version is BusinessObjects Enterprise XI (without any ServicePacks). Is there a SP which fix this error?
Thank you for every idea!!!Hi,
Copy File from Client system to server in same folder location .
Make sure in Edit Query option Editable & Refreshable options are checked .
Please check the links below .
Webi Excel Personal Data Provider Dynamic Data
How to create a webi report using excel as source
Excel as datasource in Infoview
Excel source located in Infoview -
Error while opening report in Infoview
I am getting following error while opening report in Infoview.
Following is error generated in tomcat,
com.businessobjects.rebean.wi.ServerException: Cannot open document. Error during import. (DX0005)
at com.businessobjects.rebean.fc.internal.platformspecific.xml.ras21.SAXHandlerERRORS$SAXHandlerERROR.initElement(SAXHandlerERRORS.java:108)
at com.businessobjects.rebean.fc.internal.platformspecific.xml.SXMLHandling$StructuredSAXHandler.startElement(SXMLHandling.java:187)
at com.businessobjects.rebean.fc.internal.platformspecific.xml.SXMLHandling$StructuredSAXHandler.startElement(SXMLHandling.java:202)
at com.businessobjects.rebean.fc.internal.platformspecific.xml.SXMLHandling$StructuredSAXHandler.startElement(SXMLHandling.java:202)
at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at javax.xml.parsers.SAXParser.parse(Unknown Source)
at com.businessobjects.rebean.fc.internal.ras21.XMLviaRAS21Decode.openDocument(XMLviaRAS21Decode.java:537)
at com.businessobjects.rebean.fc.internal.ras21.RAS21DocumentComAdapter.openDocument(RAS21DocumentComAdapter.java:69)
at com.businessobjects.rebean.fc.internal.ras21.RAS21ReportEngineComAdapter.openDocument(RAS21ReportEngineComAdapter.java:100)
at com.businessobjects.rebean.fc.internal.ReportEngineImpl.openDocument(ReportEngineImpl.java:249)
at org.apache.jsp.viewers.cdz_005fadv.viewCDZDocument_jsp._jspService(viewCDZDocument_jsp.java:267)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
at java.lang.Thread.run(Thread.java:534)
Caused by: java.lang.Exception: Cannot open document. Error during import. (DX0005) (80043746)
at com.businessobjects.rebean.fc.internal.platformspecific.xml.ras21.SAXHandlerERRORS$SAXHandlerERROR.initElement(SAXHandlerERRORS.java:100)
Please help me to resolve the above problem
Reagrds,
RameshHi Ramesh,
It may seem like a lot of information, but from a debugging perspective it doesn't tell us much.
You need to give some more info and even then it would probably be a good idea to call support.
Can you tell us;
Which version are you on?
Can you open de document from another desktop intelligence machine, not only the one that it was built on?
- This checks ; you can import the document; the structure of the document is fine (not corrupted).
Can you refresh the document on that other machine?
- This check ; the link to the universe is fine, the universe can be imported, the connection to the database is fine.
What is your preference as a BOE user to view Deski documents?
- Try a few others, so you know if the problem is with one type only (and which).
Now you will have a few more pointers more as to where the problem lies.
Even then it can be sheer size of the document, complexity of it, etc.
Good luck,
Marianne -
P3 Project Manager Crashing with EBDClient error, when refreshing (F5)
My company has 3 sql databases for Prima on a server; 2 are approximately 1.5GB, and the third is just over 2GB
We have 5 client machines (xp sp3 32bit), that use the following setup:
P3 Project Manager version 5 (no service packs installed, but have tried sp1-3 on my machine with the same error)
oracle client 9.2 with tnsnames pointing to the sql server with the prima databases
each machine has 2GB memory with a 3-4GB pagefile
I do not have issues refreshing the other smaller databases.
both the client and server do not take a significant hit on resources while refreshing.
both the server and client are not reporting any errors under event viewer.
they all receive the following error when refreshing (F5) while logged in the third and largest database:
Message (Tab)
Application exception
type: EDBClient
Event code: IMFTO-3501-8
Description: Insufficient memory for this operation
Context (tab)
app title: primavera project management
exe: pm.exe
object: tmainmenu
context:
1. tfrmmain.refreshVDBengine
2. tfrmmain.actrefreshExecute
3. tfrmmain.actProjectActivitiesExecute
4. tfrmmain.actProjectsExecute
5. tfrmmain.actProjectsActivitiesExecute
6. tfrmmain.actProjectWBSExecute
7. tfrmmain.actProjectActivitiesExecute
Evironment (tab)
Components
=============
ORI: ORI Win32 #
ORI/DB: PMDB,0500.0024.0001.0002
IMG: IMG win32 #1000
SYS INFO
=============
username: "user's name" Hostname: "their computer name"
OS version: winNT 5.1, build 2600, SP3...\OracleBI\web\catalogmanager\catalogmanager.ini
-vmargs
-Xmx1024M
-Djava.library.path=E:\OracleBI\web\bin
-Declipse.noRegistryCache=true
amend---------------------------------------------------------
-vmargs
-Xmx512M
-Djava.library.path=E:\OracleBI\web\bin
-Declipse.noRegistryCache=true -
Error when sending report output to printer from Forms 10g
Hi,
I have a simple report that I am running from a form using run_report_object built-in. I can successfully send the report output to a file but when I send the report output to a printer my report is
terminated with report status of 'TERMINATED_WITH_ERROR'. I am using the default forms service and reports server that comes with the forms builder. How do I specify the reports server to user my default network printer ?Following is the code that runs my report.
Thanks,
Anna
PROCEDURE SEND_TO_PRINTER IS
repid REPORT_OBJECT;
v_rep VARCHAR2(100);
rep_status VARCHAR2(50);
rep_server system_variables.reports_server%type;
alldone exception;
BEGIN
select reports_server
into rep_server
from system_variables;
if rep_server is null then
msg_alert('Error getting the reports server name', 'I', FALSE);
raise alldone;
end if;
:ctrl.run_report_errors := 'N';
repid := find_report_object('REP_OBJ1');
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_SERVER,rep_server);
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_EXECUTION_MODE,BATCH);
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_COMM_MODE,SYNCHRONOUS);
IF :ctrl.rg_print = 'P' THEN
--Send the output to printer.
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESTYPE,PRINTER);
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'dflt');
ELSIF :ctrl.rg_print = 'R' THEN
--Rich Text Format
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESTYPE,FILE);
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'rtf');
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESNAME,:ctrl.filename);
END IF;
v_rep := RUN_REPORT_OBJECT(repid);
rep_status := REPORT_OBJECT_STATUS(v_rep);
WHILE rep_status in ('RUNNING','OPENING_REPORT','ENQUEUED')
LOOP
rep_status := report_object_status(v_rep);
END LOOP;
IF rep_status = 'FINISHED' THEN
null;
ELSE
:ctrl.run_report_errors := 'Y';
msg_alert('Error when running report.' || rep_status, 'I', FALSE);
END IF;
EXCEPTION
when no_data_found then
msg_alert('Error getting the reports server name', 'I', FALSE);
when alldone then
null;
END;If you use Windows the user that runs the reports server is usually LocalSystem. Check this in the Windows Services panel.
LocalSystem has no printer access. To be able to print, you have to use a real domain user that has access to the printer. So, change the Log on properties in the Services panel. -
Error when refreshing workbook in BEx: Specific Macro CallBack not found
One of our users is getting the following error when refreshing any BEx workbook (in BI7):
Problems while calling the exit on refresh: Specified Macro 'CallBack' is not found in the workbook
This error suddenly started this week, everything was fine before that, and no changes have been made to the user's PC. The problem is specific to this one user's PC.
Any ideas?
-JasonHi,
It seems a common error.
There is a note that mentions the error, and was fixed since BI addons SP 8
Note: 1267942 - Custom macro not being executed on a workbook
Download and test the latest version: bi710sp12_1200-10004472.exe
This should fix the issue.
FYI: SAPGUI 640 is not supported by SAP since 2008. If you are using this version, please download the SAPGUI 7.10 as well.
Thanks
Edward John -
Report Designer - Error when Loading Report
Hi,
We have created a report in Report Designer (7.0) and saved it. When we execute it runs fine. After closing the report and trying to reopen it, the report does not open. It gives an error "Error when Loading Report". Our BI frontend patch is 14.
Did anyone encounter this issue and is there a solution to this.
Thanks
HemantHello,
Please go to SE38 -> RS_REPORT_MAINTAIN,
Type your report name, and DT als "Report Type".
Goto edit mode, copy&paste this XML into txt file and send it to me ([email protected]). I will check whats going on with this report. Loading should be always possible.
Regards, Karol Kalisz, BI Development -
Error when linking report to stored procedure defined with one input parm
Error when linking report to stored procedure defined with one input parameter
The report will work ok, when the parameter is removed from the stpred procedure
An unhandled win32 exception occurred in crw32.exe[4480]
Stored Proc (sql server 2005)
USE [Allegro]
GO
/****** Object: StoredProcedure [dbo].[SP_Test] Script Date: 07/08/2009 10:42:14 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
ALTER procedure [dbo].[SP_Test](@valuationmode VARCHAR(55)) as
Begin
select
valuation,
valuationtime,
valuationmode
from valuation
where valuationmode = @valuationmode;
End;This is an example of a stored procedure that is trying to be linked to a new report as the only datasource.
If I remove the parameter I can create a report, however this will return all of the results of thw query to the report, rather than the desired results. If I add the parameter on the Crystal Report, the stored procedure then has to return all of the results to Crystal and then perform the filtering of records. By using a parameter in the stored procedure, you should be able to do all of the filtering as part of the query on the databse server, making this more efficient. -
JCS-122017 Error When refreshing Application List
JCS-122017 Error When refreshing Application List
This issue started occurring when we migrated CPS from M28 to M33
We currently have M33.45 in Dev and are still experiencing the same error when refreshing the application list.
To replicate the issue, I can login, click applications, click the redwood folder, then click the refresh button within CPS and receive the below error.
[Errors found] 11:35:27 AM: JCS-122017: Trying to use non-attached object Application:2,472
Has anyone else had this issue, this appears to happen to all of the application lists when refreshing
JCS-122017: Trying to use non-attached object Application:2,472
at com.redwood.scheduler.model.BaseSchedulerEntityImpl.checkHasSession(BaseSchedulerEntityImpl.java:853)
at com.redwood.scheduler.model.BaseSchedulerEntityImpl.checkCanRead(BaseSchedulerEntityImpl.java:859)
at com.redwood.scheduler.model.NamedRootObjectImpl.getName(NamedRootObjectImpl.java:143)
at com.redwood.scheduler.ui.meta.page.MetaOverviewPage.getTabName(MetaOverviewPage.java:227)
at com.redwood.scheduler.ui.meta.page.MetaTabPage.setTabPageNameType(MetaTabPage.java:94)
at com.redwood.scheduler.ui.meta.MetaTabPageSetNameAction.performModelAction(MetaTabPageSetNameAction.java:49)
at com.redwood.scheduler.ui.meta.MetaModelAction$ModelActionImpl.performModelAction(MetaModelAction.java:62)
at com.redwood.scheduler.ui.model.impl.FormImpl.modelActions(FormImpl.java:730)
at com.redwood.scheduler.ui.model.impl.LifeCycle.run(LifeCycle.java:226)
at com.redwood.scheduler.ui.servlet.Servlet.handleRequest(Servlet.java:98)
at com.redwood.scheduler.ui.servlet.Servlet.doPost(Servlet.java:54)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.runServlet(FilterChainImpl.java:117)
at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:62)
at com.redwood.scheduler.module.impl.ModuleFilter.doFilter(ModuleFilter.java:157)
at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:58)
at com.redwood.scheduler.security.filter.SecurityFilter.doFilter(SecurityFilter.java:613)
at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:58)
at com.redwood.scheduler.servlet.RequestCharsetFilter.doFilter(RequestCharsetFilter.java:197)
at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:58)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:384)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1060)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
The error is in the admin guide
No timezone could be found to calculate this TimeWindowElement. This means
that the object that includes the TimeWindow should set the TimeZone to use
for the calculation of the TimeWindow, or a TimeZone must be set on the
TimeWindow or TimeWindowElement.
I do not see how this would occur within the application list.
Thanks,
Edited by: Nick Katsoulis on Jan 17, 2012 6:39 PMHi Nick,
I think you have already received this info via OSS - In case anyone else encounters this same problem - This issue will be fixed in a future version of CPS, planned for the M33-April release.
David
Maybe you are looking for
-
Unable to download attached Word document
I have two emails in my inbox with attached Word documents neither of which will download. I download documents all the time so am not doing anything wrong to get them to download. I have a Dell 1525 Inspiron running Vista. Mozilla is the browser ==
-
Someone, pls. HELP ME!!!
all the pc suite services won't work. these are the error messages: "pc suite settings file is missing" "phone is not supported" i tried updating the firmware but it says that there's no update available for my phone. my unit is 5310XpressMusic. PLS.
-
Terrible Printer! Terrible Customer Service!
I purchased a HP Photomsart printer not even 2 years ago, and now my printer is constantly failing to print black. I have changed, per HP's instruction, and wasted black ink cartridges, and manually cleaned the tray. However, whenever I call, all I h
-
Any pointers on how to enable editing of randoms access file? Examples? // TestRandomAccessFile.java: Store and read data, edit stored data if needed. // using RandomAccessFile import java.io.*; import java.awt.*; import java.awt.event.*; import java
-
Audio in Quicktime, audio in iDVD but not in iMovie
Hi All, I'm pretty sure the answer will be a menu setting I haven't been smart enough to find on my own, so thanks in advance for any and all assistance. On ocassion I've taken quicktime movie file created in Final Cut Pro, imported it into iMovie -