Rwbld60 Error for Reports
I am running reports 6i on Win 98 ,when i try to cretae a report using wizard, checking preferences ,occasionally
this error pop up and reports aborted.Error message is
"RWBLD60 this program has performed an illegal operation and will shut down if the problem persists contact the program vendor" getting frustrated unable to do reports.Any help for this.
Thanks
Jay
* Please apply the latest 6i patchset and try (which will contain latest bug fixes).
* Please post the exact steps required to reproduce the problem. In that case either a bug fix patch or a workaround
can be provided if this is a known issue.
Thanks
Ratheesh
Similar Messages
-
Exe giving error for report generation and LV 8.6.1
I have created and installed a labview application in a PC(windows XP) where labview is not installed. (already included NI_Excel.lvclass)
I have used a report(excel) generation to display the results.
I am getting following error:
Error Code: -2147352573
Member not found in NI_Excel.lvclass:
I am using MS office Excel 2007 SP1
NI LabVIEW Run-Time Engine:8.6.1.
Report generation toolkit version:1.1.3
phani srikanth
Solved!
Go to Solution.
Attachments:
Error.JPG 10 KBsearch the ni website and a 30 day eval copy can be found. For use beyond this period you would have to buy a license (unless you have one of course)
compatibility can be found on the following link
http://digital.ni.com/public.nsf/allkb/C9408B9F08D711E786256F3300701D01
hope it helps
TD
Please remember to accept any solutions and give kudos, Thanks
LV 8.6.1, LV2010,LV2011SP1, FPGA, Win7 -
Terminated by signal 11 error for reports
Hi,
I observed in internal concurrent manager log is sh: line 71: 3501 Segmentation fault
and like showing the below
========================================================================
Starting PROD_0826@PROD Internal Concurrent Manager -- shell process ID 1081
logfile=/oracle/apps/PROD/prodcomn/admin/log/PROD_oraapps01/PROD_0826.mgr
PRINTER=noprint
mailto=applprod
restart=N
diag=N
sleep=60 (default)
pmon=20 (default)
quesiz=1 (default)
sh: line 71: 1086 Segmentation fault FNDLIBR FND CPMGR "FNDCPMBR sysmgr=\"\" $maxreq $sleep $pmon $quesiz $diag logfile=$logfile $target" <<STOP
$sysmanager
STOP
The PROD_0826@PROD internal concurrent manager has terminated with status 139 - giving up.
========================================================================
Starting PROD_0826@PROD Internal Concurrent Manager -- shell process ID 5471
logfile=/oracle/apps/PROD/prodcomn/admin/log/PROD_oraapps01/PROD_0826.mgr
PRINTER=noprint
mailto=applprod
restart=N
diag=N
sleep=60 (default)
pmon=20 (default)
quesiz=1 (default)
Application Object Library: Concurrent Processing version 11.5
Process monitor session ended : 26-AUG-2011 10:14:41
Process monitor session started : 26-AUG-2011 10:16:41
Found running request 1620562 attached to dead manager process.
Setting request status to completed.
Found dead process: spid=(6657), cpid=(121680), ORA pid=(59), manager=(0/0)
Starting STANDARD Concurrent Manager : 26-AUG-2011 10:16:45
Process monitor session ended : 26-AUG-2011 10:16:45
Process monitor session started : 26-AUG-2011 10:18:45
Process monitor session ended : 26-AUG-2011 10:18:47
than manager are bring down like CM status shows
than we checking the adcmctl.sh status apps/apps
CM status shows ICM status could not be determined.
try to open request log than we are getting error like
'Error connecting to database PROD: ORA-3113' and also all requests completed with errors.
than stop all services here CM failed to stop
/oracle/apps/PROD/prodcomn/admin/scripts/PROD_oraapps01/adcmctl.sh: line 244: 9681 Segmentation fault $FND_TOP/bin/CONCSUB "$unpw" SYSADMIN $WAIT_PARAM 'System Administrator' SYSADMIN CONCURRENT FND SHUTDOWN
[Service Control Execution Report]
The report format is:
<Service> <Script> <Status>
Oracle Apache Server PROD_oraapps01 adapcctl.sh Stopped
OracleTNSListener80APPS_PROD_oraapps01 adalnctl.sh Stopped
OracleConcMgrPROD_oraapps01 adcmctl.sh Failed
OracleFormsServer-Forms60PROD_oraapps01 adfrmctl.sh Stopped
OracleReportServer-Rep60_PROD adrepctl.sh Stopped
Oracle Metrics Client PROD_oraapps01 adfmcctl.sh Stopped
Oracle Metrics Server PROD_oraapps01 adfmsctl.sh Stopped
Oracle Fulfillment Server PROD_oraapps01 jtffmctl.sh Stopped
Oracle Discoverer services PROD_oraapps01 addisctl.sh Stopped
after this again stop the CM by adcmctl stop apps/apps
than it stopped after that start the all services than works fine,after starting services all requests completed with terminated by signal 11 while CM down ,it happens everyday.
everyday midnight we take cold backup by scheduling cronjobs
and also after cloning the ICM did not show the sigmentation fault and in TEST some requests completed with terminated by signal 11
please give me solution for this issue.
Thanks,
mahiMahi,
This appears to be a serious database issue. Unfortunately, there is no simple magical fix I guess. Going through Oracle Support, instead of applying some patch, is the better route, i believe.
To me, it appears more of bug# 3804515. Please check the following:
https://supporthtml.oracle.com/ep/faces/secure/km/DocumentDisplay.jspx?id=3804515.8
You may want to review the following patches too:
"KWQICACLCUR" SHOULD NOT WRITE TRACE FILES FOR ORA-1013 NOR ORA-3113 [Patch 6945111]
"KWQICACLCUR" SHOULD NOT WRITE TRACE FILES FOR ORA-1013 NOR ORA-3113 [Patch 6661430]
"KWQICACLCUR" SHOULD NOT WRITE TRACE FILES FOR ORA-1013 NOR ORA-3113 [Patch 6666626]
"KWQICACLCUR" SHOULD NOT WRITE TRACE FILES FOR ORA-1013 NOR ORA-3113 [Patch 6682463]
"KWQICACLCUR" SHOULD NOT WRITE TRACE FILES FOR ORA-1013 NOR ORA-3113 [Patch 6729613]
"KWQICACLCUR" SHOULD NOT WRITE TRACE FILES FOR ORA-1013 NOR ORA-3113 [Patch 6931682]
"KWQICACLCUR" SHOULD NOT WRITE TRACE FILES FOR ORA-1013 NOR ORA-3113 [Patch 6661435]
"KWQICACLCUR" SHOULD NOT WRITE TRACE FILES FOR ORA-1013 NOR ORA-3113 [Patch 7303352]
"KWQICACLCUR" SHOULD NOT WRITE TRACE FILES FOR ORA-1013 NOR ORA-3113 [Patch 7303650]
"KWQICACLCUR" SHOULD NOT WRITE TRACE FILES FOR ORA-1013 NOR ORA-3113 [Patch 7350779]
"KWQICACLCUR" SHOULD NOT WRITE TRACE FILES FOR ORA-1013 NOR ORA-3113 [Patch 7466966]
"KWQICACLCUR" SHOULD NOT WRITE TRACE FILES FOR ORA-1013 NOR ORA-3113 [Patch 7555753]
"KWQICACLCUR" SHOULD NOT WRITE TRACE FILES FOR ORA-1013 NOR ORA-3113 [Patch 7611844]
Thanks,
Raj Mareddi -
DUMP ERROR FOR REPORT TO ASSIGN TCODE TO ABAP QUERY
hi friends ..
i did this smallreport by difernet type but its the
error says dump_--report not found or status errror says
maximum session reached ..i think there something wrong in my submit stmt .pls let me know ...
also assign tcode to the report.
DATA:QUERYREPORT LIKE AQADEF-PGNAME,
QUERY LIKE AQADEF-QUNAME,
USERGROUP LIKE AQADEF-BGNAME,
WORKSPACE LIKE AQADEF-WSID.
query = 'zskview'.
usergroup = 'zskgrp'.
workspace = ''.
get name of queryreport
CALL FUNCTION 'RSAQ_REPORT_NAME'
EXPORTING
WORKSPACE = workspace
USERGROUP = usergroup
QUERY = query
IMPORTING
REPORTNAME = QUERYREPORT
EXCEPTIONS
OTHERS = 0.
SUBMIT (QUERYREPORT)
VIA SELECTION-SCREEN
USING SELECTION-SETS OF PROGRAM QUERYREPORT
AND RETURN.HI farukh,
1. The program u have written
is for running DYNAMIC query,
(given the query name)
2. In debugging,
chck the value of the variable
queryreport
after the FM is executed.
3. It will contain the program name (of the corersponding query)
in the following format (eg)
AQFKzskgrp======ZAMQ01========
4. Open another se38,
and CHECK whether this program exists or not!
5. If it does not,
a)either the QUERY NAME is not correct,
b) either the user group is not correct,
c) either the query is deleted / not generated .
regards,
amit m. -
Soap API error for reports 5 pages or more
Hi,
I am using soap api to get reports from BI Publisher, I am able to print reports 5 pages, when i try to get reports with pages more than 5 pages getting this error.
[Error] Execution (1: 1):
ORA-06503: PL/SQL: Function returned without value
ORA-06512: at "APEX_040100.WWV_FLOW_WEBSERVICES_API",line 129
I am using the following code snippet, Make request is throwing an error
l_xml := APEX_WEB_SERVICE.make_request(
p_url =>v_rpt_wsdl,
p_action => v_rpt_action,
p_envelope => l_envelope
l_xml is an xmlType
My Apex schema is : APEX_040100
Oracle : 10g
Apex version: Application Express 4.1.1.00.23
Please help me folks
Thanks
KrisBummer! Thought that was the golden ticket!
Can you run that function successfully through Toad or SQL Developer for those reports? Does it return a value? It looks like it is telling you that APEX_WEB_SERVICE.MAKE_REQUEST call didn't return anything. You are just requesting xml at that point so there shouldn't (theoretically) be size issues unless maybe you are requesting the whole phone book.
Jen -
Open vi error for report generation toolkt
Originally it works fine.
Now I upgrade to win7, LV9 and office2010.
To open the old program by 8.6.1, I reinstalled LV 8.6.1 and report generation toolkit.
But still got the error as attached.
Any suggestion, thanks.
Attachments:
ss.png 184 KB1. MS Office 2010 is not yet supported, since it's still just a beta. I believe there are couple of changes that Microsoft make, and it could cause a problem.
2. LabVIEW 8.6.1, and all its toolkit is not supported on Windows 7. This could cause a problkem also.
In conclusion, you should use LabVIEW 2009, Report Generation Toolkit 2009, Windows 7, and downgrade office to XP, 2003 or 2007.
More information: http://digital.ni.com/public.nsf/allkb/C9408B9F08D711E786256F3300701D01 -
Source Code error for Report Shipping
Hello,
This is regarding Report Shipping.
As per SAP Report Shipping Implementation Guide
for 4.1Settings for the SD Interface: Shipping Docu-ments
Under Environment, Health & Safety> Product Safety> Report Shipping> Basic Settings for Shipping from SD Documents> Material Safety Data Sheet/Sales and Distribution Interface> Settings for the SD Interface: Shipping Documents> Output Determination--> Check Conditions.. it should be like below
Routine number: <26>
Description: Environmentally rlvt
Active: X (set)
Application: V2
Source code:
FORM KOBED_<Key>.
SY-SUBRC = 0.
CHECK KOMPB V2 -KZUMW IS INITIAL.
SY-SUBRC = 4.
ENDFORM.
FORM KOBEV_<Key>.
SY-SUBRC = 0.
CHECK KOMPB V2 -KZUMW IS INITIAL.
SY-SUBRC = 4.
ENDFORM
on the other had, i have check 2-3 standard Systems,
same for Settings for the SD Interface: Shipping Documents> Output Determination> Check Conditions..
it is like below
Routine number: <26>
Description: Environmentally rlvt
Active: X (set)
Application: V1
Source code:
FORM KOBED_<Key>.
SY-SUBRC = 0.
CHECK KOMPB V1 -KZUMW IS INITIAL.
SY-SUBRC = 4.
ENDFORM.
FORM KOBEV_<Key>.
SY-SUBRC = 0.
CHECK KOMPB V1 -KZUMW IS INITIAL.
SY-SUBRC = 4.
ENDFORM
so which one is Correct? Implementation Guide or Standard Setting of System.
Please guide me.
Edited by: Amol Joshi on Dec 29, 2010 4:42 PMHi Amol.
Both are correct.
The MSDS can be send with the sales order (V1) or with the delivery (V2), it depends of the logistic process configured in the system.
In SD the delivery may or may not be configured.
If the delivery is configured selects V2, in the other cases V1.
Regards.
JCD -
Error while creating logical port for Reporting
Hi,
In one of the training materials for Duet Enterprise, i saw the steps for creating logical port for the consumer proxy /IWTNG/CO_PXY_RECORDS_REPOSITO.
When i am trying to create the logical port, i am getting an error saying,
" SRT Framework exception: Error in WSDL access: Exception occurred in communication framework:Error in HTTP Framework:500 Native SSL error
https://<server:port>/_vti_bin/OBAFileReceiver.asmx?wsdl "
I would like to know is it really necessary to create this logical port for "Reporting Scenario" and is it not created automaticallly using the Installation Wizard??
And in case it has to be created, how to resolve this SRT framework exception?
~ Ramanath.Hi,
the consumer proxy /IWTNG/CO_PXY_RECORDS_REPOSITO was used in Duet Enterprise SP01. Now with SP02 the consume proxy /IWTNG/CO_OBAFILE_RECEIVER_SOA is created.
However, the SSL error that you are getting looks a little strange (it does not mean that there is an error, but it is worth checking):
So can you go to SOAMANAGER -> Service Administration -> Single Service Configuration. In here select "Consumer Proxy" from the "Search by", Search Pattern "/IWTNG/CO_OBAFILE_RECEIVER_SOA" and Field: Both.
You should find one entry. Select it and click "Apply Selection".
Now go to the Configurations tab. Here you should see one Logical Port with name "LOGICALPORTFORREPORTING" with Creation Type "Manually Created". In fact this logical port was created by the Wizard.
Click on Display and scroll down again. Now in the "Additional Information" tab there is a string after HTTP Destination, e.g. 0050568E3F5A1ED096F22339C44BAF83.
Copy this value and go to your SAP GUI -> Transaction SM59.
Here click on Find/Search and search for this HTTP Destination. You should find one Type G RFC Destination that has the target host of your SharePoint server and the path prefix /_vti_bin/OBAFileReceiver.asmx.
Now you can test the service. Just click on Connection Test. The result should be a HTTP Response: 200.
If not, then something went wrong with the automatic configuration and we should take another look at it (for example maybe the SSL certificate from SharePoint that was imported by the Wizard is not valid)
Regards,
Holger.
PS. Don't use the "Ping Web Service" test from SOAMANGER -- unfortunately this is not working consistently. -
Error while saving layout for report
Using BIEE 11. (Win64 Server 2003 R2 - russian edition)
When designing layout for report and putting text field (dos'nt matter - russ or engl) - I get an error during saving - 'Error when saving layout' (trunslated from russ)
This happens only when putting text field, with other types of filds all is ok!
Where can I find more detailed info about my error?
Also when I choose layout from existing e.g. - Dashboard.xpt and save - I get the same error. When I cut off all text fields from this template - I can successfully save it.
ThanksCheck the OSS note 550760 regarding the issue.
-
FPN: No ESID found error while invoking BEx iviews for Reports.
Hi Everybody,
We have a federated portal network [FPN] setup. We are EP 7 SP15 for both Consumer portal and BI producer portal.
The content is delivered to users via RRA Remote Role Assignment ] in consumer portal for BI portal roles from Producer bi portal.
The problem is when we are trying to access BEx iviews for Reports i get the error: Internal error No esid found.
The BEx iview for Queries are running fine but the problem is for BEx iviews for Reports in consumer portal.
All reports are running fine in producer BI portal.
Consumer portal AD UME and producer portal is ABAP UME.
Please help to fix this.
Below is the trace.
#1.5 #00237DA36C70002900000015000058A7000477861BB01CF2#1257317780692#com.sap.security.core.umap.imp.UserMapping#sap.com/irj#com.sap.security.core.umap.imp.UserMapping.getInverse
MappingData(String, ISystemLandscapeObject)#J2EE_GUEST#0#####SAPEngine_Application_Thread[impl:3]_29##0#0#Info##Java###Found local user "" being mapped to backend user ""
for system .#3#USER.R3_DATASOURCE.RAMA#RAMA#"(null)"#
#1.5 #00237DA36C70002900000016000058A7000477861BBFA58B#1257317781710#com.sap.ip.bi.base.exception.BIBaseRuntimeException#sap.com/irj#com.sap.ip.bi.base.exception.BIBaseRuntimeEx
ception#RAMALINX#2777#####SAPEngine_Application_Thread[impl:3]_29##0#0#Error#1#/Applications/BI#Plain###Exception thrown: com.sap.ip.bi.base.exception.BIBaseRuntimeException:
Error: Internal error. No esid found.
com.sap.ip.bi.base.exception.BIBaseRuntimeException: Error: Internal error. No esid found.
at
com.sap.ip.bi.webapplications.runtime.jsp.portal.services.BIRuntimeService._createController(BIRuntimeService.java:687)
at
com.sap.ip.bi.webapplications.runtime.jsp.portal.services.BIRuntimeService.createController(BIRuntimeService.java:642)
at
com.sap.ip.bi.webapplications.runtime.jsp.portal.services.BIRuntimeService._handleRequest(BIRuntimeService.java:343)
at
com.sap.ip.bi.webapplications.runtime.jsp.portal.services.BIRuntimeService.handleRequest(BIRuntimeService.java:276)
at
com.sap.ip.bi.webapplications.runtime.jsp.portal.components.LauncherComponent.doContent(LauncherComponent.java:24)
at
com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
at
com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
at
com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest
(PortalRequestManager.java:136)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
at
com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:645)
at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
at
com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest
(PortalRequestManager.java:189)
at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
at
com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run
(Dispatcher.java:524)
at java.security.AccessController.doPrivileged(AccessController.java:246)
at com.sapportals.portal.prt.dispatcher.Dispatcher.service
(Dispatcher.java:407)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service
(InvokerServlet.java:156)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet
(HttpHandlerImpl.java:401)
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:1039)
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)
atDarryl
Thank you for the quick reply.. I did check and the system property field was blank
I also wanted to point out that we are not experiencing this issue in our Dev enviornment, and all content was transported to Q. Only in Q are we getting this issue.
Please advise -
Bursting report error for BI Publisher
hi all,
Following is the error i am getting while bursting a report through the BI Publisher Console Scheduler.
Please help.
oracle.apps.xdo.servlet.scheduler.ProcessingException: java.lang.NullPointerException
at oracle.apps.xdo.servlet.scheduler.toplink.ToplinkDataHandler.insertJob(ToplinkDataHandler.java:830)
at oracle.apps.xdo.servlet.ui.scheduler.SchedulerServlet.scheduleJob(SchedulerServlet.java:1896)
at oracle.apps.xdo.servlet.ui.scheduler.SchedulerServlet.doPost(SchedulerServlet.java:293)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
at oracle.apps.xdo.servlet.security.SecurityFilter.doFilter(SecurityFilter.java:94)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.NullPointerException
at oracle.apps.xdo.servlet.scheduler.toplink.ToplinkDataHandler.insertJob(ToplinkDataHandler.java:821)
... 16 more
Thanks..When we've had toplink errors, we've assumed there's been a disconnect between our scheduler database and BiPublisher.
Stopping BiPublisher and restarting the app clears these errors for us. -
What are the reasons for following Javascript error in Report Viewer
Post Author: dhuka
CA Forum: Crystal Reports
Hello Everybody!
I am using Crystal Reports 10 in my web application. But unfortunately I am surrounded with strange problem related to it because of which I have been unable to deploy is on client-side. In my application the error given below is displayed as javascript error in Report Viewer and report is not displayed. But more frustrating part is that I am getting the same error due to different problem with reporting and I am stuck with it as I am unable to figure out what's causing the error now. Earlier this error appeared due to problem with parameter passing to stored procedure which I resolved it and error vanished but once again it has shown up. Moreover this error now appears less frequently and randomly therefore it is even difficult to trace the cause.
Problem with this Web page might prevent it from being displayed properly or functioning properly. In the future, you can display this message by double-clicking the warning icon displayed in the status bar.
Line: 40Char: 12Error: Expected ')'Code: 0URL: http://myServer/myApp/myForms/myReports/ReportViewer.aspx
So can anybody tell me what factors might be causing this errors as the error text is very vague in nature and gives no idea about the actual error.
Guys, I hope for your kind co-operation.
Regards,Post Author: dhuka
CA Forum: Crystal Reports
Thanks for you reply Krishna.
But this syntax error is the one that is creating problem for me as I cannot trace it. The form ReportViewer.aspx contains only a report viewer object which remains un-binded to any ReportDocument even at runtime.
At code behind ReportViewer.aspx I have code below that associates SQL Stored Procedure Parameter and Report Filter along with report name. Once all above is associated with ReportDocument, I export ReportDocument to PDF file format and display the report. Here I dont' even bind ReportDocument with my ReportViewer. Moreover, as I mentioned previously this error is encountered randomly (with no reasonable explanation so far) on client PC (while browsing through application).
I hope below code give you good idea of the way I am implementing my reporting.
Looking forward to you solution. Please note that I am only passing the ReportFileName and Parameter and Filter Criteria to this form while dataTable by itself using the connection information.
<<<<<<<<<<<<<<<<<CODE BEHIND of REPORTVIEWER.ASPX>>>>>>>>>>>
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Dim strKeys() As String
Dim strReportFilter As String
Dim strReportName As String
Dim strError As structError
Try
ReDim strKeys(0)
If strReportName = "" Then
strReportName = Context.Session("ReportName").ToString()
If Not Session("ReportParameters") = Nothing Then
Dim char_Delimiter() As Char = ";".ToCharArray()
strKeys = Session("ReportParameters").ToString().Split(char_Delimiter)
End If
If Not Session("ReportFilter") = Nothing Then
strReportFilter = Session("ReportFilter").ToString()
End If
Else
Session("DataTable") = Nothing
End If
If Not ViewParameterReport(strReportName, strKeys, strReportFilter, strError) Then
ASPNET_DisplayErrorMessageBox(strError.strMsg, Me)
Exit Sub
End If
Catch ex As Exception
strError.strMsg = Err.Description
ASPNET_DisplayErrorMessageBox(strError.strMsg, Me)
Finally
End Try
End Sub
Private Function ViewParameterReport(ByVal str_ReportName As String, ByVal str_ReportParameters() As String, ByVal strReportFilter As String, ByRef strError As structError) As Boolean
Dim str_ReportPath As String = CStr(ConfigurationSettings.AppSettings.Get("ReportPath"))
Dim crLogInfo As TableLogOnInfo
Dim crConnectionInfo As ConnectionInfo
Try
str_ReportPath = CStr(ConfigurationSettings.AppSettings.Get("ReportPath"))
o_Rpt = New CrystalDecisions.CrystalReports.Engine.ReportDocument
o_Rpt.Load(str_ReportPath & "\rpts\" & str_ReportName)
If Context.Session("DataTable") = "" Then
crLogInfo = New TableLogOnInfo()
crConnectionInfo = New ConnectionInfo()
crLogInfo = o_Rpt.Database.Tables(0).LogOnInfo
crConnectionInfo = o_Rpt.Database.Tables(0).LogOnInfo.ConnectionInfo
clsDbCnn.SetDBProperties()
crConnectionInfo.ServerName = clsDbCnn.Server
crConnectionInfo.DatabaseName = clsDbCnn.Database
crConnectionInfo.UserID = clsDbCnn.UserID
crConnectionInfo.Password = clsDbCnn.Password
crLogInfo.ConnectionInfo = crConnectionInfo
o_Rpt.Database.Tables(0).ApplyLogOnInfo(crLogInfo)
Else
ds_MISReports = New DataSet()
ds_MISReports = CType(Session("DataTable"), DataSet)
o_Rpt.SetDataSource(ds_MISReports)
End If
If Not IsPostBack Then
Dim param_Fields As CrystalDecisions.Shared.ParameterFields = New ParameterFields()
Dim iCount As Integer
If str_ReportParameters.GetUpperBound(0) <> 0 Then
For iCount = 0 To str_ReportParameters.Length - 1 Step 2
o_Rpt.SetParameterValue(CStr(str_ReportParameters(iCount).ToString()), CStr(str_ReportParameters(iCount + 1).ToString()))
Next
o_Rpt.RecordSelectionFormula = strReportFilter
End If
End If
'crViewer.DisplayGroupTree = False
'crViewer.ReportSource = o_Rpt
SetDBLogonForReport(crConnectionInfo, o_Rpt)
Dim TargetFileName As String
Dim fs As System.IO.FileStream
Dim FileSize As Long
Dim GenDS As DataSet
'Dim oRD As New ReportDocument()
Dim crReportObject As CrystalDecisions.CrystalReports.Engine.ReportObject()
Dim oExO As ExportOptions
Dim oExDo As New DiskFileDestinationOptions()
'Build Target Filename
TargetFileName = str_ReportPath & "\Pdfs\" & Session.SessionID & ".pdf"
'Export to PDF
oExDo.DiskFileName = TargetFileName
oExO = o_Rpt.ExportOptions
oExO.ExportDestinationType = ExportDestinationType.DiskFile
oExO.ExportFormatType = ExportFormatType.PortableDocFormat
oExO.DestinationOptions = oExDo
o_Rpt.Export()
o_Rpt.Close()
'Send the file to the user that made the request
Response.Clear()
Response.Buffer = True
Response.AddHeader("Content-Type", "application/pdf")
Response.AddHeader("Content-Disposition", "attachment;filename=MyReport.pdf;")
fs = New System.IO.FileStream(TargetFileName, IO.FileMode.Open)
FileSize = fs.Length
Dim bBuffer(CInt(FileSize)) As Byte
fs.Read(bBuffer, 0, CInt(FileSize))
fs.Close()
Response.BinaryWrite(bBuffer)
Response.Flush()
Response.Close()
o_Rpt = Nothing
Return True
Catch ex As Exception
strError.strMsg = Err.Description
Return False
Finally
crConnectionInfo = Nothing
crLogInfo = Nothing
End Try
End Function
Private Sub SetDBLogonForReport(ByVal myConnectionInfo As ConnectionInfo, _
ByVal myReportDocument As ReportDocument)
Dim myTables As Tables = myReportDocument.Database.Tables
Dim count As Integer
For count = 0 To myTables.Count - 1
Dim myTableLogonInfo As TableLogOnInfo = myTables(count).LogOnInfo
myTableLogonInfo.ConnectionInfo = myConnectionInfo
myTables(count).ApplyLogOnInfo(myTableLogonInfo)
myTables(count).Location = myConnectionInfo.DatabaseName & ".dbo." & myTables(count).Location.Substring(myTables(count).Location.LastIndexOf(".") + 1)
myTables(count).LogOnInfo.ConnectionInfo.ServerName = myConnectionInfo.ServerName()
Next
End Sub -
Run time error in report for a particular month : " TIME_OUT"
hi frends, we have developed a report for PM module in SAP. it is a monthy report. and user have to enter the month for which he wants to see the report. we are facing runtime error for a particular oct. and nov month of 2009 only , all other months are working fine. The error is :
The program "ZPMR_EQUP_PERFORMANCE_REPORT" has exceeded the maximum permitted
runtime without
interruption and has therefore been terminated.
what could be the reason.Hi Achalmehra,
By seeing the run time error "TIME_OUT", I suspect this is due to Performance issue.
There is a chance that they had huge data dump into PM server from other servers and there is also chance that
They have many records available for these 2 months.
IN any case, please chk with Run time analysis (SE30) by executing your program...
If it displays the graph more than 30 % for Database then it is an issue with the Performance.
Also chk with SQL trace.....
Second case :
Check you had not used Nested Loops, Select queries in Loop.
Make sure you use Binary search for Read Statements....
Third : Chk with the runtime error at which place of the code it is throwing Time_out error at Source code extract.
To help you further, please paste your code here and also paste the Run time error that you receive with the select queries.
Regards,
Kittu -
#multivalue error for detail object in webi report
Hi,
I am facing #multivalue error in my webi report.
I am using 2 queries
Query 1
Account Number
Cost Center
Query 2
Account Number
Order Number
Now I want to display Account Namer,Cost Center and Order Number in the report.
So I merged Account Number from both the queries, and created a detailed object "Order" and associated it with [Query 1].[Account number].
But Order displays values for some accounts, and displays Nulls and #MULTIVALUE error for some accounts.
Please through some light on this issue.
I tried every possible solution from my side, but couldn't get it work. It is happening because there is a 1:N relationship between Account Number and Order. I can not use any aggregate function because it will give only the Max or Min value, but I want list all the value of for each Account Number. Avoid Duplicate Row Aggregation was also checked but it didnot help.
Thanks.Hi Shreya,
There are few things that you need to consider while displaying the data.
1 - Can an Account Number be associated to more than one Order Number? If yes, then your solution will not work and that's the reason you are seeing #MULTIVALUE (i.e. Multiple Order Numbers for the same account number)
2 - Why would you want to create two data providers? Would it not be possible for you to bring in all the 3 objects in the same data provider? The only reason I could think of is that they are not related
3 - Always make the lower granularity objects common across the data providers. I do not know about the relation between different entities of your database, but I would suggest something like
Query 1 - Order Number, Account Number
Query 2 - Order Number, Cost Center
and merge Order Number...and create detailed object for either Account Number / Cost Center. It all depends on the relation between the tables.
Hope the above pointers help you.
Regards,
Srivatsa -
Urgent !! Error related to NT service for Report Server in 6i
Recently i have installed Oracle 9iAS 1.0.2.1 on WindowsNT 4.0 SP5 and using Oracle 8.1.7.0.0. I found that the service for Oracle Forms Server [Form60Server] is working where as the service for Oracle Report Server gives the following error :
Oracle Reports Server [Rep60_<computer_name>] service returned service specific error 186
After giving this message, the service not started.
Seeking guidence through this fourm.
Regards<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Ashwani Dave ([email protected]):
Recently i have installed Oracle 9iAS 1.0.2.1 on WindowsNT 4.0 SP5 and using Oracle 8.1.7.0.0. I found that the service for Oracle Forms Server [Form60Server] is working where as the service for Oracle Report Server gives the following error :
Oracle Reports Server [Rep60_<computer_name>] service returned service specific error 186
After giving this message, the service not started.
Seeking guidence through this fourm.
Regards<HR></BLOCKQUOTE>
I think something is either active or hung listening on the same socket Oracle Reports is trying to run on. Remove the conflict by using another port. If Oracle Reports/Forms has crashed and hung the socket the only easy way to fix the problem is to three finger salute the machine.
Maybe you are looking for
-
Problem with Business object attributes in UWL Workitem description
Hi All, I have developed a workflow which sends the workitem for two level approvals. Once the workflow is triggered workitem sent to the respective user for approval. When user opens the workitem in inbox he can see all the data which comes from the
-
Hello, I'm not really that much of a new user, but I need to compile through javac and can't get it to work (I've been dependent on my programming environment before). It will not recognize my jar files. How do I get them to be included?
-
Hi I seem to be getting a number of ghost e-mails with NO SENDER, NO SUBJECT and under that it says THIS MESSAGE HAS NO CONTENT. how do I din these e-mails they are not on my main computer only on the iPad and they will not high light so I can't dele
-
I have been having this synch error pop up while updating apps. etc. Although it appears that it actually is connecting and synching. This is more of a nusance than anything and I was wondering if anyone else has encountered the same problem since
-
2 macbooks and 2 btkeyboards in same room - interference.
Hello! I´m looking for the solution for a very annoying problem. I have a macbook pro and my boyfriend has a macbook. We are booth using apple bluetooth keyboards. The problem is that it now often happens that his keyboard is trying to connect to my