Excel Analyzer:errors on opening reports
Hi all
I am on Excel 2007, OBIEE 10.1.3.4.0.
Finally got the Analyzer menu tab to appear in Excel. After logging in I I am able to see on-line reports (but not templates?). When I try to open any report I first get an error box which says
<<Translation file not found for locale:'en-GB'!>>
When I ok this i get an Excel message:
<<Object variable or With block variable not set>>
The report then appears to load but the cursor remains an hour glass and none of the Analyzer menu options are available. I therefore cannot create or upload templates!
Can anybody help with this please?
Thanks
Naz
Found the problem,
In the Install directory of Excell Analyzer there a number of translation files, and bizarely this file is missing.
The directory should be C:\programfiles\oracle\XML Publisher\Analyzer for excel\config
I've copied the en-US.xlf file and renamed it en-gb. Not sure if this is correct but my reports are working now. The real question is how to update the xlf file on the bi server so all users dont encounter this problem.
Hope this helps anyone else who has this issue.
Regards
Ed
Similar Messages
-
Error in opening reports in OBIEE
We are getting this error when opening reports in OBIEE
State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. Unable to find library 'libclntsh.so.9.0'. [nQSError: 46029] Failed to load the DLL /u01/app/oas/product/10.1.4b/OracleBI/server/Bin64/libnqsdbgatewayoci8i64.so. Check if 'Oracle OCI 8.x' database client is installed. (HY000)
Our envirnment details:
OBIEE version 10.1.3.4
Unix platform : HP-UX ia64
Reporting Databse version : 11.2.0.1.0Hi Vaidya,
I'm not sure how much I can help you but from the error log I can see there is some issue when deploying transformations. Have you implemented any transformations in BI? If yes please check if they are applied properly and working fine in BI. Then try to open the report in portal.
Here is a document on modeling transformations in BI https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/dc43c445-0d01-0010-23a1-ca348ff5f975
Hope it is helpful.
Regards,
Seema Rane. -
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 -
Error when opening report in Excel
Hi all,
I'm trying to import an answer (which I made in OBI) to an Excel via sheet (Via the OBI office plugin).
So what I do is:
- I navigate to the report I want to open
- I expand the report so I can see all the views
- I double click the view I want to open
After doing this, I get following error:
Error while opening workbook. Old format or invalid type library. (Exception from HRESULT: 0x80028018 (TYPE_E_INVDATAREAD))
Can any of you help me with this issue?
Thank you very muchHi Srini,
Thanks for your reply, but -for the benefit of other readers- after some research we found that this issue seems to be caused by a Microsoft Office BUG, which is listed on their support website as Article ID 320369 ( BUG: "Old format or invalid type library" error when automating Excel )
The URL to access this article is: http://support.microsoft.com/kb/320369
Cheers!! -
Excel 2010 error when opening excel file
Getting error "excel can not open the file xlsx because the file format or extension is not valid"
Hi,
Based on the error message you provided, this file may have been saved as an Excel binary workbook. However, the workbook has an .xlsx extension that is appended to the file.
Try to change the file name from ".xlsx" to ".xlsb" or ".xls" to check the result.
One other possible cause is the file is corrupted, open Excel and click File -> Open -> Browse to the file location, select the file, and choose "Open and Repair", check if this helps in this scenario:
Regards,
Melon Chen
TechNet Community Support
It's recommended to download and install
Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
programs.Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected] -
Error While Opening Reports IN OBIEE11g
Hi Experts,
I am getting the below error while opening the Reports in OBIEE. OBIEE 11g has been installed on the linux box .
Odbc driver returned an error (SQLExecDirectW).
Error Details
Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P:OI2DL65P
State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 27004] Unresolved table: "Test2". (HY000)
SQL Issued: {call NQSGetQueryColumnInfo('SELECT "Account"."Gen3,Account" FROM "Test2"')}
SQL Issued: SELECT "Account"."Gen3,Account" FROM "Test2"
Edit - Refresh
We have migrate the rpd , catalog and depolyed them on the new linux server from the windows server .All the services are up but while opening the reports it is showing the above error.
Thanks .Another thing to consider is the data that your report contains. It's possible that the data within the report output contains special characters that are causing problems with the well-formedness of the XML.
I would look at this closely in a case where the reports were running fine and suddenly they stop. Especially if you have a pretty decent amount of DML traffic in the application.
Earl -
RWI 00236 error while opening report in PDF mode
Hi All,
I'm getting the RWI 00236 error while the report is opened in PDF mode.I have searched on this error but couldn't got the answer so far.My report is quite a large one and i wont get any error while running simple reps.If this is something to do with temp files deletion at server side ,pls let me know which temp files needs to be deleted bcoz there quite few temp files at server level.Ofter getting this error msg ,the report browser hangs up and i needs to logout completely from infoview.
Im using BO X1r2 version and service pack is SP4.Hi,
Are you able to open other reports in PDF Mode or not
If you are not able to open any report in PDF format then try to follow below mentioned steps.
1. Open Adobe Acrobat Reader. Click Edit > Preferences.
2. Click Internet in the Categories column of the Preferences property sheet.
3. Choose Display PDF in browser check box as shown below.
4. Click Ok, Adobe will reconfigure the setting, close Reader.
5. Now, when we view in pdf format in IE, we might see one message
6. So, when IE is launched, go to Tools>Manage Add-ons>Enable or Disable Add-ons and then enable
"Adobe PDF Reader Link Helper" add-on. Click Ok, restart IE.
Cheers,
Suresh Aluri. -
I've asked this question in SQL Server Upgrade forume, I'm asking here as well:
Your help is highly appreciated!
After migrating ReportServer db from 2008 to 2012, when access Report Manager throughhttp://myserver:80/Reports, I got the error below:
ui!ReportManager_0-3!11d8!02/04/2013-15:19:12:: e ERROR: Software Usage Metrics initialize failed
The process is below:
•I successfully installed SQL Server 2012 (64-bit) Enterprise as a Native Mode on a server who runs Windows 7 Enterprise SP1 (64-bit).
•I restored "ReportServer2008To2012" and "ReportServer2008To2012TempDB" in SSRS 2012 from the db files backed up in SQL 2008. In SSRS 2008, I have SSRS Model, ad-hoc reports based on model, and I also have canned reports built through BIDS
report server project.
•I reconfigured both databases' Compatibility level to SQL Server 2012(110) from SQL Server 2008(100).
•I configured SSRS through Reporting Services Configuration Manager as below:
> I chosen "Use built-in account:" as Service Account
> In "Database" tab, I selected "Choose an existing report server database" and choose "ReportServer2008To2012" db, I used "Windows Authentication" (my login has the System Administrator priviledge). I got all 4 parts
success: Verifying database sku = Success; Generating rights scripts = Success; Applying connection rights = Success; Setting DSN = Success.
> I went to "Scale-out Deployment" to check if the initializing succeed, I found nothing there.
Here are what I did from different approaches:
A •I went to "Encryption Keys" and restored the key I backed up from SSRS 2008, after retoring, I got two initialized instances: One is on my current server (SSRS 2012), the other one is from the old server (SSRS 2008).
I deleted the old one(SSRS 2008) through "Remove Server" action and kept the one on my current server(SSRS 2012).
After I restart SSRS service, and tried to connect Report Manager, I got "An internal error occurred on the report server. See the error log for more details."
I checked the log file, the error is actually "ERROR: Software Usage Metrics initialize failed"
B •I also tried to "Delete Encrypted Content" and did see the SSRS was initialized through checking it on "Scale-out Deployment", however when I tried to open Report Manager, I got the same error.
Anyone had the same issue? Any solution? Thanks in advance!Your help is highly appreciated!
After migrating ReportServer db from 2008 to 2012, when access Report Manager through
http://myserver:80/Reports, I got the error below:
ui!ReportManager_0-3!11d8!02/04/2013-15:19:12:: e ERROR: Software Usage Metrics initialize failed
The process is below:
•I successfully installed SQL Server 2012 (64-bit) Enterprise as a Native Mode on a server who runs Windows 7 Enterprise SP1 (64-bit).
•I restored "ReportServer2008To2012" and "ReportServer2008To2012TempDB" in SSRS 2012 from the db files backed up in SQL 2008. In SSRS 2008, I have SSRS Model, ad-hoc reports based on model, and I also have canned reports built through BIDS
report server project.
•I reconfigured both databases' Compatibility level to SQL Server 2012(110) from SQL Server 2008(100).
•I configured SSRS through Reporting Services Configuration Manager as below:
> I chosen "Use built-in account:" as Service Account
> In "Database" tab, I selected "Choose an existing report server database" and choose "ReportServer2008To2012" db, I used "Windows Authentication" (my login has the System Administrator priviledge). I got all
4 parts success: Verifying database sku = Success; Generating rights scripts = Success; Applying connection rights = Success; Setting DSN = Success.
> I went to "Scale-out Deployment" to check if the initializing succeed, I found nothing there.
Here are what I did from different approaches:
A •I went to "Encryption Keys" and restored the key I backed up from SSRS 2008, after retoring, I got two initialized instances: One is on my current server (SSRS 2012), the other one is from the old server (SSRS 2008).
I deleted the old one(SSRS 2008) through "Remove Server" action and kept the one on my current server(SSRS 2012).
After I restart SSRS service, and tried to connect Report Manager, I got "An internal error occurred on the report server. See the error log for more details."
I checked the log file, the error is actually "ERROR: Software Usage Metrics initialize failed"
B •I also tried to "Delete Encrypted Content" and did see the SSRS was initialized through checking it on "Scale-out Deployment", however when I tried to open Report Manager, I got the same error.
Anyone had the same issue? Any solution? Thanks in advance! -
RAS error - Cannot open report document. --- 0x80004005
I am using RAS to open and examine a number of Crystal Reports and everything is working fine with the exception of 1 report. I can publish this report to a different BOE system and examine it fine without error using the same code, so I am trying to understand why the process is failing. The specific error thrown is:
com.crystaldecisions.sdk.occa.managedreports.ras.internal.ManagedRASException: Cannot open report document. --- 0x80004005
Unspecified error
cause:com.crystaldecisions.sdk.occa.report.lib.ReportSDKServerException: 0x80004005
Unspecified error---- Error code:-2147467259 Error code name:failed
detail: 0x80004005
Unspecified error
at com.crystaldecisions.sdk.occa.managedreports.ras.internal.RASReportAppFactory.a(Unknown Source)
at com.crystaldecisions.sdk.occa.managedreports.ras.internal.RASReportAppFactory.a(Unknown Source)
at com.crystaldecisions.sdk.occa.managedreports.ras.internal.RASReportAppFactory.openDocument(Unknown Source)
Any insight as to why this error is thrown for this specific report?The message shows that this specific report cannot be accessed.
Try to re-check the specific report both in the crystalreport designer and Infoview before using the code.
Thanks -
After Export to Excel File error while opening using xmlwriter in silverlight
Can one help me in fixing following issue after to export to excel had done iam getting following error message
"The file you are trying to open, 'test.xls', is in a different format than specified by the file extension. Verify that the file is not corrupted and is from a trusted source before opening the file. Do uou want to open the file now ?"
If i click Yes file opens correctly but it shows above message . Can any one suggest me how to avoid this programatically with the following code.
I tried by changing the file saving as .xls to .xlsx but it doesnt works.
Public Sub Export()
Dim ss As String = "urn:schemas-microsoft-com:office:spreadsheet"
Dim DataType As String
Dim DataValue As Object
'Dim DataView As C1.Silverlight.Data.DataView = m_DataGrid.ItemsSource
'Dim ItemsSource As C1.Silverlight.Data.DataTable = DataView.Table
Dim XmlSettings As XmlWriterSettings
Dim ColumnBinding As Binding
Dim FieldName As String
Dim DataGridColumn As C1.Silverlight.DataGrid.DataGridColumn
Dim ColumnIndex As Integer
Dim J As Integer
Dim DataGridRow As C1.Silverlight.DataGrid.DataGridRow
Dim CommonUtil As New GoldCRM.Core.Common.Util
Dim PropertyInfo As System.Reflection.PropertyInfo
Dim CellFormat As String
Try
If m_DataGrid.Rows.Count = 0 Then Exit Try
XmlSettings = New XmlWriterSettings
XmlSettings.Indent = True
XmlSettings.NewLineOnAttributes = False
Using myXML As XmlWriter = XmlWriter.Create(m_Stream, XmlSettings)
With myXML
.WriteStartDocument()
.WriteProcessingInstruction("mso-application", "progid=" & ControlChars.Quote & "Excel.Sheet" & ControlChars.Quote)
.WriteStartElement("Workbook", ss)
.WriteStartElement("DocumentProperties", "urn:schemas-microsoft-com:office:office")
.WriteElementString("Author", m_DocumentProperties.Author)
.WriteElementString("LastAuthor", String.Format("{0} {1}", Application.Current.Resources("EmpFirstName"), Application.Current.Resources("EmpLastName")))
.WriteElementString("Created", m_DocumentProperties.Created)
.WriteElementString("LastSaved", m_DocumentProperties.LastSaved)
.WriteElementString("Company", Application.Current.Resources("REPORTINGSITENAME"))
.WriteElementString("Version", m_DocumentProperties.Version)
.WriteEndElement() 'Document Properties
.WriteStartElement("ExcelWorkbook", "urn:schemas-microsoft-com:office:excel")
.WriteElementString("WindowHeight", m_WorkbookProperties.WindowHeight)
.WriteElementString("WindowWidth", m_WorkbookProperties.WindowWidth)
.WriteElementString("WindowTopX", m_WorkbookProperties.WindowTopX)
.WriteElementString("WindowTopY", m_WorkbookProperties.WindowTopY)
.WriteElementString("ProtectStructure", m_WorkbookProperties.ProtectStructure)
.WriteElementString("ProtectWindows", m_WorkbookProperties.ProtectWindows)
.WriteEndElement() 'Excel Workbook
.WriteStartElement("Styles")
For I As Integer = 0 To m_Styles.Count - 1
.WriteStartElement("Style")
.WriteAttributeString("ss", "ID", ss, m_Styles(I).ID)
If m_Styles(I).Name <> "" Then
.WriteAttributeString("ss", "Name", ss, m_Styles(I).Name)
End If
'ALIGNMENT LOGIC:
.WriteStartElement("Alignment")
If Not m_Styles(I).Alignment Is Nothing Then
If m_Styles(I).Alignment.Horizontal <> 0 Then
.WriteAttributeString("ss", "Horizontal", ss, m_Styles(I).Alignment.Horizontal.ToString)
End If
If m_Styles(I).Alignment.Vertical <> 0 Then
.WriteAttributeString("ss", "Vertical", ss, m_Styles(I).Alignment.Vertical.ToString)
End If
If m_Styles(I).Alignment.WrapText = True Then
.WriteAttributeString("ss", "WrapText", ss, "1")
End If
End If
.WriteEndElement()
'BORDER LOGIC:
.WriteStartElement("Borders")
.WriteStartElement("Border")
.WriteAttributeString("ss", "Position", ss, "Bottom")
.WriteAttributeString("ss", "LineStyle", ss, "Continuous")
.WriteAttributeString("ss", "Weight", ss, "1")
.WriteEndElement() 'Border
.WriteStartElement("Border")
.WriteAttributeString("ss", "Position", ss, "Left")
.WriteAttributeString("ss", "LineStyle", ss, "Continuous")
.WriteAttributeString("ss", "Weight", ss, "1")
.WriteEndElement() 'Border
.WriteStartElement("Border")
.WriteAttributeString("ss", "Position", ss, "Right")
.WriteAttributeString("ss", "LineStyle", ss, "Continuous")
.WriteAttributeString("ss", "Weight", ss, "1")
.WriteEndElement() 'Border
.WriteStartElement("Border")
.WriteAttributeString("ss", "Position", ss, "Top")
.WriteAttributeString("ss", "LineStyle", ss, "Continuous")
.WriteAttributeString("ss", "Weight", ss, "1")
.WriteEndElement() 'Border
.WriteEndElement() 'Borders
'FONT LOGIC:
.WriteStartElement("Font")
Dim myFont As Excel.Styles.Font = m_Styles(I).Font
.WriteAttributeString("ss", "FontName", ss, myFont.FontName.ToString)
.WriteAttributeString("ss", "Size", ss, myFont.Size)
.WriteAttributeString("ss", "Color", ss, myFont.Color.ToString.Remove(1, 2))
If myFont.Bold = True Then .WriteAttributeString("ss", "Bold", ss, "1")
If myFont.Italic = True Then .WriteAttributeString("ss", "Italic", ss, "1")
If myFont.Underline <> 0 Then .WriteAttributeString("ss", "Underline", ss, myFont.Underline.ToString)
.WriteEndElement()
Dim myInterior As Excel.Styles.Interior = m_Styles(I).Interior
.WriteStartElement("Interior")
.WriteAttributeString("ss", "Color", ss, myInterior.Color.ToString.Remove(1, 2))
.WriteAttributeString("ss", "Pattern", ss, "Solid")
.WriteEndElement()
.WriteStartElement("NumberFormat")
.WriteEndElement()
.WriteStartElement("Protection")
.WriteEndElement()
.WriteEndElement() 'Style
Next I
.WriteStartElement("Style")
.WriteAttributeString("ss", "ID", ss, "DateStyle")
.WriteStartElement("NumberFormat")
.WriteAttributeString("ss", "Format", ss, "General Date")
.WriteEndElement() 'NumberFormat
.WriteEndElement() 'Style
.WriteStartElement("Style")
.WriteAttributeString("ss", "ID", ss, "HeaderStyle")
.WriteStartElement("Font")
.WriteAttributeString("x", "Family", ss, "Swiss")
.WriteAttributeString("ss", "Bold", ss, "1")
.WriteEndElement() 'Font
.WriteEndElement() 'Style
.WriteEndElement() 'Styles
'WORKSHEETS:
.WriteStartElement("Worksheet")
.WriteAttributeString("ss", "Name", ss, "WORKSHEET")
.WriteStartElement("Table")
.WriteAttributeString("ss", "ExpandedColumnCount", ss, m_DataGrid.Columns.Count)
.WriteAttributeString("ss", "ExpandedRowCount", ss, m_DataGrid.Rows.Count + 100) 'Temporary fix: sometimes 1 row is not added.
.WriteAttributeString("ss", "FullColumns", ss, m_DataGrid.Columns.Count)
.WriteAttributeString("ss", "FullRows", ss, m_DataGrid.Rows.Count + 100) 'Temporary fix: sometimes 1 row is not added.
.WriteAttributeString("ss", "DefaultRowHeight", ss, 15)
For Each DataGridColumn In m_DataGrid.Columns
If DataGridColumn.Visibility = Visibility.Visible Then
.WriteStartElement("Column")
If TypeOf DataGridColumn Is C1.Silverlight.DataGrid.DataGridNumericColumn Then
.WriteAttributeString("ss", "AutoFitWidth", ss, 1)
ElseIf TypeOf DataGridColumn Is C1.Silverlight.DataGrid.DataGridDateTimeColumn Then
.WriteAttributeString("ss", "AutoFitWidth", ss, 1)
Else
.WriteAttributeString("ss", "AutoFitWidth", ss, 0)
End If
If DataGridColumn.Width.Value <= 100 Then
.WriteAttributeString("ss", "Width", ss, 100)
Else
.WriteAttributeString("ss", "Width", ss, DataGridColumn.Width.Value)
End If
.WriteEndElement()
End If
Next
J = 0
For Each DataGridRow In m_DataGrid.Rows
J += 1
If TypeOf DataGridRow Is GoldCRM.Controls.Filter.clsFilterRow Then
.WriteStartElement("Row")
.WriteAttributeString("ss", "Index", ss, J)
.WriteAttributeString("ss", "AutoFitHeight", ss, 0)
.WriteAttributeString("ss", "Height", ss, 15)
ColumnIndex = 0
For Each DataGridColumn In m_DataGrid.Columns
If DataGridColumn.Visibility = Visibility.Visible Then
FieldName = String.Empty
If TypeOf DataGridColumn Is DataGridBoundColumn Then
ColumnBinding = TryCast(DataGridColumn, DataGridBoundColumn).Binding
If ColumnBinding.Path IsNot Nothing Then
FieldName = ColumnBinding.Path.Path
End If
ElseIf TypeOf DataGridColumn Is DataGridTemplateColumn Then
If DataGridColumn.FilterMemberPath IsNot Nothing Then
FieldName = DataGridColumn.FilterMemberPath.Trim
End If
End If
If Not FieldName.Equals(String.Empty) Then
ColumnIndex += 1
.WriteStartElement("Cell")
.WriteAttributeString("ss", "Index", ss, ColumnIndex)
.WriteAttributeString("ss", "MergeAcross", ss, 0)
.WriteAttributeString("ss", "StyleID", ss, "HeaderStyle")
.WriteStartElement("Data")
.WriteAttributeString("ss", "Type", ss, "String")
If DataGridColumn.Header IsNot Nothing Then
.WriteValue(DataGridColumn.Header.ToString)
Else
.WriteValue("")
End If
.WriteEndElement() 'Data
.WriteEndElement() 'Cell
End If
End If
Next
.WriteEndElement() 'Row
End If
If Not (TypeOf DataGridRow Is GoldCRM.Controls.Filter.clsFilterRow) Then
.WriteStartElement("Row")
.WriteAttributeString("ss", "Index", ss, J + 1)
.WriteAttributeString("ss", "AutoFitHeight", ss, 0)
.WriteAttributeString("ss", "Height", ss, 15)
ColumnIndex = 0
For Each DataGridColumn In m_DataGrid.Columns
If DataGridColumn.Visibility = Visibility.Visible Then
FieldName = String.Empty
If TypeOf DataGridColumn Is DataGridBoundColumn Then
ColumnBinding = TryCast(DataGridColumn, DataGridBoundColumn).Binding
If ColumnBinding.Path IsNot Nothing Then
FieldName = ColumnBinding.Path.Path
End If
ElseIf TypeOf DataGridColumn Is DataGridTemplateColumn Then
If DataGridColumn.FilterMemberPath IsNot Nothing Then
FieldName = DataGridColumn.FilterMemberPath.Trim
End If
End If
If Not FieldName.Equals(String.Empty) Then
ColumnIndex += 1
Dim DataCellValue As Object = Nothing
If Not (TypeOf DataGridRow Is GoldCRM.Controls.Filter.clsFilterRow) Then
PropertyInfo = CommonUtil.GetProperty(DataGridRow.DataItem, FieldName)
If PropertyInfo IsNot Nothing Then
DataCellValue = PropertyInfo.GetValue(DataGridRow.DataItem, Nothing)
End If
End If
CellFormat = String.Empty
If DataCellValue IsNot Nothing Then
Select Case DataCellValue.GetType.Name.ToUpper
Case "BitmapImage".ToUpper
DataValue = "Image"
DataType = "String"
Case "Hyperlink".ToUpper
DataType = "String"
DataValue = "Hyperlink"
Case "Decimal".ToUpper
DataType = "Number"
DataValue = DataCellValue
Case "DateTime".ToUpper
If CType(DataCellValue, Date).Year > 1900 Then
DataType = "DateTime"
DataValue = DataCellValue
CellFormat = "DateStyle"
Else
DataType = "String"
DataValue = DataCellValue
End If
Case Else
DataType = "String"
DataValue = DataCellValue
End Select
Else
DataType = "String"
DataValue = String.Empty
End If
.WriteStartElement("Cell")
.WriteAttributeString("ss", "Index", ss, ColumnIndex)
.WriteAttributeString("ss", "MergeAcross", ss, 0)
If Not CellFormat.Equals(String.Empty) Then
.WriteAttributeString("ss", "StyleID", ss, CellFormat)
End If
.WriteStartElement("Data")
.WriteAttributeString("ss", "Type", ss, DataType)
.WriteValue(DataValue)
.WriteEndElement() 'Data
.WriteEndElement() 'Cell
End If
End If
Next
.WriteEndElement() 'Row
End If
Next
.WriteEndElement() 'Table
.WriteEndElement() 'Worksheet
.WriteEndElement() 'Workbook
.WriteEndDocument()
.Close()
End With
End Using
Catch ex As Exception
Throw New Exception(ex.Message, ex)
Finally
If m_Stream IsNot Nothing Then
m_Stream.Close()
m_Stream.Dispose()
End If
m_Stream = Nothing
m_DataGrid.IsLoading = False
DataValue = Nothing
'DataView = Nothing
'ItemsSource = Nothing
XmlSettings = Nothing
ColumnBinding = Nothing
DataGridColumn = Nothing
End Try
End Sub
KrishnaHi,
i have the same issue now where i need to populate the xport file name as report name. can you send me your solution please. -
Analyzer error creating new reports
Has anyone seen this error message?<BR><BR>Error while executing query and retrieving data.; nested exception is com.hyperion.ap.APException:[1033] Native:<BR>-1073741819 Operating system exception thrown<BR><BR><BR>I started getting this today when I tried to create any new report to any database connection (old and new DB connections) Old reports still work, but I can't create anything new. Nothing has changed that I am aware of.<BR><BR>I tried restarting the service, rebooting the server, uninstalling and reinstalling Java client. Nothing has helped.<BR><BR>Nothing in the Hyperion knowledge base.<BR><BR>I plan to open a trouble ticket with Support but I have a ticket already opened with them for another issue with Analyzer for about a month now.
<p>Gary,</p><p>I have seen this issue. As far as I remember it did occur whilecreating the reports. I tried getting this solved but eventuallyhad to reinstall. Are you using desktop client? Are you able tocreate reports from the webclient? Hyperion told me that it wasrelated to some patches that could have been pushed onto themachine but i never believed that.</p><p>Will try to dig back and see what I got for this.</p>
-
Error while opening report in pdf through OAF.
This is my first report through OAF and I followed a couple threads discussed on this but I am unable to debug this problem
Requirement - User clicks the image and is prompted to open/save pdf result file.It doesnt take any user parameters
Error is : I get prompted to open/save the pdf file . I click on Open or Save it and then Open, it gives me the following error :
'could not open because it either is not a supported file or because the file has been damaged(for example , it was sent as an email attachement and wasnt correctly decoded)'
Steps taken so far :
1. Created VO with query select a,b,c from Table A
2. Created a simple xml page, with a torch image : Set Action Type and Event property of the Torch Image Item to FireAction and GenerateReport
3. Wrote the code in CO and AM to get the data in XMLNode.
4. I did SOPs , copypasted the xml in notepad saved it as xml, loaded in MSWord and created a template.Viewing pdf generates a pdf here on this data
5. With "XML Publisher Administrator" Responsibility, I created Data Definition and Template Definition.
6. I deployed all the files on server and ran the report. It prompts me to open the pdf but it seems corrupted. In Jserv.log, xml gets printed through SOPs.
One thing I noticed is: <?xml version="1.0"?> is missing from xml.
please assist me , what am I missing here ?
Thanks a lot.
My CO code :
public class EmpCO extends OAControllerImpl
public static final String RCS_ID="$Header$";
public static final boolean RCS_ID_RECORDED =
VersionInfo.recordClassVersion(RCS_ID, "%packagename%");
private static final String APP_NAME = "AK";
private static final String TEMPLATE_CODE = "Emp_Template";
private static final int BUFFER_SIZE = 32000;
public void processRequest(OAPageContext pageContext, OAWebBean webBean)
super.processRequest(pageContext, webBean);
OAApplicationModuleImpl am= (OAApplicationModuleImpl)pageContext.getApplicationModule(webBean);
am.invokeMethod("initEmpVO");
public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
super.processFormRequest(pageContext, webBean);
OAApplicationModuleImpl am= (OAApplicationModuleImpl)pageContext.getApplicationModule(webBean);
String event = pageContext.getParameter("event");
if("GenerateReport".equals(event))
System.out.println("user clicked the pencil");
// Get the HttpServletResponse object from the PageContext. The report output is written to HttpServletResponse.
DataObject sessionDictionary = (DataObject)pageContext.getNamedDataObject("_SessionParameters");
HttpServletResponse response = (HttpServletResponse)sessionDictionary.selectValue(null,"HttpServletResponse");
try {
ServletOutputStream os = response.getOutputStream();
// Set the Output Report File Name and Content Type
String contentDisposition = "attachment;filename=EmpReport.pdf";
response.setHeader("Content-Disposition",contentDisposition);
response.setContentType("application/pdf");
// Get the Data XML File as the XMLNode
XMLNode xmlNode = (XMLNode) am.invokeMethod("getEmpDataXML");
ByteArrayOutputStream outputStream = new ByteArrayOutputStream();
xmlNode.print(outputStream);
System.out.println(" xml data");
System.out.println(outputStream.toString()); //outputs the xml correctly
ByteArrayInputStream inputStream = new ByteArrayInputStream(outputStream.toByteArray());
System.out.println("1**");
ByteArrayOutputStream pdfFile = new ByteArrayOutputStream();
System.out.println("2**");
//Generate the PDF Report.
TemplateHelper.processTemplate(
((OADBTransactionImpl)am.getOADBTransaction()).getAppsContext(),// AppsContext
"AK",// Application short name of the template
TEMPLATE_CODE,// Template code of the template
"en", //language code of the template
"US",//Country Code
inputStream, //// XML data for the template
TemplateHelper.OUTPUT_TYPE_PDF,//Output type of processed document
null, //Properties
pdfFile); //OutputStream where the processed data goes
System.out.println("3**"); //doesnt print and goes in catch block
// Write the PDF Report to the HttpServletResponse object and flush.
byte[] b = pdfFile.toByteArray();
System.out.println("4**");
response.setContentLength(b.length);
System.out.println("5**");
os.write(b, 0, b.length);
System.out.println("6**");
os.flush();
System.out.println("7**");
os.close();
System.out.println("8**");
catch(Exception e)
System.out.println("9**");
response.setContentType("text/html");
throw new OAException(e.getMessage(), OAException.ERROR);
System.out.println("10**");
pageContext.setDocumentRendered(false);
System.out.println("11**");
///////////////------it prints only 1**, 2** and goes in catch block to print 9**
AM Code :
public void initEmpVO()
EmpVOImpl vo = getEmpVO1();
if(vo == null)
{ MessageToken errTokens[] = { new MessageToken("OBJECT_NAME", "EmpVO1") };
throw new OAException("AK", "FWK_TBX_OBJECT_NOT_FOUND", errTokens);
} else
{ vo.executeQuery(); }
public XMLNode getEmpDataXML()
OAViewObject vo = (OAViewObject)findViewObject("EmpVO1");
XMLNode xmlNode = (XMLNode) vo.writeXML(4, XMLInterface.XML_OPT_ALL_ROWS);
return xmlNode;
}Hi,
Basically the reason for this is that your "PDF file" is not populated with the correct pdf structure that Adobe recognizes (i.e. save the file and look at it in notepad, you'll see it's probably in html or a java stack trace). 2 reason's this happens
1.You do not have the necessary library files attached to your project i.e. for XMLPublisher you will need $JAVA_TOP/oracle/apps/fnd/* and $JAVA_TOP/oracle/apps/xdo/*. Zip these up and add them to your libraries section of your project.
2. Your XML Publisher properties are not configured correctly. (usually causes a blank file) To change this go to (E-Business Suite>XML Publisher Administrator>Administration>General>Temporary Directory). Depending on what your doing you will need to point this to either a server location or a local location. i.e. when uploading defintion/template and previewing it requires a server-side location to generate a temporary file for the preview, when running a jdeveloper project it will look for a local directory to generate the temporary file. If it cannot find the directory it will throw an error to System.out, and send the HttpServletResponse container a 0bytes file. For local development on a windows box I suggest setting the "Temporary Directory" to something like "C:\oracle" and ensure that folder exists.
Hope this helps
Brad -
Error while opening Reports URL
Hi,
I'm facing problem while opening Oracle 11g Reports URL. I was able to start the WLS_REPORTS. The status of the same in Oracle EM is up. But when I try to open the reports using http://<servername:port>/reports/rwservlet
I ensured that the port entered in the reports_install.properties file and httpd.conf is the same.
From the URL we are getting the following error.
Error 500--Internal Server Error
From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
10.5.1. 500 Internal Server Error
The server encountered an unexpected condition which prevented it from fulfilling the request.
The following is the error description from console.
Incident Id: 62
Incident Source: SYSTEM
Create Time: Fri Feb 25 11:28:52 CET 2011
Problem Key: BEA-101020 [HTTP]
Application Name: reports
Error Message Id: BEA-101020
Description
Incident detected using watch rule "UncheckedException":
Watch time: Feb 25, 2011 11:28:52 AM CET
Watch ServerName: WLS_REPORTS
Watch RuleType: Log
Watch Rule: (SEVERITY = 'Error') AND ((MSGID = 'BEA-101020') OR (MSGID = 'BEA-101017') OR (MSGID = 'BEA-000802'))
Watch DomainName: ClassicDomain
Watch Data:
DATE : Feb 25, 2011 11:28:52 AM CET
SERVER : WLS_REPORTS
MESSAGE : [ServletContext@1326597641[app:reports module:/reports path:/reports spec-version:2.5 version:11.1.1.2.0]] Servlet failed with Exception
java.lang.NullPointerException
at oracle.reports.rwclient.RWClient.doGet(RWClient.java:344)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:326)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
SUBSYSTEM : HTTP
USERID : <WLS Kernel>
SEVERITY : Error
THREAD : [ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'
MSGID : BEA-101020
MACHINE : <MachineName>
TXID :
CONTEXTID :
TIMESTAMP : 1298629732845
Stack Trace
java.lang.Throwable
at oracle.dfw.impl.incident.DiagnosticsDataExtractorImpl.createIncident(DiagnosticsDataExtractorImpl.java:231)
at oracle.dfw.spi.weblogic.JMXWatchNotificationListener.handleNotification(JMXWatchNotificationListener.java:195)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor$ListenerWrapper.handleNotification(DefaultMBeanServerInterceptor.java:1732)
at javax.management.NotificationBroadcasterSupport.handleNotification(NotificationBroadcasterSupport.java:257)
at javax.management.NotificationBroadcasterSupport$SendNotifJob.run(NotificationBroadcasterSupport.java:322)
at javax.management.NotificationBroadcasterSupport$1.execute(NotificationBroadcasterSupport.java:307)
at javax.management.NotificationBroadcasterSupport.sendNotification(NotificationBroadcasterSupport.java:229)
at weblogic.management.jmx.modelmbean.WLSModelMBean.sendNotification(WLSModelMBean.java:824)
at weblogic.diagnostics.watch.JMXNotificationProducer.postJMXNotification(JMXNotificationProducer.java:79)
at weblogic.diagnostics.watch.JMXNotificationProducer.sendNotification(JMXNotificationProducer.java:104)
at com.bea.diagnostics.notifications.JMXNotificationService.send(JMXNotificationService.java:122)
at weblogic.diagnostics.watch.JMXNotificationListener.processWatchNotification(JMXNotificationListener.java:103)
at weblogic.diagnostics.watch.Watch.performNotifications(Watch.java:621)
at weblogic.diagnostics.watch.Watch.evaluateLogRuleWatch(Watch.java:546)
at weblogic.diagnostics.watch.WatchManager.evaluateLogEventRulesAsync(WatchManager.java:765)
at weblogic.diagnostics.watch.WatchManager.run(WatchManager.java:525)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Could you please help me in resolving the same ASAP.
Thanks,
Sandy.Have a look at https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&doctype=PROBLEM&id=1053674.1
Also had to change the $$Instance.oracle_home$$ variable in the rwnetwork.properties file to the actual directory.
Andre -
Getting error while opening reports in EHS on portal
Hi,
I have deployed EHS Business package on portal. In the Industrial hygiene and safety role there is an iview "Standard Operating procedures". I am getting error
"Portal Runtime Error
An exception occurred while processing a request for :
iView : N/A
Component Name : N/A
iView not found: /global/services/java-iviews/com.sap.pct.ehs.reports.EHSReportGet." when i try to open any report on it. Can anybody please help me in this issue?check the logs under httP://server:port/nwa-monitoring-logs and traces-sap logs
you can see the detailed description of the error -
Error while opening reports in PDF
Hi,
I have few reports which i open in PDF format. But when i try to open the report i get the following error message.
Adobe Reader could not open "file name.pdf" becasue it is either not a supported file type or because the file has been damaged(for example, it was sent as an email attachment and wasn't correctly decoded).
Earlier it was working fine, but today its not working.
Any help would be really appretiable.
Thanks,
-AmitAnother thing to consider is the data that your report contains. It's possible that the data within the report output contains special characters that are causing problems with the well-formedness of the XML.
I would look at this closely in a case where the reports were running fine and suddenly they stop. Especially if you have a pretty decent amount of DML traffic in the application.
Earl
Maybe you are looking for
-
Hi Friends, My propagation was broken with 02068. After restart it. this error is still in EM. But PROPAGATION status is enabled. What means is for this point? We use oracle 10g 2 and window server 2003. how to delete this error message? Thanks Jim,
-
Why does my Mac give me an electric shock
Hello, Ever since I have had my MacBook Retina in October, my Mac has always given me a very uncomfortable feeling when I touch it. When I touch my Mac, I can feel some sort of weird, almost magnetic sort of feeling as a rub my hands over the lid. I
-
What is the possible impact of running BDLS in wrong client?
Hello, I've been doing a system refresh from PRD to QUA and as a part of post refresh actions I've run BDLS for each client I have in the system. That system has 4 clients (500,600,700,800) so I've run BDLS 4 times (PRDCLNT500 -> QUACLNT500, PRDCLNT6
-
How to get rid of the ALOT screen and just have google come up when firefox is loaded
I just want the google search to come up when firefox is loaded
-
Can I use mp3 files on my computer and put them on an I pod touch?
I am looking to buy an I pod touch, but I want to know if I can transfer my mp3's from my computer to the I pod. OR do I have to use I Tunes?