Unable to load Set up tables
Hi Guys,
while we are loading the set up tables we are getting the following error in OLIBW7 transaction "Error determining rate: foreign curr. MYR local curr. PHP date 23.02.2007"
I asked around the functional consultants and they informed that Currency Exchange Rate is not being loaded to D53 at all.
Can any one let me know how to fix this problem....
Thanks in advance
- Go to Transaction LBWE (LO Customizing Cockpit)
1). Select Logistics Application
SD Sales BW
Extract Structures
2). Select the desired Extract Structure and deactivate it first.
3). Give the Transport Request number and continue
4). Click on `Maintenance' to maintain such Extract Structure
Select the fields of your choice and continue
Maintain DataSource if needed
5). Activate the extract structure
6). Give the Transport Request number and continue
- Next step is to Delete the setup tables
7). Go to T-Code SBIW
8). Select Business Information Warehouse
i. Setting for Application-Specific Datasources
ii. Logistics
iii. Managing Extract Structures
iv. Initialization
v. Delete the content of Setup tables (T-Code LBWG)
vi. Select the application (01 Sales & Distribution) and Execute
- Now, Fill the Setup tables
hope this helps!!!
Similar Messages
-
Unable to load staging area table in teradata from ODI
Hi
i'm unable to load data in Staging area in teradata. while loading i'm geeting following Error
org.apache.bsf.BSFException: exception from Jython:
Traceback (innermost last):
File "<string>", line 9, in ?
Load Error: See D:\CRM_MOD\/CRM_PRODUCT_SS_0.log for details
at org.apache.bsf.engines.jython.JythonEngine.exec(JythonEngine.java:146)
at com.sunopsis.dwg.codeinterpretor.k.a(k.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.scripting(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSqlC.treatTaskTrt(SnpSessTaskSqlC.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java)
at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java)
at com.sunopsis.dwg.cmd.DwgCommandSession.treatCommand(DwgCommandSession.java)
at com.sunopsis.dwg.cmd.DwgCommandBase.execute(DwgCommandBase.java)
at com.sunopsis.dwg.cmd.e.i(e.java)
at com.sunopsis.dwg.cmd.g.y(g.java)
at com.sunopsis.dwg.cmd.e.run(e.java)
at java.lang.Thread.run(Unknown Source)
please any one help me
Thanks
Edited by: user12079238 on Oct 19, 2009 1:17 AMHi,
I believe you made some mistake in the Phisycal Schema, quit the last "\" from there....
Cezar Santos
[www.odiexperts.com] -
Unable to load data / NullReferenceException only on certain tables when deployed
I have a LightSwitch app that works fine when being debugged locally. But it has a strange issue when deployed as a Cloud Service to Azure. I have two Silverlight grid controls on the page which display a red x and give the error, "Unable to load data.
Please check your network connection and try loading again."
Several other queries are running on this page and correctly pull data from other tables in the database. The queries that run correctly are tied to label or text box controls.
The queries that fail, return an HTTP Status code 500 (Internal error). If I try and pass the query to a constructor as an IVisualCollection,
and I wrap the call in a Try block,
the Inner Exception is "Object reference not set to an instance of an object." So, a Null Reference Exception. Checking for null before the constructor call and popping up a message box if the query was null as a means of debugging yielded nothing. I
create these helpers all over. Only two are causing an issue and only when deployed. In addition, running the query in the Management Portal also completes fine.
Try
'Check for nulls
If (Me.qQuoteByFirm Is Nothing) Then
Me.ShowMessageBox("qQuoteByFirm", "Error", MessageBoxOption.Ok)
End If
If (Me.qQuoteByFirm.Screen Is Nothing) Then
Me.ShowMessageBox("Screen", "Error", MessageBoxOption.Ok)
End If
If (New ModalWindowHelper(Me.qQuoteByFirm, "mwAddQuote", "Quote") Is Nothing) Then
Me.ShowMessageBox("Modal", "Error", MessageBoxOption.Ok)
End If
'Create helper
Me.HelperAddQuote = New ModalWindowHelper(Me.qQuoteByFirm, "mwAddQuote", "Quote")
Catch ex As Exception
Dim err As String = ""
For Each item In ex.Data
err = err & item.ToString()
Next
err = err & ex.InnerException.ToString() & vbCrLf & _
ex.Message.ToString() & vbCrLf & _
ex.StackTrace
Me.ShowMessageBox(err, "Error", MessageBoxOption.Ok)
End Try
'Constructor
Public Sub New(ByVal visualCollection As IVisualCollection, _
ByVal dialogName As String, _
Optional entityName As String = "")
_collection = visualCollection
_dialogName = dialogName
_entityName = If(entityName <> "", entityName, _collection.Details.GetModel.ElementType.Name)
_screen = _collection.Screen
End Sub
The actual construction of the queries does not seem to matter. I've tried several variations along with requesting the entire table. Same result. However, this only occurs on two specific tables. Grid controls displaying other tables on other screens work
properly.
Here's the weird part. If I comment out the call to the constructor, I can gain access to the gird control and add data to it even through the red box remains. If I refresh the grid control, the data disappears as if it wasn't saved or isn't there. But inspecting
the table in SQL Azure Management Portal shows that the data was properly populated in the table.
The app and the database are clearly connected and able to communicate fine. So why when reading from these two tables (but not writing to) are my grid controls throwing exceptions? Why does this only happen when deployed? What other techniques can I use to
get more information?I am not very familiar with Lightswtich. But 500 is a server side error. Do you manually code the server side, or does Lightswitch automatically generates the server side code? If you manually coded, then please try to catch exceptions in
your server side code. If the code is automatically generated, you may want to consult a Lightswitch forum on how to troubleshooting such issues. What's more, when you refresh the grid, what code are invoked? Try to check that piece of code and see if there're
any problems, such as you reload the grid with empty data. -
Microsoft Visual Basic 2010 Express.
I am new to Visual Basic programing and i am trying to understand the relationships between Datasets, database, table Adaptors. I have to following code that is is giving me the following error" Unable to load, Update requires a valid DeleteCommand
when passed DataRow collection with deleted rows".
I can track the error and its located in "OffsetTableTableAdapter.Update(MaterionOffsetDataSet.OffsetTable)" code. What am i missing?
It seems that i can delete the data on the DataGridView Table and it only displays the correct data. but my database is not updating, even though the data grid displays differently.I can determine this because, when i save the offset database, i have all
the previous uploads and all the rows that i wanted to delete are still there.
My final goal is to be able to import offset data from a CSV file, save this data on the pc, send a copy of this data to a NuermicUpDown so the customer can modify certain numbers. From here they download all the date to a controller. IF the customer
needs to modify the imported data, they can go to a tab with a data grid view and modify the table. They will also have to option to save the modified data into a csv file.
Im not sure if i am making this overcomplicated or if there is a easier way to program this.
CODE:
Private Function LoadOffSetData()
Dim LoadOffsetDialog As New OpenFileDialog 'create a new open file dialog and setup its parameters
LoadOffsetDialog.DefaultExt = "csv"
LoadOffsetDialog.Filter = "csv|*.csv"
LoadOffsetDialog.Title = "Load Offset Data"
LoadOffsetDialog.FileName = "RollCoaterOffset.csv"
If LoadOffsetDialog.ShowDialog() = Windows.Forms.DialogResult.OK Then 'show the dialog and if the result is ok then
Try
Dim myStream As New System.IO.StreamReader(LoadOffsetDialog.OpenFile) 'try to open the file with a stream reader
If (myStream IsNot Nothing) Then 'if the file is valid
For Each oldRow As MaterionOffsetDataSet.OffsetTableRow In MaterionOffsetDataSet.OffsetTable.Rows
oldRow.Delete()
'delete all of the existing rows
Next
'OffsetTableTableAdapter.Update(MaterionOffsetDataSet.OffsetTable)
Dim rowvalue As String
Dim cellvalue(25) As String
'Reading CSV file content
While myStream.Peek() <> -1
Dim NRow As MaterionOffsetDataSet.OffsetTableRow
rowvalue = myStream.ReadLine()
cellvalue = rowvalue.Split(","c) 'check what is ur separator
NRow = MaterionOffsetDataSet.OffsetTable.Rows.Add(cellvalue)
Me.OffsetTableTableAdapter.Update(NRow)
End While
Me.OffsetTableTableAdapter.Update(MaterionOffsetDataSet.OffsetTable)
MainOffset.Value = OffsetTableTableAdapter.MainOffsetValue 'saves all the table offsets
to the offset numericUpDown registers in the main window
StationOffset01.Value = OffsetTableTableAdapter.Station01Value
StationOffset02.Value = OffsetTableTableAdapter.Station02Value
myStream.Close() 'close the stream
Return True
Else 'if we were not able to open the file then
MsgBox("Unable to load, check file name and location") 'let the operator know that the file wasn't able to open
Return False
End If
Catch ex As Exception
MsgBox("Unable to load, " + ex.Message)
Return False
End Try
Else
Return False
End If
End FunctionHello SaulMTZ,
>>I can track the error and its located in "OffsetTableTableAdapter.Update(MaterionOffsetDataSet.OffsetTable)" code. What am i missing?
This error usually shows that you do not initialize the
DeleteCommand object, you could check this
article to see if you get a workaround.
>> Im not sure if i am making this overcomplicated or if there is a easier way to program this.
If you are working CSV file, you could use OleDB to read it which would treat the CSV file as a Table:
http://www.codeproject.com/Articles/27802/Using-OleDb-to-Import-Text-Files-tab-CSV-custom
which seems to be easier (in my opinion).
Regards.
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Unable to load data in to table using sqlloader
Hi,
Oracle Version :10.2.0.1
Operating system:windows Xp
I was unable to load the data in to table from csv file .Can any one please help me .
Here is the output of my log file
SQL*Loader: Release 10.2.0.1.0 - Production on Thu Jun 3 12:43:22 2010
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Control File: ach_staging.ctl
Data File: E:\SQL LOADER\ACH_STAGING.csv
Bad File: E:\SQL LOADER\load_bad.bad
Discard File: E:\SQl LOADER\emp.dsc
(Allow all discards)
Number to load: ALL
Number to skip: 0
Errors allowed: 50
Bind array: 64 rows, maximum of 256000 bytes
Continuation: none specified
Path used: Conventional
Table ACH_STAGING, loaded from every logical record.
Insert option in effect for this table: INSERT
TRAILING NULLCOLS option in effect
Column Name Position Len Term Encl Datatype
ACH_CODE FIRST * , O(") CHARACTER
LOAN_CODE NEXT * , O(") CHARACTER
LOAN_TYPE NEXT * , O(") CHARACTER
TRAN_ID NEXT * , O(") CHARACTER
BO_CODE NEXT * , O(") CHARACTER
BO_NAME NEXT * , O(") CHARACTER
ST_CODE NEXT * , O(") CHARACTER
ACH_TYPE NEXT * , O(") CHARACTER
ACH_EFFECTIVE_DATE NEXT * , O(") CHARACTER
AMT NEXT * , O(") CHARACTER
CHECK_ACCNT_NO NEXT * , O(") CHARACTER
ABA_CODE NEXT * , O(") CHARACTER
ACH_STATUS NEXT * , O(") CHARACTER
TRAN_STATUS NEXT * , O(") CHARACTER
IS_HOLD NEXT * , O(") CHARACTER
IS_CANCELLED NEXT * , O(") CHARACTER
COMMENTS NEXT * , O(") CHARACTER
UPDATED_BY NEXT * , O(") CHARACTER
DATE_UPDATED NEXT * , O(") CHARACTER
CREATED_BY NEXT * , O(") CHARACTER
DATE_CREATED NEXT * , O(") CHARACTER
LOAN_TRAN_CODE NEXT * , O(") CHARACTER
ACH_AUTH NEXT * , O(") CHARACTER
REBATE_AMT NEXT * , O(") CHARACTER
PROMOTION_AMT NEXT * , O(") CHARACTER
TDC_ACH_NO NEXT * , O(") CHARACTER
INST_NUM NEXT * , O(") CHARACTER
DISABLE_ACH NEXT * , O(") CHARACTER
STMT_NO NEXT * , O(") CHARACTER
NEW_LOAN_TRAN_CODE NEXT * , O(") CHARACTER
REVOKED_BY NEXT * , O(") CHARACTER
REVOKED_DATE NEXT * , O(") CHARACTER
CHECK_STATUS NEXT * , O(") CHARACTER
value used for ROWS parameter changed from 64 to 30
Record 1: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
ORA-01830: date format picture ends before converting entire input string
Record 2: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
ORA-01830: date format picture ends before converting entire input string
Record 3: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
ORA-01830: date format picture ends before converting entire input string
Record 4: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
ORA-01830: date format picture ends before converting entire input string
Record 5: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
ORA-01830: date format picture ends before converting entire input string
Record 6: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
ORA-01830: date format picture ends before converting entire input string
Record 7: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
ORA-01830: date format picture ends before converting entire input string
Record 8: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
ORA-01830: date format picture ends before converting entire input string
Record 9: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
ORA-01830: date format picture ends before converting entire input string
Record 10: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
ORA-01830: date format picture ends before converting entire input string
Record 11: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
ORA-01830: date format picture ends before converting entire input string
Record 12: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
ORA-01830: date format picture ends before converting entire input string
Record 13: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
ORA-01830: date format picture ends before converting entire input string
Record 14: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
ORA-01830: date format picture ends before converting entire input string
Record 15: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
ORA-01830: date format picture ends before converting entire input string
Record 16: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
ORA-01830: date format picture ends before converting entire input string
Record 17: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
ORA-01830: date format picture ends before converting entire input string
Record 18: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
ORA-01830: date format picture ends before converting entire input string
Record 19: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
ORA-01830: date format picture ends before converting entire input string
Record 20: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
ORA-01830: date format picture ends before converting entire input string
Record 21: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
ORA-01830: date format picture ends before converting entire input string
Record 22: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
ORA-01830: date format picture ends before converting entire input string
Record 23: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
ORA-01830: date format picture ends before converting entire input string
Record 24: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
ORA-01830: date format picture ends before converting entire input string
Record 25: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
ORA-01830: date format picture ends before converting entire input string
Record 26: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
ORA-01830: date format picture ends before converting entire input string
Record 27: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
ORA-01830: date format picture ends before converting entire input string
Record 28: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
ORA-01830: date format picture ends before converting entire input string
Record 29: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
ORA-01830: date format picture ends before converting entire input string
Record 30: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
ORA-01830: date format picture ends before converting entire input string
Record 31: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
ORA-01830: date format picture ends before converting entire input string
Record 32: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
ORA-01830: date format picture ends before converting entire input string
Record 33: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
ORA-01830: date format picture ends before converting entire input string
Record 34: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
ORA-01830: date format picture ends before converting entire input string
Record 35: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
ORA-01830: date format picture ends before converting entire input string
Record 36: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
ORA-01830: date format picture ends before converting entire input string
Record 37: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
ORA-01830: date format picture ends before converting entire input string
Record 38: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
ORA-01830: date format picture ends before converting entire input string
Record 39: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
ORA-01830: date format picture ends before converting entire input string
Record 40: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
ORA-01830: date format picture ends before converting entire input string
Record 41: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
ORA-01830: date format picture ends before converting entire input string
Record 42: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
ORA-01830: date format picture ends before converting entire input string
Record 43: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
ORA-01830: date format picture ends before converting entire input string
Record 44: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
ORA-01830: date format picture ends before converting entire input string
Record 45: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
ORA-01830: date format picture ends before converting entire input string
Record 46: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
ORA-01830: date format picture ends before converting entire input string
Record 47: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
ORA-01830: date format picture ends before converting entire input string
Record 48: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
ORA-01830: date format picture ends before converting entire input string
Record 49: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
ORA-01830: date format picture ends before converting entire input string
Record 50: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
ORA-01830: date format picture ends before converting entire input string
Record 51: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
ORA-01830: date format picture ends before converting entire input string
MAXIMUM ERROR COUNT EXCEEDED - Above statistics reflect partial run.
Table ACH_STAGING:
0 Rows successfully loaded.
51 Rows not loaded due to data errors.
0 Rows not loaded because all WHEN clauses were failed.
0 Rows not loaded because all fields were null.
Space allocated for bind array: 255420 bytes(30 rows)
Read buffer bytes: 1048576
Total logical records skipped: 0
Total logical records read: 60
Total logical records rejected: 51
Total logical records discarded: 0
Run began on Thu Jun 03 12:43:22 2010
Run ended on Thu Jun 03 12:43:23 2010
Elapsed time was: 00:00:00.17
CPU time was: 00:00:00.10
{code}
and the data from the CSV file is
{code}
1767641 7537506 ILP ADV 506703 MICHELLE WHITE -40 CRE 07-NOV-08 01.36.04.000000000 PM 650 INP PRO N N 54564 06-NOV-08 06.06.28.000000000 PM 54562 06-NOV-08 01.36.04.000000000 PM 2060997 PPD 0 0 0 N 1 ACH
1767642 7537506 ILP PAY 506703 MICHELLE WHITE -40 DEB 01-DEC-08 12.00.00.000000000 AM 76.5 INP PRO N N Updated During EOD PAY : ACH 1 28-NOV-08 09.00.17.000000000 PM 54562 06-NOV-08 01.36.04.000000000 PM 2061201 PPD 0 0 1 N 1 ACH
1767643 7537506 ILP PAY 506703 MICHELLE WHITE -40 DEB 16-DEC-08 12.00.00.000000000 AM 76.5 INP PRO N N Updated During EOD PAY : ACH 1 15-DEC-08 09.00.16.000000000 PM 54562 06-NOV-08 01.36.04.000000000 PM 2061614 PPD 0 0 2 N 1 ACH
1767644 7537506 ILP PAY 506703 MICHELLE WHITE -40 DEB 02-JAN-09 12.00.00.000000000 AM 76.5 INP PRO N N Updated During EOD PAY : ACH 1 31-DEC-08 09.00.55.000000000 PM 54562 06-NOV-08 01.36.04.000000000 PM 2063375 PPD 0 0 3 N 1 ACH
1767645 7537506 ILP PAY 506703 MICHELLE WHITE -40 DEB 16-JAN-09 12.00.00.000000000 AM 76.5 INP PRO N N Updated During EOD PAY : ACH 1 15-JAN-09 09.01.10.000000000 PM 54562 06-NOV-08 01.36.04.000000000 PM 2064023 PPD 0 0 4 N 1 ACH
1767646 7537506 ILP PAY 506703 MICHELLE WHITE -40 DEB 02-FEB-09 12.00.00.000000000 AM 76.5 INP PRO N N Updated During EOD PAY : ACH 1 30-JAN-09 09.00.22.000000000 PM 54562 06-NOV-08 01.36.04.000000000 PM 2064639 PPD 0 0 5 N 1 ACH
1767647 7537506 ILP PAY 506703 MICHELLE WHITE -40 DEB 17-FEB-09 12.00.00.000000000 AM 76.5 NOP NOP N Y Cancelled during Payment By -> BUY : ACH 54605 13-FEB-09 09.03.23.000000000 AM 54562 06-NOV-08 01.36.04.000000000 PM 1778544 PPD 0 0 6 N 1 ACH
1767648 7537506 ILP PAY 506703 MICHELLE WHITE -40 DEB 02-MAR-09 12.00.00.000000000 AM 76.5 NOP NOP N Y Cancelled during Payment By -> BUY : ACH 54605 13-FEB-09 09.03.23.000000000 AM 54562 06-NOV-08 01.36.04.000000000 PM 1778544 PPD 0 0 7 N 1 ACH
1767649 7537506 ILP PAY 506703 MICHELLE WHITE -40 DEB 16-MAR-09 12.00.00.000000000 AM 76.5 NOP NOP N Y Cancelled during Payment By -> BUY : ACH 54605 13-FEB-09 09.03.23.000000000 AM 54562 06-NOV-08 01.36.04.000000000 PM 1778544 PPD 0 0 8 N 1 ACH
1767650 7537506 ILP PAY 506703 MICHELLE WHITE -40 DEB 01-APR-09 12.00.00.000000000 AM 76.5 NOP NOP N Y Cancelled during Payment By -> BUY : ACH 54605 13-FEB-09 09.03.23.000000000 AM 54562 06-NOV-08 01.36.04.000000000 PM 1778544 PPD 0 0 9 N 1 ACH
1767651 7537506 ILP PAY 506703 MICHELLE WHITE -40 DEB 16-APR-09 12.00.00.000000000 AM 76.5 NOP NOP N Y Cancelled during Payment By -> BUY : ACH 54605 13-FEB-09 09.03.23.000000000 AM 54562 06-NOV-08 01.36.04.000000000 PM 1778544 PPD 0 0 10 N 1 ACH
1767652 7537506 ILP PAY 506703 MICHELLE WHITE -40 DEB 01-MAY-09 12.00.00.000000000 AM 76.5 NOP NOP N Y Cancelled during Payment By -> BUY : ACH 54605 13-FEB-09 09.03.23.000000000 AM 54562 06-NOV-08 01.36.04.000000000 PM 1778544 PPD 0 0 11 N 1 ACH
1767653 7537506 ILP PAY 506703 MICHELLE WHITE -40 DEB 18-MAY-09 12.00.00.000000000 AM 76.5 NOP NOP N Y Cancelled during Payment By -> BUY : ACH 54605 13-FEB-09 09.03.23.000000000 AM 54562 06-NOV-08 01.36.04.000000000 PM 1778544 PPD 0 0 12 N 1 ACH
1767654 7537506 ILP PAY 506703 MICHELLE WHITE -40 DEB 01-JUN-09 12.00.00.000000000 AM 76.5 NOP NOP N Y Cancelled during Payment By -> BUY : ACH 54605 13-FEB-09 09.03.23.000000000 AM 54562 06-NOV-08 01.36.04.000000000 PM 1778544 PPD 0 0 13 N 1 ACH
1767655 7537506 ILP PAY 506703 MICHELLE WHITE -40 DEB 16-JUN-09 12.00.00.000000000 AM 76.5 NOP NOP N Y Cancelled during Payment By -> BUY : ACH 54605 13-FEB-09 09.03.23.000000000 AM 54562 06-NOV-08 01.36.04.000000000 PM 1778544 PPD 0 0 14 N 1 ACH
1767656 7537506 ILP PAY 506703 MICHELLE WHITE -40 DEB 01-JUL-09 12.00.00.000000000 AM 76.5 NOP NOP N Y Cancelled during Payment By -> BUY : ACH 54605 13-FEB-09 09.03.23.000000000 AM 54562 06-NOV-08 01.36.04.000000000 PM 1778544 PPD 0 0 15 N 1 ACH
1767657 7537506 ILP PAY 506703 MICHELLE WHITE -40 DEB 16-JUL-09 12.00.00.000000000 AM 76.5 NOP NOP N Y Cancelled during Payment By -> BUY : ACH 54605 13-FEB-09 09.03.23.000000000 AM 54562 06-NOV-08 01.36.04.000000000 PM 1778544 PPD 0 0 16 N 1 ACH
1767658 7537506 ILP PAY 506703 MICHELLE WHITE -40 DEB 03-AUG-09 12.00.00.000000000 AM 76.5 NOP NOP N Y Cancelled during Payment By -> BUY : ACH 54605 13-FEB-09 09.03.23.000000000 AM 54562 06-NOV-08 01.36.04.000000000 PM 1778544 PPD 0 0 17 N 1 ACH
1767659 7537506 ILP PAY 506703 MICHELLE WHITE -40 DEB 17-AUG-09 12.00.00.000000000 AM 76.5 NOP NOP N Y Cancelled during Payment By -> BUY : ACH 54605 13-FEB-09 09.03.23.000000000 AM 54562 06-NOV-08 01.36.04.000000000 PM 1778544 PPD 0 0 18 N 1 ACH
{CODE}
Thanks & Regards,
Poorna Prasad.Hi,
At last i was able to insert the data into the table but here i am facing another problem i the csv file i am having some null values in the data because of that only few records was inserted and remaining data was not inserted.
Here is the syntax what i am using to insert even null values are present
ACH_EFFECTIVE_DATE "to_timestamp(:ACH_EFFECTIVE_DATE,'DD-MON-RR HH.MI.SSXFF AM')" NULLIF ACH_EFFECTIVE_DATE=BLANKSand the error what i am getting is
E:\SQL LOADER>sqlldr userid=rr/rr control=ach_staging.ctl log=ss1.log
SQL*Loader: Release 10.2.0.1.0 - Production on Fri Jun 4 12:24:32 2010
Copyright (c) 1982, 2005, Oracle. All rights reserved.
SQL*Loader-350: Syntax error at line 16.
Expecting "," or ")", found keyword nullif.
EFFECTIVE_DATE,'DD-MON-RR HH.MI.SSXFF AM')" NULLIF ACH_EFFECTIVE_DATE=
^
{code}
can any one please help me what is the correct syntax i need to user here .
Thanks & Regards,
Poorna Prasad. -
Hi there,
I recently had the following situation, where I changed the source of my CSV file in Power Query.
Once I had reloaded the file, it would then not load into Power Pivot. So I disabled the loading from Power Query into Power Pivot. I then enabled the loading to the Data Model. Which then successfully loaded the data into Power Pivot.
But once I went into Power Pivot, had a look, then saved the Excel file. Once saved I closed the Excel file. I then opened the Excel file again and all the sheets that interact with the Power Pivot data work fine.
But if I go and open Power Pivot I get the following error: Unable to load the tables in the Power Pivot Window – An Item with the Same Key has already been added.
This is what I get from the Call Stack
at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
at Microsoft.AnalysisServices.Common.LinguisticModeling.SynonymModel.AddSynonymCollection(DataModelingColumn column, SynonymCollection synonyms)
at Microsoft.AnalysisServices.Common.LinguisticModeling.LinguisticSchemaLoader.DeserializeSynonymModelFromSchema()
at Microsoft.AnalysisServices.Common.SandboxEditor.LoadLinguisticDesignerState()
at Microsoft.AnalysisServices.Common.SandboxEditor.set_Sandbox(DataModelingSandbox value)
at Microsoft.AnalysisServices.XLHost.Modeler.ClientWindow.RefreshClientWindow(String tableName)
I would assume that the issue is with the synonyms and for some reason, when I disabled the loading of my data into the Power Pivot Model, it did not remove the associations to the actual table and synonyms.
If I renamed the table in Power Pivot it all works fine. So that was my work around. Fortunately I did have a copy of the Excel workbook before I made this change. So I could then go and add back in all the relevant data to my table.
Has anyone had this before and know how to fix it?
http://www.bidn.com/blogs/guavaqHi there
I can share the work book, if possible to send me an email address. As the workbook size is about 9Mb.
Thanks
Gilbert
http://www.bidn.com/blogs/guavaq -
Getting an "unable to Load the tables in the power pivot window" error
Hello,
I have 2 worksheets in a excel file and would like to load both into a power pivot table. When I click the 'create linked table' in the pwer pivot ribbon, The powerpivot window open and looks like its about to load the data but then I get
a popup dialogue box with the following error:
Unable to load the tables in the powerpivot window
============================
Error Message:
============================
The given key was not present in the dictionary.
============================
Call Stack:
============================
at System.ThrowHelper.ThrowKeyNotFoundException()
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at Microsoft.AnalysisServices.Modeler.SheetTabs.PopulateSheetList(String selKey)
at Microsoft.AnalysisServices.Modeler.SheetTabs.SetSelectedSheet(String key)
at Microsoft.AnalysisServices.Modeler.ClientWindow.RefreshClientWindow(String tableName)
============================
When I try again, there is a meesage saying the table is already linked but I dont see any data.
has Anyone seen this error before and know what to do?
Thanks,
NathanHi
I get first the same error as above but after I look into the details I see the following error message:
in translation the error message is: There is already a item with the same key added.
I can open the power pivot window in diagram view. And after I refresh the data in one of the tables I can open it in the table view. I have already searched for "!" signs in the calculations and searched for calculations with same name but that
is not the problem.
Also I can't open the synonym window. I think this has something to do with it because I've made changes in the synonyms.
============================
Foutbericht:
============================
Er is al een item met dezelfde sleutel toegevoegd.
============================
Aanroepstack:
============================
bij System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
bij Microsoft.AnalysisServices.Common.LinguisticModeling.SynonymModel.AddSynonymCollection(Tuple`2 measure, SynonymCollection synonyms)
bij Microsoft.AnalysisServices.Common.LinguisticModeling.LinguisticSchemaLoader.DeserializeSynonymModelFromSchema()
bij Microsoft.AnalysisServices.Common.SandboxEditor.LoadLinguisticDesignerState()
bij Microsoft.AnalysisServices.Common.SandboxEditor.set_Sandbox(DataModelingSandbox value)
bij Microsoft.AnalysisServices.XLHost.Modeler.ClientWindow.RefreshClientWindow(String tableName)
============================
Thanks,
Leo -
Hi Everyone,
Please help me on this issue. I'm a new SSIS User.
I've installed Sql Server 2005 Developer Edition
When I create a new SSIS Project in Business Intelligence Development Studio,
I get the following message:
"Microsoft Visual Studio is unable to load this document: Object reference is not set to an instance of an object".
Error loading 'package.dtsx'bject reference is not set to an instance of an object
When I try to debug the package, I get the below message:
parameter Component(System.Design) is null.
I've uninstalled and installed SS 2005 several times, yet the problem persists.
Please help.
This is the package.dtsx
<?xml version="1.0"?><DTS:Executable xmlnsTS="www.microsoft.com/SqlServer/Dts" DTS:ExecutableType="MSDTS.Package.1"><DTSroperty DTS:Name="PackageFormatVersion">2</DTSroperty><DTSroperty DTS:Name="VersionComments"></DTSroperty><DTSroperty DTS:Name="CreatorName">US\kothand1</DTSroperty><DTSroperty DTS:Name="CreatorComputerName">US6051KOTHAND1</DTSroperty><DTSroperty DTS:Name="CreationDate" DTSataType="7">4/8/2008 10:53:39 AM</DTSroperty><DTSroperty DTS:Name="PackageType">5</DTSroperty><DTSroperty DTS:Name="ProtectionLevel">1</DTSroperty><DTSroperty DTS:Name="MaxConcurrentExecutables">-1</DTSroperty><DTSroperty DTS:Name="PackagePriorityClass">0</DTSroperty><DTSroperty DTS:Name="VersionMajor">1</DTSroperty><DTSroperty DTS:Name="VersionMinor">0</DTSroperty><DTSroperty DTS:Name="VersionBuild">0</DTSroperty><DTSroperty DTS:Name="VersionGUID">{FBD98635-EDDE-4F58-9D53-356E8CB653FB}</DTSroperty><DTSroperty DTS:Name="EnableConfig">0</DTSroperty><DTSroperty DTS:Name="CheckpointFileName"></DTSroperty><DTSroperty DTS:Name="SaveCheckpoints">0</DTSroperty><DTSroperty DTS:Name="CheckpointUsage">0</DTSroperty><DTSroperty DTS:Name="SuppressConfigurationWarnings">0</DTSroperty><DTSroperty DTS:Name="ForceExecValue">0</DTSroperty><DTSroperty DTS:Name="ExecValue" DTSataType="3">0</DTSroperty><DTSroperty DTS:Name="ForceExecutionResult">-1</DTSroperty><DTSroperty DTS:Name="Disabled">0</DTSroperty><DTSroperty DTS:Name="FailPackageOnFailure">0</DTSroperty><DTSroperty DTS:Name="FailParentOnFailure">0</DTSroperty><DTSroperty DTS:Name="MaxErrorCount">1</DTSroperty><DTSroperty DTS:Name="ISOLevel">1048576</DTSroperty><DTSroperty DTS:Name="LocaleID">1033</DTSroperty><DTSroperty DTS:Name="TransactionOption">1</DTSroperty><DTSroperty DTS:Name="DelayValidation">0</DTSroperty>
<DTS:LoggingOptions><DTSroperty DTS:Name="LoggingMode">0</DTSroperty><DTSroperty DTS:Name="FilterKind">1</DTSroperty><DTSroperty DTS:Name="EventFilter" DTSataType="8"></DTSroperty></DTS:LoggingOptions><DTSroperty DTS:Name="ObjectName">Package</DTSroperty><DTSroperty DTS:Name="DTSID">{191D188C-EA6E-46D6-A46A-8C9F3C21C321}</DTSroperty><DTSroperty DTS:Name="Description"></DTSroperty><DTSroperty DTS:Name="CreationName">MSDTS.Package.1</DTSroperty><DTSroperty DTS:Name="DisableEventHandlers">0</DTSroperty></DTS:Executable>
Thanks
Best RegardsNo I have not yet. I've applied just the windows updates. I rebooted after the updates, but the problem persists.
I evern tried importing the .vssettings file from my co-worker's. Also, I tried resetting the user settings
using "%programfiles%\Microsoft Visual Studio 8\Common7\IDE\devenv.exe" /resetuserdata.
I'm on Windows xp 2002 service pack 2. Sql server 2005 Developer edition.
Visual Studio info:
Microsoft Visual Studio 2005
Version 8.0.50727.762 (SP.050727-7600)
Microsoft .NET Framework
Version 2.0.50727 SP1
Installed Edition: IDE Standard
Microsoft Visual Studio 2005 Premier Partner Edition - ENU Service Pack 1 (KB926601)
This service pack is for Microsoft Visual Studio 2005 Premier Partner Edition - ENU.
If you later install a more recent service pack, this service pack will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/926601
SQL Server Analysis Services
Microsoft SQL Server Analysis Services Designer
Version 9.00.1399.00
SQL Server Integration Services
Microsoft SQL Server Integration Services Designer
Version 9.00.1399.00
SQL Server Reporting Services
Microsoft SQL Server Reporting Services Designers
Version 9.00.1399.00
Thanks
Best regards -
Set up table and transaction data delta load init
Dear experts,
I am following a document left by my predecessor on "post processing activities" for BI prod post go-live.
And for transaction data it says to :
1. execute init with data transfer infopack manually
2. execute delta update infopack manually
3. go to ECC : delete setup data (lbwg)
4. setup the tables for (OLIxxBW)
5. then finally activate Process chains.
Is this sequence correct?
Shouldn't I first delete the setup table, setup the tables and then execute the infopackages??
Regards,
AliceHi,
The sequence is correct ,and after this you need to run the job for the collective run in SAP ,which is based on your delta queue.
i.e if you choose direct delta it is not required ,but if you use 'queued delta' then you need to run the collective run to move the delta from the extraction queue to delta queue .This job should run before the delta load.
It is better to fill the set-up table during downtime .ie.no documents posted during the set-up table run. But if you dont have an option you can fill the set-up table during operation hours ,but need fo follow certain steps to get all the delta data. You may need to use 'Init without delta transfer' or early delta initialization in the infopackage .You need ODS as a data target to achieve this . Please search SDN ,you will get more information about this.
Thanks. -
Unable to load database connector - using JRC w/report connecting to Oracle
A simple Java program was created to test a Crystal Report using JRC. The Java program is a thick-client Swing desktop application (modified from an example of crxi_r2_migrating_rdc_to_jrc.pdf). The program failed to execute the report with the following error:
Unable to load database connector u2018com.crystaldecisions.reports.queryengine.driverImpl.DriverLoader'
It might be something simple to correct the problem, but I am not able to find related answers in the documentation and from the forum.
CR version is XI R2. The Java program was compiled and run using jdk1.4.2_13. Oracle is 10.2.
Do I have to use JDBC? or the CR Oracle driver will do? What needs to be setup? If I use JDBC, what do I need to setup (I tried to following the links in the forums or other documentation, but most of the links to http://support.businessobjects.com/.... are broken - i.e. re-route to the SAP support page but not directly linked to the articles)
When the report JRCTestReport.rpt was saved with the option "Save Data With Report", it works fine. So the problem is only with Oracle database driver, the other jars are fine.
In the report JRCTestReport.rpt the database properties are:
DatabaseDLL crdb_oralce.dll
Password
Server myTestDB
Trusted_Connection False
User ID MyUser
The crdb_oracle.dll is located at:
C:\Program Files\Business Objects\Common\3.5\bin
Files are stored in the following tree structure:
<Testing Folder>
JRCTest.java
JRCTest.class
WEB-INF
lib
All required JRC jars and CRConfig.xml
Reports
JRCTestReport.rpt
Java source code JRCTest.java
import java.awt.*;
import javax.swing.*;
import java.io.*;
import com.crystaldecisions.ReportViewer.*;
// Use this for talking to JRC in-process
import com.crystaldecisions.reports.sdk.*;
import com.crystaldecisions.sdk.occa.report.reportsource.*;
public class JRCTest
private static void createAndShowGUI()
try
//Make sure we have nice window decorations.
JFrame.setDefaultLookAndFeelDecorated(false);
//Create and set up the window.
JFrame frame = new JFrame("JRCTest");
frame.setTitle("JRCTest");
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
ReportViewerBean viewer = new ReportViewerBean();
System.out.println("ReportViewerBean.init");
viewer.init(new String[0], null, null, null);
System.out.println("new ReportClientDocument");
ReportClientDocument rpt = new ReportClientDocument();
try
System.out.println("Openning Report...");
rpt.open("JRCTestReport.rpt", 0);
catch (Exception ex)
System.out.println("Failed to open report");
System.out.println(ex.toString());
return;
try
System.out.println("logon...");
rpt.getDatabaseController().logon("myUser", "myPass");
catch (Exception ex)
System.out.println("Failed to logon");
System.out.println(ex.toString());
return;
System.out.println("ReportClientDocument.getReportSource");
IReportSource rptSource = rpt.getReportSource();
viewer.setReportSource(rptSource);
System.out.println("viewer.setReportSource");
frame.getContentPane().add
(viewer, BorderLayout.CENTER);
frame.setSize(700, 500);
frame.setVisible(true);
viewer.start();
catch (Exception exception)
System.out.println(exception.toString());
public static void main(String[] args)
javax.swing.SwingUtilities.invokeLater(new Runnable()
public void run()
createAndShowGUI();
Execution result:
C:\tmp\CrystalJavaTest>java -classpath .;./WEB-INF/lib;./WEB-INF/lib/ReportViewe
r.jar;./WEB-INF/lib/jrcerom.jar;./WEB-INF/lib/jrcadapter.jar;./WEB-INF/lib/Concu
rrent.jar;./WEB-INF/lib/CrystalCharting.jar;./WEB-INF/lib/CrystalCommon.jar;./WE
B-INF/lib/CrystalContentModels.jar;./WEB-INF/lib/CrystalExporters.jar;./WEB-INF/
lib/CrystalExportingBase.jar;./WEB-INF/lib/CrystalFormulas.jar;./WEB-INF/lib/Cry
stalQueryEngine.jar;./WEB-INF/lib/CrystalReportEngine.jar;./WEB-INF/lib/CrystalR
eportingCommon.jar;./WEB-INF/lib/icu4j.jar;./WEB-INF/lib/keycodeDecoder.jar;./WE
B-INF/lib/log4j.jar;./WEB-INF/lib/MetafileRenderer.jar;./WEB-INF/lib/rasapp.jar;
./WEB-INF/lib/rascore.jar;./WEB-INF/lib/rpoifs.jar;./WEB-INF/lib/Serialization.j
ar;./WEB-INF/lib/URIUtil.jar;./WEB-INF/lib/xercesImpl.jar;./WEB-INF/lib/xml-apis
.jar JRCTest
Starting
Crystal Report Viewer 2.1.21.2
java.vendor = Sun Microsystems Inc.
java.version = 1.4.2_13
os.name = Windows XP
os.version = 5.1
os.arch = x86
ReportViewerBean.init
new ReportClientDocument
Openning Report...
logon...
ReportClientDocument.getReportSource
viewer.setReportSource
ERROR - JRCAgent1 detected an exception: Unable to load database connector 'com.
crystaldecisions.reports.queryengine.driverImpl.DriverLoader'.
at com.crystaldecisions.sdk.occa.report.lib.ReportSDKException.throwRepo
rtSDKException(Unknown Source)
at com.businessobjects.reports.sdk.b.i.if(Unknown Source)
at com.businessobjects.reports.sdk.b.i.a(Unknown Source)
at com.businessobjects.reports.sdk.b.i.byte(Unknown Source)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unkno
wn Source)
at com.crystaldecisions.proxy.remoteagent.y.a(Unknown Source)
at com.crystaldecisions.proxy.remoteagent.r.a(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.cf.a(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unkno
wn Source)
at com.crystaldecisions.sdk.occa.report.application.ReportSource.getPage
(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.AdvancedReportSource
.getPage(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.NonDCPAdvancedReport
Source.getPage(Unknown Source)
at com.businessobjects.crystalreports.viewer.core.rs.b.if(Unknown Source
at com.businessobjects.crystalreports.viewer.core.av.a(Unknown Source)
at com.businessobjects.crystalreports.viewer.core.av.run(Unknown Source)
at java.lang.Thread.run(Thread.java:534)
Unable to load database connector 'com.crystaldecisions.reports.queryengine.driv
erImpl.DriverLoader'.After I switched the report to use JDBC, I am still getting the same error.
Machine has multiple jdk, oracle 10g, Oracle11g client installed though. So I need to set my path to use the jdk from Crystal Report and Oracle 10g.
The program was compiled and ran with the following path and CLASSPATH:
set path="C:\Program Files\Business Objects\j2sdk1.4.2_08\bin";"C:\Program Files\Business Objects\j2sdk1.4.2_08\jre\bin";"C:\Program Files\Business Objects\j2sdk1.4.2_08\jre\bin\client";c:\oracle\ora102\bin
set CLASSPATH=.;./WEB-INF/lib;./WEB-INF/lib/ReportViewer.jar;./WEB-INF/lib/jrcerom.jar;./WEB-INF/lib/jrcadapter.jar;./WEB-INF/lib/Concurrent.jar;./WEB-INF/lib/CrystalCharting.jar;./WEB-INF/lib/CrystalCommon.jar;./WEB-INF/lib/CrystalContentModels.jar;./WEB-INF/lib/CrystalExporters.jar;./WEB-INF/lib/CrystalExportingBase.jar;./WEB-INF/lib/CrystalFormulas.jar;./WEB-INF/lib/CrystalQueryEngine.jar;./WEB-INF/lib/CrystalReportEngine.jar;./WEB-INF/lib/CrystalReportingCommon.jar;./WEB-INF/lib/icu4j.jar;./WEB-INF/lib/keycodeDecoder.jar;./WEB-INF/lib/log4j.jar;./WEB-INF/lib/MetafileRenderer.jar;./WEB-INF/lib/rasapp.jar;./WEB-INF/lib/rascore.jar;./WEB-INF/lib/rpoifs.jar;./WEB-INF/lib/Serialization.jar;./WEB-INF/lib/URIUtil.jar;./WEB-INF/lib/xercesImpl.jar;./WEB-INF/lib/xml-apis.jar;C:/oracle/ora102/jdbc/lib/ojdbc14.jar
I modified my java testing program to display more info:
Modified program:
import java.awt.*;
import javax.swing.*;
import java.io.*;
import com.crystaldecisions.ReportViewer.*;
// Use this for talking to JRC in-process
import com.crystaldecisions.reports.sdk.*;
import com.crystaldecisions.sdk.occa.report.reportsource.*;
import com.crystaldecisions.sdk.occa.report.exportoptions.*;
import com.crystaldecisions.sdk.occa.report.data.*;
import com.crystaldecisions.sdk.occa.report.lib.PropertyBag;
import com.crystaldecisions.sdk.occa.report.lib.IStrings;
public class JRCTest2
private static void createAndShowGUI()
try
System.out.println("Starting");
//Make sure we have nice window decorations.
JFrame.setDefaultLookAndFeelDecorated(false);
//Create and set up the window.
JFrame frame = new JFrame("JRCTest2");
frame.setTitle("Testing 1, 2, 3");
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
System.out.println("new ReportViewerBean");
ReportViewerBean viewer = new ReportViewerBean();
System.out.println("ReportViewerBean.init");
viewer.init(new String[0], null, null, null);
System.out.println("new ReportClientDocument");
ReportClientDocument rpt = new ReportClientDocument();
try
System.out.println("Openning Report...");
rpt.open("JRCTestReport.rpt", 0);
catch (Exception ex)
System.out.println("Failed to open report");
System.out.println(ex.toString());
return;
try
// try logon here to see if any exceptions
rpt.getDatabaseController().logon("myUser", "myPass");
catch (Exception ex)
System.out.println("Failed to logon");
System.out.println(ex.toString());
return;
IDatabase idb = rpt.getDatabaseController().getDatabase();
Tables dtb = idb.getTables();
IConnectionInfo conInfo = dtb.getTable(0).getConnectionInfo();
PropertyBag attrs = conInfo.getAttributes();
conInfo.setPassword("myPass");
conInfo.setUserName("myUser");
IStrings s = attrs.getPropertyIDs();
for (int i=0; i < s.size(); i++)
System.out.println(s.getString(i));
System.out.println(attrs.getStringValue(s.getString(i)));
System.out.println(" ");
conInfo.setAttributes(attrs);
attrs = conInfo.getAttributes();
s = attrs.getPropertyIDs();
// Print property again after setting attributes
for (int i=0; i < s.size(); i++)
System.out.println(s.getString(i));
System.out.println(attrs.getStringValue(s.getString(i)));
System.out.println(" ");
System.out.println("ReportClientDocument.getReportSource");
IReportSource rptSource = rpt.getReportSource();
viewer.setReportSource(rptSource);
frame.getContentPane().add
(viewer, BorderLayout.CENTER);
frame.setSize(700, 500);
frame.setVisible(true);
viewer.start();
catch (Exception exception)
System.out.println(exception.toString());
public static void main(String[] args)
System.out.println("main");
javax.swing.SwingUtilities.invokeLater(new Runnable()
public void run()
createAndShowGUI();
Running result:
C:\tmp\CrystalJavaTest>java JRCTest2
main
Starting
new ReportViewerBean
Crystal Report Viewer 2.1.21.2
java.vendor = Sun Microsystems Inc.
java.version = 1.4.2_13
os.name = Windows XP
os.version = 5.1
os.arch = x86
ReportViewerBean.init
new ReportClientDocument
Openning Report...
Trusted_Connection
false
Server Name
dbHost
Connection String
Use JDBC=b(true);Connection URL=s(jdbc:oracle:thin:@dbHost:1521:myDB);Database Class Name=s(oracle.jdbc.OracleDriver);Server=s(dbHost);User ID=s(myUser);Password=;Trusted_Connection=b(false);JDBC Connection String=s(!oracle.jdbc.OracleDriver!jdbc:oracle:thin:/@dbHost:1521:myDB)
Server Type
JDBC (JNDI)
Database Class Name
oracle.jdbc.OracleDriver
Use JDBC
true
URI
!oracle.jdbc.OracleDriver!jdbc:oracle:thin:/@dbHost:1521:myDB
Database DLL
crdb_jdbc.dll
Trusted_Connection
false
Server Name
dbHost
Connection String
Use JDBC=b(true);Connection URL=s(jdbc:oracle:thin:@dbHost:1521:myDB);Database Class Name=s(oracle.jdbc.OracleDriver);Server=s(dbHost);User ID=s(myUser);Password=;Trusted_Connection=b(false);JDBC Connection String=s(!oracle.jdbc.OracleDriver!jdbc:oracle:thin:/@dbHost:1521:myDB)
Server Type
JDBC (JNDI)
Database Class Name
oracle.jdbc.OracleDriver
Use JDBC
true
URI
!oracle.jdbc.OracleDriver!jdbc:oracle:thin:/@dbHost:1521:myDB
Database DLL
crdb_jdbc.dll
ReportClientDocument.getReportSource
ERROR - JRCAgent1 detected an exception: Unable to load database connector 'com.crystaldecisions.reports.queryengine.driverImpl.DriverLoader'.
at com.crystaldecisions.sdk.occa.report.lib.ReportSDKException.throwReportSDKException(Unknown Source)
at com.businessobjects.reports.sdk.b.i.if(Unknown Source)
at com.businessobjects.reports.sdk.b.i.a(Unknown Source)
at com.businessobjects.reports.sdk.b.i.byte(Unknown Source)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)
at com.crystaldecisions.proxy.remoteagent.y.a(Unknown Source)
at com.crystaldecisions.proxy.remoteagent.r.a(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.cf.a(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.ReportSource.getPage(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.AdvancedReportSource.getPage(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.NonDCPAdvancedReportSource.getPage(Unknown Source)
at com.businessobjects.crystalreports.viewer.core.rs.b.if(Unknown Source)
at com.businessobjects.crystalreports.viewer.core.av.a(Unknown Source)
at com.businessobjects.crystalreports.viewer.core.av.run(Unknown Source)
at java.lang.Thread.run(Thread.java:534)
Unable to load database connector 'com.crystaldecisions.reports.queryengine.driverImpl.DriverLoader'.
Also got similar error when the path and classpath was switched to Oracle 11g.
Is there a way to tell which file that it failed to load?
Thanks
Kin -
Open Directory: "Unable to load replica list"
I'm currently running Mavericks Server 3.1 on my Mac Mini at the home network. I had some issues with the client logins and went for local accounts on the clients instead. Today I finally wanted to fix the problem and go all Open Directory. But the Open Directory service was shut off when I opened the server software. I tried to turn it on but got a message saying "Unable to load replica list". I updated the software to the latest 3.1 but are still having the same issue. I never had any replica list, I only had a standard one from the start, but it seems I can't do anyhing there now.
LDAP log:
Mar 21 22:48:38 xxYY.com slapd[172]: @(#) $OpenLDAP: slapd 2.4.28 (Nov 12 2013 12:02:47) $
[email protected]:/private/var/tmp/OpenLDAP/OpenLDAP-491.1~1/servers/slapd
Mar 21 22:48:38 xxYY.com.com slapd[172]: daemon: SLAP_SOCK_INIT: dtblsize=8192
Mar 21 22:48:39 xxYY.com.com slapd[172]: TLS: found identity in keychain using identity preference.
Mar 21 22:48:42 xxYY.com.com slapd[172]: slap_add_listener: opened additional listener 'ldaps:///'
Mar 21 22:48:42 xxYY.com.com slapd[172]: bdb_monitor_db_open: monitoring disabled; configure monitor database to enable
Mar 21 22:48:44 xxYY.com.com slapd[172]: slapd starting
Mar 21 22:48:44 xxYY.com.com slapd[172]: daemon: posting com.apple.slapd.startup notification
Mar 21 22:48:54 xxYY.com.com slapd[172]: => bdb_idl_delete_key: c_del id failed: DB_LOCK_DEADLOCK: Locker killed to resolve a deadlock (-30994)
Mar 21 22:48:54 xxYY.com.com slapd[172]: conn=1022 op=3: attribute "entryCSN" index delete failure
Mar 21 22:50:02 xxYY.com.com slapd[172]: => bdb_idl_delete_key: c_get failed: DB_LOCK_DEADLOCK: Locker killed to resolve a deadlock (-30994)
Mar 21 22:50:02 xxYY.com.com slapd[172]: conn=1042 op=3: attribute "entryCSN" index delete failure
I don't understand any of this other than the obvious failure words. Can anyone understand this and help me here?This procedure is a diagnostic test. It makes no changes to your data. If you have more than one user account, you must be logged in as an administrator to carry out these instructions.
Please triple-click anywhere in the line below on this page to select it:
sudo /usr/libexec/slapd -Tt | pbcopy
Copy the selected text to the Clipboard by pressing the key combination command-C.
Launch the built-in Terminal application in any of the following ways:
☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
Paste into the Terminal window by pressing the key combination command-V. I've tested these instructions only with the Safari web browser. If you use another browser, you may have to press the return key after pasting. You'll be prompted for your login password. Nothing will be displayed when you type it. If you don’t have a login password, you’ll need to set one before you can run the command. You may get a one-time warning to be careful. Confirm. You don't need to post the warning.
If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator. Log in as one and start over.
Wait for a new line ending in a dollar sign ($) to appear below what you entered.
The output of the command will be automatically copied to the Clipboard. If the command produced no output, the Clipboard will be empty. Paste into a reply to this message.
The Terminal window doesn't show the output. Please don't copy anything from there. -
Torrentflux 2.4 (ADONewConnection: Unable to load database driver)
I'm trying to setup Torrentflux 2.4 on my server.
I used the torrentflux PKGBUILD vom AUR: http://aur.archlinux.org/packages.php?ID=1664
I set up Apache/MySQL/PHP following the guide. PHP test script is working fine:
<?php phpinfo(); ?>
I setup a symbolic link from /srv/http to my /opt/torrentflux
ls /srv/http/
insgesamt 4
-r--r--r-- 1 root root 20 6. Mär 21:23 test.php
lrwxrwxrwx 1 root root 17 6. Mär 21:07 torrentflux -> /opt/torrentflux/
When I try to open /torrentflux/login.php in my webbrowser it says
ADONewConnection: Unable to load database driver ''
I left the default in torrentflux' config.php:
$cfg["db_type"] = "mysql"; // mysql, postgres7, postgres8 view adodb/drivers/
ls /opt/torrentflux/adodb/drivers/
insgesamt 532
-r--r--r-- 1 root daemon 20476 6. Mär 20:44 adodb-mysql.inc.php
-r--r--r-- 1 root daemon 25340 6. Mär 20:44 adodb-mysqli.inc.php
-r--r--r-- 1 root daemon 3220 6. Mär 20:44 adodb-mysqlt.inc.php
I'm pretty new to the whole LAMP stuff, so can please any1 tell me what's going wrong?Ok, some questions:
1. Did you enable mysql in php.ini?
http://wiki.archlinux.org/index.php/LAMP#MySQL
2. Did you read / follow the torrentflux installation guide included with the installation?
(if not, check here: http://www.torrentflux.com/)
3. I have not worked with the package from AUR, the package form the official site (again, http://www.torrentflux.com/) works well for me. Did you try this? -
Unable to Load Database/Unable to create database.
RoboHelp 6.0 on my PC is suddenly unable to open existing
projects or create new ones. The problem is not in the projects, as
other people can unzip the same set of files and open them with
RoboHelp on their PCs.
The Details:
When attempting to open an existing project (any project
whether in version control or not), I get the message " Open
project was cancelled or the application was unable to load
database for..."
I found the article that says to delete the CPD and XPJ files
and then to use the Edit option to open the HHP file so that
RoboHelp will recreate the two files. When I try that, I get the
message "Unable to create database. Check that the directory is not
read-only." It's
not read-only.
When I attempt to create a new project, the application acts
like it is going to create one, but it just creates a project
folder without the new first topic and then repeats the New Project
Wizard window that prompts for title, etc. It will keep creating
folders and returning to this window in a loop without ever really
creating a project.
RoboSource Control is functioning normally, by the way.
I have uninstalled and reinstalled RH 6 several times, and
have even uninstalled RH 6 and installed to RH 5 just to see if it
could open projects, which it does with no problems. After that
test, I uninstalled RH 5 and reinstalled RH 6, only to encounter
the same problem all over again.
This started happening after I uninstalled other unrelated
software and received a message that some Service Pack 2 files had
been changed and prompting me to insert the Service Pack 2 CD,
which I don't have. This is because our IT department pre-builds
our systems from an image and then distributes job-specific
applications over the network. IT tried repairing Service Pack 2,
but that didn't work. I'd like to uninstall and reinstall Service
Pack 2, but the IT person says it's too risky on a system that was
built from an image.
We would like to find out
which files RoboHelp is looking for when it launches a
project so we can replace those files manually. Does anyone
know what they are or have another suggestion that might fix the
problem?
Otherwise, I am stuck having to allow IT to rebuild my
system. That means reinstalling and reconfiguring everything on it,
just as if I were upgrading to a new PC. This can take a whole work
week. However, I have already spent close to a work week on this
problem, so maybe rebuilding would save time in the long
run.Problem Resolution = HHA.dll
For anyone who might be interested in the resolution to this
issue, we did rebuild my PC and reinstall all of my software. The
RoboHelp installation "complained" that I did not have HTML Help
Workshop on my system and told me to download version 1.4 from
Microsoft. I did have HTML Help Workshop..it's in my programs list.
(It's not listed in programs on my co-workers' PCs, and they were
not having problems, by the way.) But to make RH happy, I
uninstalled the workshop and tried to install the version from
Microsoft. But a message informed me that I already had a newer
version of the workshop on my system, and I was back where I
started. I could open projects, but there were weird problems.
Selecting Topic Properties was met with an error message, and when
the properties window opened, I could only see whatever template
was assigned (or none if the topic had lost its template), and
there was an extra section for Oracle help.
So I started dinking around in the registry to see if I could
get rid of any traces of the workshop so I could install the
version RH wanted or to find any other clues to my problem. Under
HTMLHelpAuthor, there was a reference to an HHA.dll file located in
C:\WINDOWS\system32...only the file did not exist on my system.
(Remember that my original problem was that some Service Pack 2
files were either modified or missing.) So I did a Google search on
that file name and found out that HTML Help Workshop is included in
newer Windows operating systems, but that people used to have to
get HTML Help Workshop from Microsoft, and that some people had
made the mistake of just putting the HHA.dll file into the
C:WINDOWS\system32 folder without also installing HTML Help
Workshop. At this point it was obvious that I needed the HHA.dll,
so I got it from a co-worker's PC. (Looking at the registry
entries, I can also see that my system was built with a slightly
different version of the operating system than my co-workers have.)
Adding the HHA file to my system solved the problem. All
projects but one were fine; one was still exhibiting the strange
behavior. I fixed it by going back to the RoboHelp 5 version of the
project and re-converting it to RoboHelp 6.
I suspect that if I had known about the HHA.dll file before
we rebuilt the PC, I could have solved the problem without going
through that painful process. That is why I thought I should post
the solution even though it was after the rebuild. -
Problem during Data Warehouse Loading (from staging table to Cube)
Hi All,
I have created a staging Module in owb to load my flat files to my staging tables.I have created an Warehouse module to load my staging tables to Dimension and Cube that I have created.
My senario:
I have a temp_table_transaction which had loaded my flat files to it .This table had loaded with 168,271,269 milion record as through this flat file.
I have created a mapping in owb which loaded my temp_table_transaction which has join with other tables and some expression and convert function that these numbers fill to a new table called stg_tbl_transaction in my staging module.Running this mapping takes 3 hours and 45 minutes with this configue of my mapping:
Default operation mode in running parameter of Mapp config=Set based
My dimesion filled correctly but I have two problem when I want to transfer my staging table to my Cube:
#1 Problem:
i have created a cube is called transaction_cube with owb and it generated and deployed correctly.
i have created a map to fill my cube with 168,271,268 milon recodes in staging table was called stg_tbl_transaction and deployed it to server (my cube map operating mode is set based)
but after running this map it did not complete after 9 hour and I forced to cancel my running's map by kill its sessions .I want to know this time for loading this capacity of data is acceptable or for this capacity of data we should spend more time.Please let me know if anybody has any Issue.
#2 Problem
To test my map I have created a map with configure set based in operation modes and select my stg_tbl_transaction as source with 168,271,268 records in it and I have created another table to transfer and load my data in it.I wanted to test the time we should spend on this simple map but after 5 hours my data had not loaded in new table.I want to know where is my problem.Should I have set something in configue of map or anothe things.Please guide me about these problems.
CONFIGURATION OF MY SERVER:
i run owb on two socket xeon 5500 series with 192 GB ram and disks with RAID 10 Array
Regards,
SaharFor all of you
It is possible to load from Infoset to Cube we did it, and it was ok.
Data are really loaded from Infoset (Cube + master dat) to cube.
When you create a transformation under a cube Infoset is proposed, and it works fine ....
Now the process is no more operationnal and i don't understand why .....
Load from infoset to cube is possible, i can send you screen shot if you want ....
Christophe -
Project Details Web Part Unable To Load
We have recently migrated a customer's Project Server 2007 instance to Project Server 2013. While opening some of the projects in PWA to edit the project custom fields, we encountered an error "This Web Part was unable to load.". Further investigation
found that it was due to some non-mandatory custom fields having lookup tables and graphical indicators, but were entered as blank. We did not have any problems in Project Server 2007. Is there any solution for this?
The ULS log shows the following error:
[bucketHash:E8DACC42] Webpart ProjectFieldPart failed in PageLoadComplete. Unique ID: 06385c9c-53dd-20d6-7f2f-37a33f0b405c System.InvalidCastException: Cannot cast DBNull.Value to type 'System.Guid'. Please use a nullable type. at System.Data.DataRowExtensions.UnboxT`1.ValueField(Object
value) at Microsoft.Office.Project.PWA.CustomFieldUtil.<BuildCFInputRow>b__0(DataRow row) at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext() at System.Collections.Generic.List`1..ctor(IEnumerable`1
collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) at Microsoft.Office.Project.PWA.CustomFieldUtil.BuildCFInputRow(Control ctlParent, CustomFieldsRow cf, String cfID, Hashtable htValues,
ArrayList clientIdAl, ArrayList divBtnPairs, Boolean useSecondaryUid, Boolean fieldReadOnly, Boolean isBulkEdit, String currency, Boolean loadDefaultForLU, Boolean forceSingleValue, LookupTableDataSet ltds, Nullable`1 serverSeparator, Page page)
at Microsoft.Office.Project.PWA.WebParts.ProjectFieldPartBase.RenderReadWriteProjectField(Guid customFieldGuid, ProjectFieldDisplayModel customFieldInfo, Literal lblName, Literal lblDescription, PlaceHolder pchCFControl, String[] containingElements)
at Microsoft.Office.Project.PWA.WebParts.ProjectFieldPartBase.ProcessCustomFieldControl(Guid customFieldGuid, Literal lblName, Literal requiredControl, Literal lblDescription, PlaceHolder pchCFControl, String[] containingElements) at
Microsoft.Office.Project.PWA.WebParts.ProjectFieldPartBase.ReplacePlaceHoldersWithCustomFieldControls() at Microsoft.Office.Project.PWA.WebParts.PWAResiliencyPart.PageLoadComplete_ResiliencyCallback(Object sender, EventArgs e) StackTrace:
at Microsoft.Office.Project.Server.Native.dll: (sig=85ae470f-554c-4a8c-992e-92aeb657c829|2|microsoft.office.project.server.native.pdb, offset=3C1E) at Microsoft.Office.Project.Server.Native.dll: (offset=1255D)Hi,
Try to update web from following after migration you need to perform below for web part
$Web = get-SPWeb $Web.AllProperties | Format-Table
$Web.AllProperties[“PWAURL”]=””
$Web.Update()
$Web = get-SPWeb
$Web.AllProperties | Format-Table
$Web.AllProperties[“PWAURL”]=””
$Web.Update()
also from you last reply i understood that after removing custom field which are having graphical indicator and look up PDP is working as expected. It means look up and graphical indicator is creating issues.
For Custom field which are having look up field if no value will be selected then it may give error its a expected behavior. It means you need to fill values in those custom field else you will face issue.
For Graphical Indicator issue: Go through below links
http://social.microsoft.com/Forums/en-US/6cdfc2bf-1df7-4b26-a60f-220364093bda/pdp-webpart-and-graphical-indicators?forum=project2010custprog
http://social.technet.microsoft.com/Forums/projectserver/en-US/75b8f6af-0060-4870-a50d-45d44b58cf5f/indicators-on-pwa-not-displaying-project-server-2010-dec-cu
Hope it will help. Please let me know the out come.
kirtesh
Maybe you are looking for
-
Set Desname for PDF using Oracle Applications
We are running Oracle Applications 11i, 8i database on a Unix box and use windows 2000, internet explorer, acrobat 6.0 to run, and view the reports. I just finished redesigning a Oracle report to output to PDF instead of printing on a preprinted form
-
Deploying the extended controller class file on server
Hi OAF Experts, I am working on the already extended controller file. I have made the changes and was able to comiple the controller class file. I have one uestion for you. Now to put the class file on the server i am following the below steps: 1) Pu
-
HT202157 Will Apple add Amazon Prime Video Streaming to Apple TV
I am trying to find out if you can use Apple TV to stream Amazon Prime directly with out going through another device - ie Ipad Iphone - Computer - etc
-
Stabilize a sequence of images
I know how to stabilize a video when the reference point remains within the viewer. But how do you stabilize a sequence of images (not video) or a video where the reference point disappears? any advice would be appreciated, thank you.
-
Explain for me about depreciation areas
Hi everybody please explain for me about depreciation areas. I see Depreciation 01: it'll post to GL How about depreciation areas? Thanks so much Ngocpt