Fatal Error while retrieving data from Visual Fox Pro using OLE-DB UDS
Hello all,
in a customer project we connected a Visual Fox Pro Database via OLE-DB UDS.
Whenever data is retrieved, a fatal error shows up:
Fatal Error: Error occurred while processing data stream, null
Although the data is retrieved correctly!
MII used: 11.5
UDS-Server: xMII OLE DB UDS, version 4.0.1.10
This is the log from the UDS-Server:
[02/29/2008-11:22:40.195] oleDB [P:4404, T:4792, Framework, ERROR] 0x0 {extra params}: {5} [LHDSChannelHandler.cpp @ 488, CLHDSChannelHandler::ExecuteIOCP]
[02/29/2008-11:22:40.195] oleDB [P:4404, T:4792, Framework, ERROR] 0x17009 Exception occured: pid = 5, original = 5, data = <ExecutionContext><param name="MODE" value="QUERY"/><param name="QUERY" value="SELECT artikelnr FROM artikel "/><param name="ENDDATE" value="1204280560164"/><param name="ROWCOUNT" value="100"/><param name="STARTDATE" value="1204276960164"/></ExecutionContext>. [LHDSChannelHandler.cpp @ 493, CLHDSChannelHandler::ExecuteIOCP]
********** Start of Exception Stack Trace **********
1) [02/29/2008-11:22:40.210] oleDB [P:4404, T:4792, UDS, ] 0x0 HRESULT: 0x80004005 [Unspecified error] [BaseOleDbMode.h @ 1133, BaseOleDbMode<class COleDbQuery>::ProcessDynamicResults]
2) [02/29/2008-11:22:40.210] oleDB [P:4404, T:4792, UDS, RETHROW] 0x0 Rethrowing exception. [BaseOleDbMode.h @ 1211, BaseOleDbMode<class COleDbQuery>::ProcessDynamicResults]
3) [02/29/2008-11:22:40.210] oleDB [P:4404, T:4792, UDS, RETHROW] 0x0 Rethrowing exception. [Query.cpp @ 107, COleDbQuery::ExecuteOleDbMode]
4) [02/29/2008-11:22:40.210] oleDB [P:4404, T:4792, UDS, RETHROW] 0x0 Rethrowing exception. [BaseOleDbMode.h @ 381, BaseOleDbMode<class COleDbQuery>::ExecuteMode]
5) [02/29/2008-11:22:40.210] oleDB [P:4404, T:4792, UDS, RETHROW] 0x0 Rethrowing exception over COM. [LHDSUtil.h @ 1086, lhds::LHDSModeImpl<class COleDbQuery,struct ILHDSMode>::Execute]
6) [02/29/2008-11:22:40.210] oleDB [P:4404, T:4792, UDS, RETHROW] 0x0 Rethrowing exception. [LHDSUtil.h @ 1124, lhds::LHDSModeImpl<class COleDbQuery,struct ILHDSMode>::Execute]
7) [02/29/2008-11:22:40.210] oleDB [P:4404, T:4792, Framework, RETHROW] 0x0 Rethrowing exception over COM. [LHDSDispatcher.cpp @ 135, CLHDSDispatcher::CallMode]
8) [02/29/2008-11:22:40.210] oleDB [P:4404, T:4792, UDS, RETHROW] 0x0 Rethrowing exception over COM. [LHDSUtil.h @ 893, lhds::LHDataServerImpl<class CLHOleDbDataServer>::Execute]
9) [02/29/2008-11:22:40.210] oleDB [P:4404, T:4792, Framework, ] 0x0 Caught exception over a COM boundry. [LHDSChannelHandler.cpp @ 566, CLHDSChannelHandler::OnExecute]
10) [02/29/2008-11:22:40.210] oleDB [P:4404, T:4792, Framework, RETHROW] 0x0 Rethrowing exception. [LHDSChannelHandler.cpp @ 574, CLHDSChannelHandler::OnExecute]
11) [02/29/2008-11:22:40.210] oleDB [P:4404, T:4792, Framework, RETHROW] 0x0 Rethrowing exception. [LHDSChannelHandler.cpp @ 502, CLHDSChannelHandler::ExecuteIOCP]
12) [02/29/2008-11:22:40.210] oleDB [P:4404, T:4792, Framework, RETHROW] 0x0 Rethrowing exception over COM. [LHDSChannelHandler.cpp @ 189, CLHDSChannelHandler::Execute]
13) [02/29/2008-11:22:40.210] oleDB [P:4404, T:4792, Host, HANDLED] 0x0 Handled exception. [ThreadPool.cpp @ 228, ThreadPool::ThreadProc]
************** End of Exception Trace **************
Any help is very much appreciated.
Regards,
Matthias
Edited by: Matthias Wald on Feb 29, 2008 12:12 PM
Hi Salvatore,
tried your suggestian but no luck, same error.
I checked the Version. It shows 4.0.1.10.
Is there a later version available?
UDS Settings are (apologize any misspellings):
Collect Requests false
Log Level Info
Maximum Concurrent Connections 1000
Pool Size 5
Port 8087
Runtime Mode Service
Service Dependencies Eventlog
Service Passowrd *******
Service Startup Manual
Service User .\LocalSystem
Shutdown Timeout 10
Stack Size 0
Threading Model MTA
Trusted Requesters
Use IOCP true
Connection String Provider=VFPOLEDB.1;Data Source=D:\Daten;Mode=Share Deny None;Extended Properties="";User ID="";Password="";Mask Password=False;Cache Authentication=False;Encrypt Password=False;Collating Sequence=MACHINE;DSN="";DELETED=True;CODEPAGE=1252;MVCOUNT=16384;ENGINEBEHAVIOR=90;TABLEVALIDATE=3;REFRESH=5;VARCHARMAPPING=False;ANSI=True;REPROCESS=5
Persistent Connectikon true
Show Affected Rows Minimal
Variant Representation String
I have changed MTA to STA and also tried other admin user for service without luck.
Any other hints?
Similar Messages
-
Hi Friends,
I am using Oracle 8.1.6 Server, & facing problems while retrieving data from a PL/SQL Table:
CREATE or REPLACE PROCEDURE test_proc IS
TYPE tP2 is TABLE of varchar2(10); --declared a collection
dt2 tP2 := tP2('a','b','c');
i NUMBER(8);
begin
SELECT COUNT(*) INTO i FROM TABLE(CAST(dt2 as tP2));
DBMS_OUTPUT.PUT_LINE('**'||i);
end;
While executing the above procedure, I encountered foll. error:
ERROR at line 1:
ORA-00600: internal error code, arguments: [15419], [severe error during PL/SQL execution], [], [],
ORA-06544: PL/SQL: internal error, arguments: [pfrrun.c:pfrbnd1()], [], [], [], [], [], [], []
ORA-06553: PLS-801: internal error [0]
Can anyone please help me, where the problem is??
Is it Possible to retrieve data from PL/SQL TABLE using SELECT statement? & How ?
Thanks in advance.
Best Regards,
Jay Raval.Thanks Roger for the Update.
It means that have to first CREATE TYPE .. TABLE in database then only I can fire a Select statement on that TYPE.
Actually I wanted to fire a Select statement on the TABLE TYPE, defined & declared in PLSQL stored procedure using DECLARE TYPE .. TABLE & not using CREATE TYPE .. TABLE.
I was eager to know this, because my organization is reluctant in using CREATE TYPE .. TABLE defined in the database, so I was looking out for another alternative to access PL/SQL TABLE using Select statement without defining it database. It would have been good if I could access a PLSQL TABLE using Select statement Declared locally in the stored procedure.
Can I summarize that to access a PL/SQL TABLE using SELECT statement, I have to first CREATE TYPE .. TABLE?
If someone have any other idea on this, please do let me know.
Thanks a lot for all help.
Best Regards,
Jay Raval.
You have to define a database type...
create type tP2 is table of varchar2(10)
CREATE OR REPLACE PROCEDURE TEST_PROC
IS
dt2 tP2 := tP2('a','b','c');
i NUMBER(8);
begin
SELECT COUNT(*) INTO i FROM TABLE(CAST (dt2 AS tP2));
DBMS_OUTPUT.PUT_LINE('**'||i);
end;
This will work.
Roger -
Fatal error while fetching data from bi
hi,
i am getting following error while fetching data from bi using select statement
i have written code in this way
SELECT [Measures].[D2GFTNHIOMI7KWV99SD7GPLTU] ON COLUMNS, NON EMPTY { [DEM_STATE].MEMBERS} ON ROWS FROM DEM_CUBE/TEST_F_8
error description when i click on test
Fatal Error
com.lighthammer.webservice.SoapException: The XML for Analysis provider encountered an errorthanks for answering .but when i tried writing the statement in transaction 'MDXTEST' and clicked on check i am getting following error
Error occurred when starting the parser: timeout during allocate / CPIC-CALL: 'ThSAPCMRCV'
Message no. BRAINOLAPAPI011
Diagnosis
Failed to start the MDX parser.
System Response
timeout during allocate / CPIC-CALL: 'ThSAPCMRCV'
Procedure
Check the Sys Log in Transaction SM21 and test the TCP-IP connection MDX_PARSER in Transaction SM59.
SO I WENT IN SM 59 TO CHECK THE CONNECTION.
CAN U TELL ME WHAT CONFIGERATION I NEED TO DO FOR MAKING SELECT STATEMENTS WORK? -
Error while retrieving data from an ARRAY resultset
We hava an Oracle stroed procedure which has a table type as its OUT parameter and where the data is being entered into. This data requries to be returned to the Java client through a JDBC connection. We have used the OracleTypes' ARRAY object for this. We are facing errors when retieving data from the ARRAY resultset
The Oracle Package
----I created a table type called "PlSqlTable":
CREATE OR REPLACE TYPE PlSqlTable IS TABLE OF VARCHAR2(20);
----I defined this as the out parameter for my procedure :
PROCEDURE testSQL
arrayOutID OUT PlSqlTable
Then populated the object :
arrayOutID := PlSqlTable();
arrayOutID.extend(4);
arrayOutID(1):= 'Hello';
arrayOutID(2) := 'Test';
arrayOutID(3) := 'Ora';
----The procedure executes fine - all debug statements are printed ----right till the end of execution.
The Java class
----Here is how I have defined the parameters :
OracleCallableStatement stmnt = (OracleCallableStatement)connection.prepareCall("begin testSQL(?);end;");
stmnt.registerOutParameter(2,OracleTypes.ARRAY,"PLSQLTABLE");
System.out.println("Executing..");
stmnt.execute();
System.out.println("Executed..");
ARRAY outArray = stmnt.getARRAY(1);
System.out.println("Got array");
ResultSet rset = outArray.getResultSet();
System.out.println("Got Resultset..");
int i = 1;
while(rset.next()){
System.out.println("VALUE : " + rset.getString(i));
i = i+1;
----On execution, the debug messages display :
Executing..
Executed..
Got array
Got Resultset..
VALUE : 1
VALUE : Test
ERROR : java.sql.SQLException: Invalid column index
----But I have populated upto 3 values in th e procedure. Then why this error ?
PLLLEEEASE help me out on this.
Thanks, Sathyahaven't worked with db arrays but I think your problem is here:int i = 1;
while(rset.next()){
System.out.println("VALUE : " + rset.getString(i));
i = i+1;
}In the first loop you are retrieving the value from column 1(rs.getString(1)), which is OK, but in the second loop, you are trying to retrieve a value from the second column(rs.getString(2)) which doesn't exist. Try this code which only reads from column1:
while(rset.next()){
System.out.println("VALUE : " + rset.getString(1));
}Jamie -
Error while loading data from PSA to DSO using DTP
Hi,
I have a Unique aplha numeric identifier of type "Char" length "32" . When I am loading the data from PSA to DSO using DTP I get the following error message:
"An error occurred while executing a transformation rule:
The exact error message is
Overflow converting from ' '
The error was triggered at the following point in the program:
GP4JJHUI6HD7NYAK6MVCDY4A01V 425
System response
Processing the data record has been terminated"
Any idea how I can resolve this....
ThanksHi,
fist check weather any special characteristics if not
check in data source under this we have fields tab check the format of a particular field format internal/external/check u choose internal format, if any check routine once
use Semantic Groups in the DTP.
Try it
Thanku
lokeeshM
Edited by: lmedaSAP_BI on Oct 20, 2010 6:44 AM -
Error while retrieving data from SQL
HI All,
I am getting the below error while tryting to retrieve the data from SQL. Its working fine in developement server. But in production getting the below error.
**Mon Oct 6 05:02:49 2008]esbux106/survey/survey/kpmbatch/Info(1021013)**
**ODBC Layer Error: [S1000] ==> [[DataDirect][ODBC SQL Server Driver][SQL Server]Cannot open database requested in login 'PD_OD**
**S'. Login fails.]**
**[Mon Oct 6 05:02:49 2008]esbux106/survey/survey/kpmbatch/Info(1021014)**
**ODBC Layer Error: Native Error code [4060]**
Iam using essbase 6.5 with Oracle as database. Please Advice.From the error message..
[DataDirectODBC SQL Server DriverSQL Server
Why is it trying to use a SQL Server Driver to open a Oracle Database? Do you have the ODBC connection on the prod box setup to use the correct driver? -
Fatal error while transferring data from one bb to another
I was trying to transfer data from one bb to a different bb using the bb desktop manager tool. It collected all the data from the first bb fine and then while transferring data to the new one it said a fatal error occured to try again. That bb will not even turn on now. No white screen or anything. Its like there is no operating system. I don't know what to do. I tried to connect it and just update the software but that isnt working either. Says it is not responding during initialization! I think I killed it.... any ideas what to do???
You can try to reload the OS in one of the following ways
http://www.blackberry.com/btsc/KB03485
http://blackberryfaq.net/index.php/How_do_I_wipe_the_BlackBerry_using_Jl_Cmder%3F
If someone has been helpful please consider giving them kudos by clicking the star to the left of their post.
Remember to resolve your thread by clicking Accepted Solution. -
Error while retrieving data from sql using jdbc adapter
hi all,
i m working on one scenario where i m sending data using HTTP and receiver is jdbc adapter which is retrieving me data from sql server.
i have checked the structure both for req and res.
i m getting this error
<SAP:Error>
<SAP:Category>Application</SAP:Category>
<SAP:Code>MAPPING.EXCEPTION_DURING_EXECUTE</SAP:Code>
<SAP:P1>com/sap/xi/tf/_INF57285_DB_HR_RES_</SAP:P1>
<SAP:P2>com.sap.aii.utilxi.misc.api.BaseRuntimeException</SAP:P2>
<SAP:P3>RuntimeException in Message-Mapping transformatio~</SAP:P3>
<SAP:Stack>During the application mapping com/sap/xi/tf/_INF57285_DB_HR_RES_ a com.sap.aii.utilxi.misc.api.BaseRuntimeException was thrown: RuntimeException in Message-Mapping transformatio~</SAP:Stack>
</SAP:Error>
can somebody help me with this.
Thanks & Regards
Arunathnks bhavesh i think i made it that way
JDBC REQ
<ns:INF57285_DB_Request xmlns:ns="http://www.infosys.com/xi/training/hyd/57285">
<Employee>
<EmpDetails action="SELECT">
<table>EmpDetails</table>
<access>
<Name />
<EmpId />
<Band />
<Salary />
</access>
<Key>
<EmpId>57285</EmpId>
</Key>
</EmpDetails>
</Employee>
</ns:INF57285_DB_Request>
JDBC RES
<ns:INF57285_DB_Request_response xmlns:ns="http://www.infosys.com/xi/training/hyd/57285">
<Employee_response>
<row>
<Name>aruna</Name>
<EmpId>57285</EmpId>
<Band>A</Band>
<Salary>4675776</Salary>
</row>
</Employee_response>
</ns:INF57285_DB_Request_response>
my hr req is which i mapped with DB req
<ns:INF57285_HR_Req xmlns:ns="http://www.infosys.com/xi/training/hyd/57285">
<REQUEST>
<EmpNo>57285</EmpNo>
</REQUEST>
</ns:INF57285_HR_Req>
my hr res is which i mapped with DB res
<ns:INF57285_HR_Res xmlns:ns="http://www.infosys.com/xi/training/hyd/57285">
<response>
<row>
<Name>aruna</Name>
<Empld>57285</Empld>
<Salary>4675776</Salary>
</row>
</response>
</ns:INF57285_HR_Res>
and interestingly i am not getting any error in sxmb_moni
it's not showing any error
plz suggest me something wht to do ....
thnks & regards
Aruna -
Java.lang.OutOfMemory error while retrieving data from a large table
Hi,
i am trying to fetch data using "executeQuery()" into a ResultSet from the database. But since the data in that table is large. i am recieving "java.lang.OutOfMemory" Error. So, to resolve that, i have used "setMaxRows()" for my statement object. This resolved the error but i don't recieve the entire data. If i call "executeQuery()" again, i recieve the same data. I don't even know a filtering criterion where by i can filter the data for each "executeQuery()"..
How can i resolve this problem
Thanx in advance
--ChaitanyaEither use some criteria you develop related to one of the keys on the table or use some sort of record limiting method.
Note the method of limiting will vary related to the database you are using. You will have to look at the documentation.
For example I am told this will work in MySQL to get 200 records starting at record 100.
SELECT * FROM myTable ORDER BY whatever ASC LIMIT 100,200
Because you are running out of memroy I assume the table is large,
I am not sure what the impact of the above will have on performance because if in the above if the order by is not based on an index at the server level all the records will be selected and sorted before the records are limited.
I would make sure you have an appropriate index.
If you use the advanced search over the user forums using "resultset paging" and possibility the database you are using you should be able to get some ideas.
I hope this makes sense to you.
rykk -
Error while sync data from wcs to eclipse using CSDT
Hi,
I installaed webcenter 11gR1 in remote location and i installed eclipse indigo in localhost.
and i connect to the server using CSDT plug-in in eclipse success fully.
the following error i'm getting while pressing the sync button.
Error while getting the asset types form webCenter Sites.Please make sure connection information is correct and you belongs to RestAdmin group.
and when i click on create template button im getting the fallowing error.
Error occured while getting the site informatino from Webcenter sites: A message body reader for java, class com.fatwire.rest.beans.userBean , and MIME media tlye,text/html; charset=UTF-8, was not found.
could you please resolve this issue.
Thanks And Regards
Rajendardavid.pai wrote:
I found the reason. The eclipse plugin - com.fatwire.eclipsecsdt_1.2.jar bundled with current WCSites zip (11gR1BP1) on OTN Download page is 12470 KB. It works only on linux but not on windows. For windows there is another jar (5030 KB) that works fine but it's not exists on OTN Download page, which contains only the GENERIC package.The first one is indeed for version 11gR1BP1(11.1.1.6.1), the second one you mentioned is the one for 11gR1 (11.1.1.6.0). Both should work on windows as well, its just important that you use the right version. Recommended Eclipse is the Helios release.
Note: Only Sites 11gR1BP1(11.1.1.6.1) supports remote connection with CSDT.
Cheers,
Rodney
Edited by: Rodney on Apr 19, 2013 8:35 AM -
Error while retrieving data from a context node
Hello All,
I am trying to get the value that will be slected in status field(drop down) of opportunity page.
lr_bt ?= me->typed_context->BTSTATUSs->collection_wrapper->get_current( ).
CHECK lr_bt is bound.
CALL METHOD lr_ent->get_property_as_string(
EXPORTING
iv_attr_name = 'ACT_STATUS'
RECEIVING
rv_result = lv_status ).
On execution i am getting error in web ui. The error states that ACT_STATUS cannot be used. Is it because the status is a dropdown? Kindly help on this.
Regards
ChandrakantHi,
Thanks bhusan and Lakshmi.
@bhushan : i had used STATUS in my code. But one s got added by mistake while copying and editing here.
As suggested by Lakshmi the error was that. I could fix the issue. However i am not able to get any value in lv_status.
I have defined lv_status as string. and i am coding in do_prepare_output.
how could i know the type of values that status has?? Do i need to use get_property_text?
Please help on this.
Regards
Chandrakant -
ERROR while uploading data from EXCEl to sap using ALSM_EXCEL FUNCION MODULE
Hi Experts,
I am uploading excel data into sap suing function module ALSM_EXCEl_TO_INTERNAL_TABLE , used this funcion module in the program while running the program one blank excel sheet is opening and data is not uploading into internal table . even same blank sheet is opeining if we user
CONVERT_EXCEL_TO_INTERNAL function module also.
can you please tell me why this error is coming how to over come this error.
My excel sheet data records are less then 10000.
Thanks & regards
kiranHi Taranam,
Use FM ALSM_EXCEL_TO_INTERNAL_TABLE.
Regards,
Atish -
I have set-up an ECT in SPD2013 on SP2013. It is a SQL Data source called ProjectWebApp. I have BCS/SSS set-up. I can create an ECT OK in SPD. I can add the ECT to a custom list.
The problem is when I add a new item in the list the following error message appears in red
An error occurred while retrieving data from ProjectWebApp. Administrators, see the server log for more information
I cannot filter or return any results. There is data in the DB.
Another test I do is to try and create a new App/List using the "External List" template. When
I select the ECT a red message appears "External Content Types are not available". which is odd since I can add an ECT to a list as mentioned above.
Any ideas?
Tx
Andrew
Andrew PayzeHi Andrew,
Please try the option Allow unlimited length in document libraries in the column settings:
http://littletalk.wordpress.com/2011/08/18/external-content-type-an-error-occurred-while-retrieving-data-from-a-system-administrators-see-the-server-log-for-more-information/
If it doesn't help, please refer to the link below and raise the External content type Read List operation thresholds:
http://lightningtools.com/bcs/business-connectivity-services-end-user-implications-part-one-threshold-limit-errors/
Please provide error message in ULS log for further troubleshooting.
Regards,
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected] .
Rebecca Tu
TechNet Community Support -
Error while updating data from PSA to ODS
Hi Sap Gurus,
I am facing the error while updating data from PSA to ODS in BI 7.0
The exact error message is:
The argument 'TBD' cannot be interpreted as a number
The error was triggered at the following point in the program:
GP44QSI5RV9ZA5X0NX0YMTP1FRJ 5212
Please suggest how to proceed on this issue.
Points will be awarded.Hi ,
Try to simulate the process.That can give you exact error location.
It seems like while updating few records may be no in the format of the field in which it is updated.
Regards
Rahul Bindroo -
Error while selecting date from external table
Hello all,
I am getting the follwing error while selecting data from external table. Any idea why?
SQL> CREATE TABLE SE2_EXT (SE_REF_NO VARCHAR2(255),
2 SE_CUST_ID NUMBER(38),
3 SE_TRAN_AMT_LCY FLOAT(126),
4 SE_REVERSAL_MARKER VARCHAR2(255))
5 ORGANIZATION EXTERNAL (
6 TYPE ORACLE_LOADER
7 DEFAULT DIRECTORY ext_tables
8 ACCESS PARAMETERS (
9 RECORDS DELIMITED BY NEWLINE
10 FIELDS TERMINATED BY ','
11 MISSING FIELD VALUES ARE NULL
12 (
13 country_code CHAR(5),
14 country_name CHAR(50),
15 country_language CHAR(50)
16 )
17 )
18 LOCATION ('SE2.csv')
19 )
20 PARALLEL 5
21 REJECT LIMIT UNLIMITED;
Table created.
SQL> select * from se2_ext;
SQL> select count(*) from se2_ext;
select count(*) from se2_ext
ERROR at line 1:
ORA-29913: error in executing ODCIEXTTABLEOPEN callout
ORA-29400: data cartridge error
KUP-04043: table column not found in external source: SE_REF_NO
ORA-06512: at "SYS.ORACLE_LOADER", line 19It would appear that you external table definition and the external data file data do not match up. Post a few input records so someone can duplicate the problem and determine the fix.
HTH -- Mark D Powell --
Maybe you are looking for
-
When i try to download or upgrade an app it tells me to fill out my billing information and when i do it says that my sercurity code is incorrect when it isnt!!! >,< Help!!!!! How do i fix it?!?!?!?!!!!
-
Something's Wrong with my Hard Drive
I recently tried to install Ubuntu on my Intel Mac Mini. This ended in disaster and left my machine unable to re-boot into OS X. I finally figured out that I could bring up a boot menu by holding down the option key (derr). I then tried to partition
-
Cut & paste no longer work in Safari with iOS 5
I can't seem to cut & paste text in Safari under iOS 5. Has that feature been removed?
-
Dear sir, I am facing the Problem in Trail Balance Business Area wise. In our company code 4 Business Areas are configured, BA trail balance was not matching, Co code level it is matching for that i run F.5D & F.5E. I got the error in F.5E 1.Post zer
-
I cant download itunes software!!!!!!!!
its still on formatting????????? its been on for about 15 mintues...is it suppose to take this long?? grrr i dont understand..plz help