ROW-00060: Internal error: [dainsert,16]
I posted the below question yesterday to the following Microsoft forum and was directed to this Oracle forum. The responder to my post believes it has something to do with the Oracle driver I am using.
http://social.msdn.microsoft.com/Forums/en-US/sqldataaccess/thread/99fc215c-5976-4d95-b474-a7400ddf2a30
I am encountering the following error trace when I attempt to insert 617K records into Oracle via a (SQL Server) linked server connection. At this time I know that I can insert up to 88K records. Is there a setting in SQL Server 2005 that I need to set to allow the insert to complete? I've googled for this error to no avail. I believe it is a buffer issue. I could program a solution (developement s/w VFP) and insert blocks of records, but I would perfer finding a solution through the SQL server before coding a workaround. Any help or advice is appreciated.
Regards,
Joe
05/26/2009 16:12:21 -- INSERT INTO OPSDB..IBMSPMA.PMA_TPHASE_T ( BATCHNO, BURDEN, CAWPID, CECODE, CLASS, DF_DATE, DIRECT, FRBENEFIT, FRPAIDLV, FRVAC, FTE, GENLBURD, HOURS, LBURDEN, MPS, PROGRAM, STATUS, CREATION_DATE, CREATED_BY, LAST_UPDATE_DATE, LAST_UPDATED_BY )SELECT BATCHNO, BURDEN, CAWPID, CECODE, CLASS, DF_DATE, DIRECT, FRBENEFIT, FRPAIDLV, FRVAC, FTE, GENLBURD, HOURS, LBURDEN, MPS, PROGRAM, 'S', GETDATE(), 'ANNELI', GETDATE(), 'ANNELI' FROM TPHASE WHERE PROGRAM = '403423'
05/26/2009 16:12:21 -- [1,1] 1526
05/26/2009 16:12:21 -- [1,2] Connectivity error: [Microsoft][ODBC SQL Server Driver][SQL Server]OLE DB provider "OraOLEDB.Oracle" for linked server "OPSDB" returned message "ROW-00060: Internal error: [dainsert,16]".
05/26/2009 16:12:21 -- [1,3] [Microsoft][ODBC SQL Server Driver][SQL Server]OLE DB provider "OraOLEDB.Oracle" for linked server "OPSDB" returned message "ROW-00060: Internal error: [dainsert,16]".
05/26/2009 16:12:21 -- [1,4] 01000
05/26/2009 16:12:21 -- [1,5] 7412
05/26/2009 16:12:21 -- [1,6] 1
05/26/2009 16:12:21 -- [1,7]
05/26/2009 16:12:21 -- [2,1] 1526
05/26/2009 16:12:21 -- [2,2] Connectivity error: [Microsoft][ODBC SQL Server Driver][SQL Server]OLE DB provider "OraOLEDB.Oracle" for linked server "OPSDB" returned message "ROW-00060: Internal error: [dainsert,16]".
05/26/2009 16:12:21 -- [2,3] [Microsoft][ODBC SQL Server Driver][SQL Server]The OLE DB provider "OraOLEDB.Oracle" for linked server "OPSDB" could not INSERT INTO table "[OPSDB]..[IBMSPMA].[PMA_TPHASE_T]".
05/26/2009 16:12:21 -- [2,4] 37000
05/26/2009 16:12:21 -- [2,5] 7343
05/26/2009 16:12:21 -- [2,6] 1
05/26/2009 16:12:21 -- [2,7]
I think we are doing progress Sandeep,
When it fails (at the source) it is not hitting the downward pipe due to datatype mismatch.
It must be a certain record.
If you get only that cryptic error then unfortunately you need to do more digging.
#1: Remove all except one column and run the package adding columns one by one until it bombs. This way you will find the offending column.
#2, next concentrate on figuring out what record number the issue is in, and finally
#3 arrive to the poor field (exact location in the record). There must be a value incompatible with the metadata (datatype) assigned.
You would need to decide whether you want to clean the data, modify the datatype, or exclude this row.
Arthur My Blog
Similar Messages
-
Can someone help me for "ROW-00060: Internal error: [dainsert,16]
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;margin-bottom:.0001pt;font-size:11.0pt;font-family:'Calibri','sans-serif';}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
{margin-top:0in;margin-right:0in;margin-bottom:0in;margin-left:.5in;margin-bottom:.0001pt;font-size:11.0pt;font-family:'Calibri','sans-serif';}
span.EmailStyle15
{font-family:'Calibri','sans-serif';color:windowtext;}
.MsoChpDefault
@page Section1
{size:8.5in 11.0in;margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
{page:Section1;}
ol
{margin-bottom:0in;}
ul
{margin-bottom:0in;}
Hi,
Can somebody help regarding the following error message:
Source DB: SQL 2005, using MS OLDEDB Provider for SQL
Destination: Oracle 10g, using Oracle Provider for OLEDB.
In a table “EventLog” I have 800,000 rows and using OLEDB Source(SQL) and OLEDB Destination(Oracle) controls. After loading 702,000 rows I am getting the following error and stops the flow:
[D-EventLog [32443]] Error: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80004005. An OLE DB record is available. Source: "OraOLEDB" Hresult: 0x80004005 Description: "ROW-00060: Internal error: [dainsert,16]7".
[D-EventLog [32443]] Error: SSIS Error Code DTS_E_INDUCEDTRANSFORMFAILUREONERROR. The "input "OLE DB Destination Input" (32456)" failed because error code 0xC020907B occurred, and the error row disposition on "input "OLE DB Destination Input" (32456)" specifies failure on error. An error occurred on the specified object of the specified component. There may be error messages posted before this with more information about the failure.
[DTS.Pipeline] Error: SSIS Error Code DTS_E_PROCESSINPUTFAILED. The ProcessInput method on component "D-EventLog" (32443) failed with error code 0xC0209029. The identified component returned an error from the ProcessInput method. The error is specific to the component, but the error is fatal and will cause the Data Flow task to stop running. There may be error messages posted before this with more information about the failure.
[S-EventLog [32386]] Error: The attempt to add a row to the Data Flow task buffer failed with error code 0xC0047020.
[DTS.Pipeline] Error: SSIS Error Code DTS_E_PRIMEOUTPUTFAILED. The PrimeOutput method on component "S-EventLog" (32386) returned error code 0xC02020C4. The component returned a failure code when the pipeline engine called PrimeOutput(). The meaning of the failure code is defined by the component, but the error is fatal and the pipeline stopped executing. There may be error messages posted before this with more information about the failure.
I can see some buffer related issue here, but can somebody guide me hot to come out of this .
For the Data Flow Control properties that I have(default values):
<!--[if !supportLists]-->i) <!--[endif]-->DefaultBufferMaxRows=10000
<!--[if !supportLists]-->ii) <!--[endif]-->DefaultBufferSize= 10485760
<!--[if !supportLists]-->iii) <!--[endif]-->EngineThreads=5
Thanks
SreenaiahHi David,
The things are changing depending on "DefeaultMaxBufferRows" and "DefaultBufferSize" values.
When I use the default values that I got in the package when I created it, the number of records loading up to a 10% and throwing the above exception. When I increaded these two property values to double, the a 70% records loaded but finally I enedup with the same error message.
As you mentioned I have tarced for the cause of ROW-00060 error, but could not get a proper solution.
I feel its something related to the buffer sizes.
But when I keep a maximum buffer and test it then I got a different error saying that insufficient memory after loading a 90% of records.
Thanks
Sreenaiah -
ORA-00600: internal error when delete master rows in a materialized view
I have a materialized view in 11g2 on Redhat 5, defined asCREATE MATERIALIZED VIEW mv_idty
PARALLEL BUILD IMMEDIATE REFRESH FAST ON COMMIT ENABLE QUERY REWRITE AS
select IDTY_NAME_FIRST,IDTY_NAME_MIDDLE,IDTY_NAME_LAST,IDTY_NAME_SUFFIX,IDTY_SSN,
IDTY_DR_LIC_NUM,IDTY_DR_LIC_STA,x.person_id,i.rowid i_rowid,x.rowid x_rowid
from idty i,person_x_idty x where x.idty_id=i.idty_id; I deleted a few rows from the master tables and get error13:58:48 SQL> delete idty where idty_id like 'test_row%' ;
7 rows deleted.
13:58:52 SQL> commit;
commit
ERROR at line 1:
ORA-12008: error in materialized view refresh path
ORA-00600: internal error code, arguments: [kkzfrfajv_markdml-1], [], [], [], [], [], [], [], [], [], [], [] I have other materialized views and they all delete master OK. This is the simplest one but causes problem. HELP!
Edited by: user13148231 on Aug 11, 2010 5:45 PMChecked note 743766.1. It is not 100% relevant as it is about import, but the query is usefulselect sowner, vname, mowner, master from sys.snap_reftime$It reveals the materialized view some how based on other schema.
Recreate the materialized view. problem solved. -
Internal error in item 0000000000: asset row is not complete
Hello,
First let me give a little background of what I am trying to accomplish. I set up a new depreciation area 02, which is essentially a copy of depreciation area 01 Book Depreciation. The purpose of my new area 02 is to post depreciation only to a seperate expense account for a small number of assets. I set up the 02 depreciation area as a "Real Depreciation Area" with the setting "3 - Area Posts Depreciation Only" setting for Posting in GL.
I activated my area (AFBN) and changed a few assets to my new depreciaion area 02 to my desired key. When I try to post depreciation for one of my changed assets, I receive the error message:
Message(s) when structuring line items for document number ERROR00001
Internal error in item 0000000000: asset row is not complete
I have confirmed that my account determination (AO90) settings for depreciation are set up correctly for 02 for each of my classes (comparing 01 to 02 - only difference is expense account). I have also checked all of options in the "Overview for Experts" section and "Check Consistency" areas, as well as all of the SAP Online help for FI-AA. I have also researched my field status group BS11 and changed a setting for Consolidation Transaction Type to be set to an optional entry.
Thanks in advance.
MarkMessage(s) when structuring line items for document number ERROR00001 - Message no. AAPO510
Diagnosis
Messages were issued when line items were created for document ERROR00001. The related lines in the error list are from 2 to 2.
The next lines in the error log provide more information on the errors that occurred, or information or warnings that were issued.
System Response
Information messages are intended to give the user information on certain actions of the program during document creation.
Serious errors during processing can prevent the document from being posted. However, in the case of serious errors, the system continues processing and checking other line items of the same document.
Procedure
Information messages do not cause processing to terminate. No further action is required.
For serious errors that cause processing to terminate, try to find the cause of the error. After you correct the error, you have to restart the posting program.
Internal error in item 0000000000: asset row is not complete - Message no. AAPO191
Thanks
Edited by: Mark Vitalbo on Jul 16, 2009 8:00 PM -
Dear All,
We are facing the followings problems on oracle 9.2.0.6 ,kindly help us.
ksedmp: internal or fatal error
ORA-00600: internal error code, arguments: [sorput_1], [], [], [], [], [], [], []
ORA-00060: deadlock detected while waiting for resource
Current SQL statement for this session:
INSERT INTO TE_MELDUNG(LADELAUF_ID,MMELDUNG_ID,TABELLE,TABELLE_SEQ_ID,SPALTE,WERT,MAPPINGNAME,LADE_ID,LADE_DAT) VALUES ( :1, :2, :3, :4, :5, :6, :7, :8, :9)
----- Call Stack Trace -----
calling call entry argument values in hex
location type point (? means dubious value
Regards,
VInod KumarHi all ,
I already gone through metalink and refered Note 139260.1 and Note 2556195.8
These are regarding if pipelined function usage problem , and we are not using any pipe line function -
Error 0000: internal error with Apply Transform Module
Hello:
I get an internal error message when attempting to use a previously saved data transform (namely missing value processing using MICE). What is strange is that using the previously saved model works if I feed the exact same data that was used for training
it but generates an internal error whenever I use a sample - even a 90% sample of the original. This is the output log:
Record Starts at UTC 04/02/2015 10:30:53:
Run the job:"/dll "Microsoft.Analytics.Modules.ApplyITransform.Dll, Version=6.0.0.0, Culture=neutral, PublicKeyToken=69c3241e6f0468ca;Microsoft.Analytics.Modules.ApplyITransform.Dll.ApplyITransformModule;ApplyITransform" /Output0 "..\..\Transformed dataset\Transformed dataset.dataset" /transform "..\..\Transformation\Transformation.itransform" /data "..\..\Dataset\Dataset.dataset" "
Starting Process 'C:\Resources\directory\870595a63cd0452da2f3767b831099d7.SingleNodeRuntimeCompute.Packages\AFx\6.2\DllModuleHost.exe' with arguments ' /dll "Microsoft.Analytics.Modules.ApplyITransform.Dll, Version=6.0.0.0, Culture=neutral, PublicKeyToken=69c3241e6f0468ca;Microsoft.Analytics.Modules.ApplyITransform.Dll.ApplyITransformModule;ApplyITransform" /Output0 "..\..\Transformed dataset\Transformed dataset.dataset" /transform "..\..\Transformation\Transformation.itransform" /data "..\..\Dataset\Dataset.dataset" '
[ModuleOutput] DllModuleHost Start: 1 : Program::Main
[ModuleOutput] DllModuleHost Start: 1 : DataLabModuleDescriptionParser::ParseModuleDescriptionString
[ModuleOutput] DllModuleHost S[ModuleOutput] DllModuleHost Start: 1 : DllModuleMethod::DllModuleMethod
[ModuleOutput] DllModuleHost S[ModuleOutput] DllModuleHost Start: 1 : DllModuleMethod::Execute
[ModuleOutput] DllModuleHost Start: 1 : DataLabModuleBinder::BindModuleMethod
[ModuleOutput] DllModuleHost Verbose: 1 : moduleMethodDescription Microsoft.Analytics.Modules.ApplyITransform.Dll, Version=6.0.0.0, Culture=neutral, PublicKeyToken=69c3241e6f0468ca;Microsoft.Analytics.Modules.ApplyITransform.Dll.ApplyITransformModule;ApplyITransform
[ModuleOutput] DllModuleHost Verbose: 1 : assemblyFullName Microsoft.Analytics.Modules.ApplyITransform.Dll, Version=6.0.0.0, Culture=neutral, PublicKeyToken=69c3241e6f0468ca
[ModuleOutput] DllModuleHost Start: 1 : DataLabModuleBinder::LoadModuleAssembly
[ModuleOutput] DllModuleHost Verbose: 1 : Trying to resolve assembly : Microsoft.Analytics.Modules.ApplyITransform.Dll, Version=6.0.0.0, Culture=neutral, PublicKeyToken=69c3241e6f0468ca
[ModuleOutput] DllModuleHost Verbose: 1 : Loaded moduleAssembly Microsoft.Analytics.Modules.ApplyITransform.Dll, Version=6.0.0.0, Culture=neutral, PublicKeyToken=69c3241e6f0468ca
[ModuleOutput] DllModuleHost S[ModuleOutput] DllModuleHost Verbose: 1 : moduleTypeName Microsoft.Analytics.Modules.ApplyITransform.Dll.ApplyITransformModule
[ModuleOutput] DllModuleHost Verbose: 1 : moduleMethodName ApplyITransform
[ModuleOutput] DllModuleHost Information: 1 : Module FriendlyName : Apply Transformation
[ModuleOutput] DllModuleHost Information: 1 : Module Release Status : Release
[ModuleOutput] DllModuleHost S[ModuleOutput] DllModuleHost Start: 1 : ParameterArgumentBinder::InitializeParameterValues
[ModuleOutput] DllModuleHost Verbose: 1 : parameterInfos count = 2
[ModuleOutput] DllModuleHost Verbose: 1 : parameterInfos[0] name = transform , type = Microsoft.Analytics.MachineLearning.ITransform`2[Microsoft.Numerics.Data.Local.DataTable,Microsoft.Numerics.Data.Local.DataTable]
[ModuleOutput] DllModuleHost Start: 1 : DotNetSerializationHandler::HandleArgumentString
[ModuleOutput] DllModuleHost S[ModuleOutput] DllModuleHost Verbose: 1 : parameterInfos[1] name = data , type = Microsoft.Numerics.Data.Local.DataTable
[ModuleOutput] DllModuleHost Start: 1 : DataTableDatasetHandler::HandleArgumentString
[ModuleOutput] DllModuleHost S[ModuleOutput] DllModuleHost S[ModuleOutput] DllModuleHost Verbose: 1 : Begin invoking method ApplyITransform ...
[ModuleOutput] InputDataStructure
[ModuleOutput]
[ModuleOutput] {
[ModuleOutput] "InputName":Dataset
[ModuleOutput] "Rows":385338
[ModuleOutput] "Cols":105
[ModuleOutput] "ColumnTypes":System.Nullable`1[System.Double],99,System.Nullable`1[System.Int32],5,System.String,1
[ModuleOutput] }
[ModuleOutput] DllModuleHost S[ModuleOutput] DllModuleHost Error: 1 : Program::Main encountered fatal exception: Microsoft.Analytics.Exceptions.ErrorMapping+ModuleException: Error 0000: Internal error ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentException: Source array was not long enough. Check srcIndex and length, and the array's lower bounds.
Module finished after a runtime of 00:00:27.6131405 with exit code -2
Module failed due to negative exit code of -2
Record Ends at UTC 04/02/2015 10:31:38.
Experiment URL:
https://studio.azureml.net/Home/ViewWorkspace/ffac4490b5e448fa8778ceadc74a0b97?#Workspaces/Experiments/Experiment/ffac4490b5e448fa8778ceadc74a0b97.f-id.0c2caa16ad4b46b08449bcfaf4a71e57/ViewExperiment
Thanks for your helpIt's pretty clear no-one at Microsoft is interested in answering this on this forum. With a paid subscription plan would I be able to get a response for these types of incidents/follow up questions? You know - so I can stop throwing money away
running experiments with modules that haven't been fixed in almost a month in hope that magically they will start to work some day... -
"Internal error (-5002) occurred" On Pick List Update Picked Quantity
Hi Experts,
I have an SDK program that simply tries to update the Picked Quantity in SAP. Previously it has been working fine, until I try to use the same logic for items managed by Batch or Serial Number.
In this scenario, I have created a PickList with only 1 row, the item is managed by Serial Number.
I try to simplify the code as below.
Dim oBaseDocument As SAPbobsCOM.PickLists
oBaseDocument = oComp.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oPickLists)
BaseDocument.GetByKey(12345)
oBaseDocument.Lines.SetCurrentLine(0)
oBaseDocument.Lines.PickedQuantity += 1
oBaseDocument.Lines.BinAllocations.Add()
oBaseDocument.Lines.BinAllocations.SetCurrentLine(0)
oBaseDocument.Lines.BinAllocations.BinAbsEntry = CInt(sBinAbsEntry)
oBaseDocument.Lines.BinAllocations.Quantity += dXML_Quantity
oBaseDocument.Lines.SerialNumbers.InternalSerialNumber = sXML_BatchSerialNo ' <--- ***
lRet = oBaseDocument.Update
I have added the *** line for handling the Serial Number, but when it hit the Update command, the SDK returns "Internal error (-5002) occurred".
I'm not sure what does it means.
Anyway I tried to remove the *** line and it works fine for item not managed by Batch or Serial, but the issue will remains for the Items managed by Serial or Batch.
Please advise whether I missed anything in this code.
Thank you in advance.
Best Regards,
KrismaHi Krisma,
I haven't done this thing practically but error -5002 will occur, if there is any Invalid Object.
You can check it accordingly.
Hope it helps.
Thanks & Regards
Ankit Chauhan -
Internal Error when Exporting to PDF
Hello all,
I have created a report in SSRS 2008. My report was running fine until I inserted an extra row. Once I would insert this row,(no matter where I insert it) whenever I try to view the print layout or export to a PDF I get the following error:
"An internal error occured on the report server. See the error log for more details. (rsInternalError)"
Checking the error log I found this:
library!ReportServer_0-90!12f4!01/09/2015-07:46:21:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.InternalCatalogException: ScalableList: Index -1 outside the allowed range [0::5], Microsoft.ReportingServices.Diagnostics.Utilities.InternalCatalogException:
An internal error occurred on the report server. See the error log for more details.;
I have researched a great deal to try to figure out what could be causing this problem. I found several threads that had a similar problem and their solution was to set all "Hide Duplicates" properties to "None." I have checked several
times and my report has all it's "Hide Duplicates" properties set to "none."
Does anyone have any idea what could be causing this error?
Thanks,
SarahI found out what was causing the error in my report.
When the original report was created, a parent group was created. When a parent group is created, SSRS automatically adds an extra column with whatever it’s child group was grouped by inside of it. When this column was created, instead of deleting the text
inside the column or deleting the column, the column was made so small that you almost couldn’t tell it was there. I did not realize it was there until today. Since SSRS is pretty picky, it did not like that column.
You could do 3 things to get rid of the error:
Delete the column
Delete the text inside of the column
Expand the column so that the text inside it is visible
I tested all 3 approaches by adding 25 extra rows after applying the solution and all would export to a PDF just fine.
So basically if anyone out there happens to have the same issues I had, check and make sure you don't have any extra columns hiding anywhere. Hopefully this can help someone someday!
-Sarah -
Hi,
running SQL*Loader (Release 8.1.7.2.1) causes an error "SQL*Loader-704: Internal error: Maximum record length must be <= [10000000]". This error occurs when SQLLoader is trying to load several thousand records into a database table. Each record is less than 250 bytes in length.
Any idea what could cause the problem?
Thanks in advance!
Ingo
And here's an extract from the log file generated by SQLLoader :
Number to load: ALL
Number to skip: 0
Errors allowed: 50
Bind array: 1360 rows, maximum of 10485760 bytes
Continuation: none specified
Path used: Conventional
Table "SYSTEM"."BASICPROFILE$1", loaded from every logical record.
Insert option in effect for this table: APPEND
TRAILING NULLCOLS option in effect
Column Name Position Len Term Encl Datatype
UUID FIRST * O(X07) CHARACTER
DOMAINID NEXT * O(X07) CHARACTER
LASTMODIFIED NEXT * O(X07) DATE DD/MM/YYYY HH24:MI:SS
ANNIVERSARY NEXT * O(X07) CHARACTER
BIRTHDAY NEXT * O(X07) CHARACTER
COMPANYNAME NEXT * O(X07) CHARACTER
DESCRIPTION NEXT * O(X07) CHARACTER
FIRSTNAME NEXT * O(X07) CHARACTER
COMPANYNAMETRANSCRIPTION NEXT * O(X07) CHARACTER
FIRSTNAMETRANSCRIPTION NEXT * O(X07) CHARACTER
GENDER NEXT * O(X07) CHARACTER
HOBBIES NEXT * O(X07) CHARACTER
HONORIFIC NEXT * O(X07) CHARACTER
JOBTITLE NEXT * O(X07) CHARACTER
KEYWORDS NEXT * O(X07) CHARACTER
LASTNAME NEXT * O(X07) CHARACTER
LASTNAMETRANSCRIPTION NEXT * O(X07) CHARACTER
NICKNAME NEXT * O(X07) CHARACTER
PREFERREDLOCALE NEXT * O(X07) CHARACTER
PREFERREDCURRENCY NEXT * O(X07) CHARACTER
PROFESSION NEXT * O(X07) CHARACTER
SECONDLASTNAME NEXT * O(X07) CHARACTER
SECONDNAME NEXT * O(X07) CHARACTER
SUFFIX NEXT * O(X07) CHARACTER
TITLE NEXT * O(X07) CHARACTER
CONFIRMATION NEXT * O(X07) CHARACTER
DEFAULTADDRESSID NEXT * O(X07) CHARACTER
BUSINESSPARTNERNO NEXT * O(X07) CHARACTER
TYPECODE NEXT * O(X07) CHARACTER
OCA NEXT * O(X07) CHARACTER
SQL*Loader-704: Internal error: Maximum record length must be <= [10000000]As a second guess, the terminator changes or goes missing at some point in the data file. If you are running on *NIX, try wc -l data_file_name. This will give a count of the number of lines (delimited by CHR(10) ) that are in the file. If this is not close to the number you expected, then that is your problem.
You could also try gradually working through the data file loading 100 records, then 200, then 300 etc. to see where it starts to fail.
HTH
John -
Data Provider Internal error(-3000): please help!
Hi,
I've a Web Application using Oracle Data Provider 9.2.0.2 to communicate with mu oracle DB.
I'm using the ExecuteNonQuery function to run a SQL statement (it's a select connect by), but after some time, I get the following error:
Data Provider Internal error(-3000)
It seems to happen if the query takes a lot of time.
If I reduce the number of returned rows, I don't get the error anymore.
After some searches through the internet I found that the problem should fixed in the next ODP release, 9.2.0.4: I installed it too, but with no success.
I played with the connection timeout and some other parameters without solving the error.
Someone can help me?
Thanks.
Daniele.I met the same question too.
I list your problem below:
my ODP.net is 9.2.0.4.
code snippet is below:
string constring = "user id=gz;data source=ipas_local;password=gz";
OracleConnection conn = new OracleConnection(constring);
OracleCommand cmd = new OracleCommand(sql,conn);
try
conn.Open();
cmd.ExecuteNonQuery();
catch(Exception ex)
doredirect = false;
lblMessage.Text = ex.ToString();
finally
conn.Close();
I have a Oracle9i DBMS which home_name is OraHome92 in my computer,and have a ODP.NET9.2.0.4 which home_name is ORADOTNET9 deferent from DBMS.
9i DBMS path:D:\oracle\ora92
ODP.NET 9i path:D:\oracle\ODPDotNet
my web app never work before
what's the meaning of "100% & consistently reproducible"?
how to know whether Connection pool is on or off? -
Internal Error -5000 while Adding a PODeliveryNote Document using DI
Hello friends:
I am getting an Internal -5000 error while trying to upload a PODeliveryNote (Goods Receipt) into Business One using SDK. The description of error just says Internal Error - so I really cannot understand what's going on. Any help will be appreciated.
Here is the part of the code that is running into this error:
Private Sub LoadObjectsFromXML()
Dim sXmlFileName As String
Dim iElementCount As Long
Dim iCounter As Long
'// setting the file name
sXmlFileName = "C:\SAP2HJXMLData\Upload\NewPODelivery.xml"
'// Get the number of Business object in the file ...
iElementCount = oCompany.GetXMLelementCount(sXmlFileName)
MsgBox(iElementCount & " Elemnts found in xml file" & vbNewLine & "Ready To Start Transaction")
'// start a transaction
oCompany.StartTransaction()
'// Run a loop through the objects and when with in the file
'// and the objects to the DB
For iCounter = 0 To iElementCount - 1
'// get the objects type at the specified position
oCompany.XmlExportType = SAPbobsCOM.BoXmlExportTypes.xet_ExportImportMode
'// get the business object data from the file
oDocument = oCompany.GetBusinessObjectFromXML(sXmlFileName, iCounter)
'// add the object to the data base
oDocument.Add()
'// Check for errors during connect
oCompany.GetLastError(lErrCode, sErrMsg)
If lErrCode <> 0 Then
MsgBox("Error: " & lErrCode & " - " & sErrMsg & vbNewLine & "Transaction will be rolled back")
oCompany.EndTransaction(SAPbobsCOM.BoWfTransOpt.wf_RollBack)
Exit Sub
End If
Next iCounter
'// Commit Transaction
oCompany.EndTransaction(SAPbobsCOM.BoWfTransOpt.wf_Commit)
MsgBox("Data inserted successfully")
End Sub
Following is the XML that we are trying to post. There is a corresponding PO open.
<?xml version="1.0" encoding="utf-16" ?>
- <BOM>
- <BO>
- <AdmInfo>
<Object>20</Object>
<Version>2</Version>
</AdmInfo>
- <Documents>
- <row>
<DocNum />
<DocType>dDocument_Items</DocType>
<HandWritten>tNO</HandWritten>
<Printed>tNO</Printed>
<DocDate>20071224</DocDate>
<DocDueDate>20071224</DocDueDate>
<CardCode>V30000</CardCode>
<CardName />
<Address />
<DocCurrency />
<DocRate />
<DocTotal />
<Reference1 />
<Comments>This was received in SAP</Comments>
<JournalMemo />
<PaymentGroupCode />
<DocTime />
<SalesPersonCode />
<Confirmed>tYES</Confirmed>
<ImportFileNum />
<SummeryType>dNoSummary</SummeryType>
<ContactPersonCode />
<ShowSCN>tNO</ShowSCN>
<Series />
<TaxDate>20071224</TaxDate>
<PartialSupply>tYES</PartialSupply>
<DocObjectCode />
<DiscountPercent />
<RevisionPo>tNO</RevisionPo>
<BlockDunning>tNO</BlockDunning>
<Pick>tNO</Pick>
<PaymentMethod />
<PaymentBlock>tNO</PaymentBlock>
<MaximumCashDiscount>tNO</MaximumCashDiscount>
<WareHouseUpdateType>dwh_Stock</WareHouseUpdateType>
<Rounding>tNO</Rounding>
<DeferredTax>tNO</DeferredTax>
<NumberOfInstallments />
<ApplyTaxOnFirstInstallment>tNO</ApplyTaxOnFirstInstallment>
<DocumentsOwner>3</DocumentsOwner>
<DocumentSubType>bod_None</DocumentSubType>
<Address2 />
<PayToCode />
<UseShpdGoodsAct>tNO</UseShpdGoodsAct>
<IsPayToBank>tNO</IsPayToBank>
<DownPayment />
<LanguageCode>3</LanguageCode>
<PickRemark />
<SequenceModel>0</SequenceModel>
<UseCorrectionVATGroup>tNO</UseCorrectionVATGroup>
<VatPercent />
</row>
</Documents>
- <Document_Lines>
- <row>
<LineNum>0</LineNum>
<ItemCode>A00004</ItemCode>
<ItemDescription />
<Quantity>3.000000</Quantity>
<ShipDate>20071224</ShipDate>
<Price />
<PriceAfterVAT />
<Currency />
<Rate />
<DiscountPercent />
<VendorNum />
<WarehouseCode>01</WarehouseCode>
<SalesPersonCode />
<CommisionPercent />
<TreeType>iNotATree</TreeType>
<AccountCode />
<UseBaseUnits>tNO</UseBaseUnits>
<SupplierCatNum />
<CostingCode />
<ProjectCode />
<BarCode />
<VatGroup />
<Height1 />
<Height2 />
<Lengh1 />
<Lengh2 />
<Weight1 />
<Weight2 />
<Factor1 />
<Factor2 />
<Factor3 />
<Factor4 />
<BaseType />
<BaseEntry>6</BaseEntry>
<BaseLine>0</BaseLine>
<Volume />
<VolumeUnit />
<Width1 />
<Width2 />
<Address />
<TaxCode>0</TaxCode>
<TaxType>tt_Yes</TaxType>
<TaxLiable>tYES</TaxLiable>
<ShippingMethod />
<CorrectionInvoiceItem>ciis_ShouldBe</CorrectionInvoiceItem>
<CorrInvAmountToStock />
<CorrInvAmountToDiffAcct />
<WTLiable>tNO</WTLiable>
<DeferredTax>tNO</DeferredTax>
<NetTaxAmount />
<NetTaxAmountFC />
<LineTotal />
<TaxPercentagePerRow />
<ConsumerSalesForecast>tNO</ConsumerSalesForecast>
<ExciseAmount />
<SWW />
<DistributeExpense>tYES</DistributeExpense>
<ShipToCode />
<RowTotalFC />
<TaxOnly>tNO</TaxOnly>
<UnitPrice />
<LineStatus>bost_Open</LineStatus>
<LineType>dlt_Regular</LineType>
<ChangeAssemlyBoMWarehouse />
</row>
</Document_Lines>
</BO>
</BOM>
Thank you.
Kushal Dutta.OK - I figured this one out. Bottom line, I was leaving several fields unpopulated, expecting SAP to populate the data. That was not working. I had to populate more fields to make it working.
Thanks.
Kushal. -
Hi Exports,
I am getting the ORA-00600: internal error code, arguments: [17183], [0x033134908], [], [], [], [], [], []
The temporary tablespace of the database is full and i am trying to do the following steps.
SQL> select * from dba_temp_files;
FILE_NAME FILE_ID TABLESPACE_NAME BYTES Blocks Etat RELATIVE_FNO AUT MAXBYTES MAXBLOCKS INCREMENT_BY
USER_BYTES USER_BLOCKS
G:\ORADATA\TEMP01.DBF 1 TEMP 3.4359E+10 4,194,176 AVAILA 1 YES 3.4360E+10 4194302 80
3.4358E+10 4194048
J:\ORADATA\TIVOLIORTEMPTS.DBF 5 TIVOLIORTEMPTS 104857600 12,800 AVAILA 1 NO 0 0 0
103809024 12672
J:\ORADATA\TEMP_ORISSA_MASTER.TMP 2 TEMP_ORISSA_MASTER 10485760 1,280 AVAILA 1 YES 52428800 6400 128
9437184 1152
J:\ORADATA\TEMP_ORISSA_BENCHMARK.TMP 3 TEMP_ORISSA_BENCHMARK 680525824 83,072 AVAILA 1 YES 1073741824 131072 2
679477248 82944
J:\ORADATA\TEMP_ORISSA_TRANSACTION 4 TEMP_ORISSA_TRANSACTION 104857600 12,800 AVAILA 1 YES 1073741824 131072 2
103809024 12672
5 rows selected.
SQL> select TABLESPACE_NAME, BYTES_USED, BYTES_FREE from V$TEMP_SPACE_HEADER;
TABLESPACE_NAME BYTES_USED BYTES_FREE
TEMP 3.4359E+10 0
TEMP_ORISSA_MASTER 4194304 6291456
TEMP_ORISSA_BENCHMARK 680525824 0
TEMP_ORISSA_TRANSACTION 37748736 67108864
TIVOLIORTEMPTS 1048576 103809024
5 rows selected.
SQL> CREATE TEMPORARY TABLESPACE MYTEMPFILE
2 TEMPFILE 'G:\ORADATA\TEMP001.dbf'
3 SIZE 1000M AUTOEXTEND ON NEXT 10M MAXSIZE 2000M;
Tablespace created.
SQL> ALTER DATABASE DEFAULT TEMPORARY TABLESPACE MYTEMPFILE;
Database altered.
SQL> select TABLESPACE_NAME, BYTES_USED, BYTES_FREE from V$TEMP_SPACE_HEADER;
TABLESPACE_NAME BYTES_USED BYTES_FREE
TEMP 3.4359E+10 0
TEMP_ORISSA_MASTER 4194304 6291456
TEMP_ORISSA_BENCHMARK 680525824 0
TEMP_ORISSA_TRANSACTION 37748736 67108864
TIVOLIORTEMPTS 1048576 103809024
MYTEMPFILE 1048576 1047527424
6 rows selected.
SQL> ALTER DATABASE TEMPFILE 'G:\ORADATA\TEMP01.DBF' DROP INCLUDING DATAFILES;
ALTER DATABASE TEMPFILE 'G:\ORADATA\TEMP01.DBF' DROP INCLUDING DATAFILES
ERROR at line 1:
ORA-25152: TEMPFILE cannot be dropped at this time
SQL> select TABLESPACE_NAME, BYTES_USED, BYTES_FREE from V$TEMP_SPACE_HEADER;
TABLESPACE_NAME BYTES_USED BYTES_FREE
TEMP_ORISSA_MASTER 4194304 6291456
TEMP_ORISSA_BENCHMARK 680525824 0
TEMP_ORISSA_TRANSACTION 37748736 67108864
TIVOLIORTEMPTS 1048576 103809024
MYTEMPFILE 11534336 1037041664
5 rows selected.
SQL> select STATUS,ENABLED,STATUS,BYTES/1024/1024 from v$tempfile;
Etat ENABLED Etat BYTES/1024/1024
OFFLIN READ WRITE OFFLIN 0
ONLINE READ WRITE ONLINE 100
ONLINE READ WRITE ONLINE 10
ONLINE READ WRITE ONLINE 649
ONLINE READ WRITE ONLINE 100
ONLINE READ WRITE ONLINE 1000
6 rows selected.
SQL> desc v$tempfile;
Name Null? Type
FILE# NUMBER
CREATION_CHANGE# NUMBER
CREATION_TIME DATE
TS# NUMBER
RFILE# NUMBER
STATUS VARCHAR2(7)
ENABLED VARCHAR2(10)
BYTES NUMBER
BLOCKS NUMBER
CREATE_BYTES NUMBER
BLOCK_SIZE NUMBER
NAME VARCHAR2(513)
SQL> select file#,STATUS,ENABLED,STATUS,BYTES/1024/1024 from v$tempfile;
FILE# Etat ENABLED Etat BYTES/1024/1024
1 OFFLIN READ WRITE OFFLIN 0
5 ONLINE READ WRITE ONLINE 100
2 ONLINE READ WRITE ONLINE 10
3 ONLINE READ WRITE ONLINE 649
4 ONLINE READ WRITE ONLINE 100
6 ONLINE READ WRITE ONLINE 1000
6 rows selected.
SQL> ALTER DATABASE TEMPFILE 'G:\ORADATA\TEMP01.DBF' DROP INCLUDING DATAFILES;
ALTER DATABASE TEMPFILE 'G:\ORADATA\TEMP01.DBF' DROP INCLUDING DATAFILES
ERROR at line 1:
ORA-25152: TEMPFILE cannot be dropped at this time
SQL> ALTER DATABASE TEMPFILE 'G:\ORADATA\TEMP01.DBF' offline;
Database altered.
SQL> ALTER DATABASE TEMPFILE 'G:\ORADATA\TEMP01.DBF' DROP INCLUDING DATAFILES;
ALTER DATABASE TEMPFILE 'G:\ORADATA\TEMP01.DBF' DROP INCLUDING DATAFILES
ERROR at line 1:
ORA-25152: TEMPFILE cannot be dropped at this time
SQL> select * from dba_temp_files;
FILE_NAME FILE_ID TABLESPACE_NAME BYTES Blocks Etat RELATIVE_FNO AUT MAXBYTES MAXBLOCKS INCREMENT_BY
USER_BYTES USER_BLOCKS
G:\ORADATA\TEMP01.DBF 1 TEMP AVAILA
J:\ORADATA\TIVOLIORTEMPTS.DBF 5 TIVOLIORTEMPTS 104857600 12,800 AVAILA 1 NO 0 0 0
103809024 12672
J:\ORADATA\TEMP_ORISSA_MASTER.TMP 2 TEMP_ORISSA_MASTER 10485760 1,280 AVAILA 1 YES 52428800 6400 128
9437184 1152
J:\ORADATA\TEMP_ORISSA_BENCHMARK.TMP 3 TEMP_ORISSA_BENCHMARK 680525824 83,072 AVAILA 1 YES 1073741824 131072 2
679477248 82944
J:\ORADATA\TEMP_ORISSA_TRANSACTION 4 TEMP_ORISSA_TRANSACTION 104857600 12,800 AVAILA 1 YES 1073741824 131072 2
103809024 12672
G:\ORADATA\TEMP001.DBF 6 MYTEMPFILE 1048576000 128,000 AVAILA 1 YES 2097152000 256000 1280
1047527424 127872
6 rows selected.
SQL> select file#,STATUS,ENABLED,STATUS,BYTES/1024/1024 from v$tempfile;
FILE# Etat ENABLED Etat BYTES/1024/1024
1 OFFLIN READ WRITE OFFLIN 0
5 ONLINE READ WRITE ONLINE 100
2 ONLINE READ WRITE ONLINE 10
3 ONLINE READ WRITE ONLINE 649
4 ONLINE READ WRITE ONLINE 100
6 ONLINE READ WRITE ONLINE 1000
6 rows selected.
SQL> ALTER DATABASE DEFAULT TEMPORARY TABLESPACE temp;
Database altered.
SQL> select TABLESPACE_NAME, BYTES_USED, BYTES_FREE from V$TEMP_SPACE_HEADER;
TABLESPACE_NAME BYTES_USED BYTES_FREE
TEMP_ORISSA_MASTER 4194304 6291456
TEMP_ORISSA_BENCHMARK 680525824 0
TEMP_ORISSA_TRANSACTION 37748736 67108864
TIVOLIORTEMPTS 1048576 103809024
MYTEMPFILE 28311552 1020264448
5 rows selected.
SQL> ALTER DATABASE TEMPFILE 'G:\ORADATA\TEMP01.DBF' online;
Database altered.
SQL> select TABLESPACE_NAME, BYTES_USED, BYTES_FREE from V$TEMP_SPACE_HEADER;
TABLESPACE_NAME BYTES_USED BYTES_FREE
TEMP 3.4359E+10 0
TEMP_ORISSA_MASTER 4194304 6291456
TEMP_ORISSA_BENCHMARK 680525824 0
TEMP_ORISSA_TRANSACTION 37748736 67108864
TIVOLIORTEMPTS 1048576 103809024
MYTEMPFILE 28311552 1020264448
6 rows selected.
SQL> ALTER DATABASE DEFAULT TEMPORARY TABLESPACE MYTEMPFILE;
Database altered.
SQL> ALTER DATABASE TEMPFILE 'G:\ORADATA\TEMP01.DBF' DROP INCLUDING DATAFILES;
ALTER DATABASE TEMPFILE 'G:\ORADATA\TEMP01.DBF' DROP INCLUDING DATAFILES
ERROR at line 1:
ORA-25152: TEMPFILE cannot be dropped at this time
SQL> ALTER DATABASE TEMPFILE 'G:\ORADATA\TEMP01.DBF' offline;
Database altered.
SQL> ALTER DATABASE TEMPFILE 'G:\ORADATA\TEMP01.DBF' DROP INCLUDING DATAFILES;
ALTER DATABASE TEMPFILE 'G:\ORADATA\TEMP01.DBF' DROP INCLUDING DATAFILES
ERROR at line 1:
ORA-25152: TEMPFILE cannot be dropped at this time
SQL> ALTER DATABASE TEMPFILE 'G:\ORADATA\TEMP01.DBF' online;
Database altered.
SQL> ALTER DATABASE DEFAULT TEMPORARY TABLESPACE temp;
Database altered.
SQL> select TABLESPACE_NAME, BYTES_USED, BYTES_FREE from V$TEMP_SPACE_HEADER;
TABLESPACE_NAME BYTES_USED BYTES_FREE
TEMP 3.4359E+10 0
TEMP_ORISSA_MASTER 4194304 6291456
TEMP_ORISSA_BENCHMARK 680525824 0
TEMP_ORISSA_TRANSACTION 37748736 67108864
TIVOLIORTEMPTS 1048576 103809024
MYTEMPFILE 32505856 1016070144
6 rows selected.
SQL> exit
I am not able to drop the Temp file as it is used by some users.
When i checked my Alert Log then i am getting the ora-600 error....
When i check metalink for this argument i found that its a bug in 91 &10gR2
Please suggest some solution of this problem.
Is it a serious issue of database.Robert Geier wrote:
If you kill the sessions using the tempfile, or restart the database you may be able to drop it. Or you could try to shrink the tempfile instead of drop.
Not sure why you are doing that though ? If the temp tablespace is full, check what is using the space, or add another tempfile to the tablespace.No I am not killing the sessions... But i just checked using following query that some users are using the temp Tablespace at that time. But i did not kill any session.
select 'alter system kill session '''||a.sid||','||a.serial#||''' immediate;'
from
v$session a,
v$sort_usage b,
v$process c,
v$parameter d
where
d.name = 'db_block_size'
and
a.saddr = b.session_addr
and
a.paddr = c.addr
and
b.tablespace='TEMP'
and
a.status='ACTIVE'
order by
b.tablespace,
b.segfile#,
b.segblk#,
b.blocks; -
Hi,
I'm getting the error
ORA-00600: internal error code, arguments: [kcbgtcr_5], [4294967295], [1], [0], [], [], [], []
with a simple insert command on my XE database.
SQL> l
1 insert into sscm_content
2 ( KEY ,
3 NAME ,
4 TOPIC_KEY ,
5 CSS_CLASS_KEY ,
6 SORT_STRING ,
7 CONTENT ,
8 NOTE
9 )
10 select
11 KEY ,
12 NAME ,
13 TOPIC_KEY ,
14 CSS_CLASS_KEY ,
15 SORT_STRING ,
16 CONTENT ,
17 NOTE
18 from
19 temp_content
20*
SQL> /
insert into sscm_content
ERROR at line 1:
ORA-00600: internal error code, arguments: [kcbgtcr_5], [4294967295], [1], [0], [], [], [], []
SQL> desc sscm_content
Name Null? Type
KEY NOT NULL VARCHAR2(100)
NAME NOT NULL VARCHAR2(100)
TOPIC_KEY NOT NULL VARCHAR2(100)
CSS_CLASS_KEY NOT NULL VARCHAR2(100)
SORT_STRING NOT NULL VARCHAR2(100)
CONTENT NOT NULL CLOB
NOTE CLOB
SQL> desc temp_content
Name Null? Type
KEY VARCHAR2(100)
NAME NOT NULL VARCHAR2(100)
TOPIC_KEY NOT NULL VARCHAR2(100)
CSS_CLASS_KEY NOT NULL VARCHAR2(100)
SORT_STRING NOT NULL VARCHAR2(100)
CONTENT NOT NULL CLOB
NOTE CLOBThe same command has worked many times in the past.
I saw the following at http://oracledocs.shu.ac.uk/local/personalOracleInstallation/w2k-10g/readme.101/README_rdbms.htm
"Bug 3392439
Row Access Method problem: DML statements may fail with ORA-00600 [kcbget_24], ORA-00600 [kcbgtcr_5], or ORA-00600 [kcbgcur_3] error messages. The DML on an Index-Organized Table (IOT) that has one or more secondary index may fail with ORA-00600, fail with an access violation, or it may cause modification of rows in objects that are not associated with the target IOT.
Workaround:
Set hidden parameter _db_cache_pre_warm to false in init.ora to avoid pre-warming behavior in buffer cache. Alternatively, use ALTER SYSTEM FLUSH BUFFER_CACHE."
Even though my tables are not index organized, the bug seems related to my problem since the "ALTER SYSTEM FLUSH BUFFER_CACHE' provides a temporary fix. It's not a permanent fix because the ORA-600 error reappears in later operations.
For a permanent fix I tried setting the hidden parameter mentioned, but it wouldn't take.
Connected to:
Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
SQL> alter system set "_db_cache_pre_warm" = false comment = 'workaround for bug 3392439 ora 600 kcbgtcr_5 error' ;
alter system set "_db_cache_pre_warm" = false comment = 'workaround for bug 3392439 ora 600 kcbgtcr_5 error'
ERROR at line 1:
ORA-02095: specified initialization parameter cannot be modifiedAny ideas on how I can fix the problem?Looks like I spoke too soon. The error is back.
The problem might be related to a foreign key to an index organized table (IOT) that SSCM_CONTENT has. I converted the IOT to a regular table and was then able to perform the INSERT without receiving the ORA-00600. Let's hope it's gone for good.
I sure would like to be able to use IOT's on Oracle XE though. I'd appreciate hearing if there are any workarounds or fixes other than the two already mentioned. -
Internal error when accessing a table -
Hi,
The program which is running as background was running for last 1 year, last two days the RFC call in the program is dumping.
In DUMP its showing Internal error when accessing a table
Error : DBIF_RSQL_SQL_ERROR
I checed the size of the table its quite huge for the application.
So there is no issue with table.
Please advise what causes these sort of error.
System is ECC 6.0
With SQL server 8.0
Regards,
ThomasThese are the system log i got it from SM21. For this error logs are as below
Very High Priority error
Details Page 2 Line 9 System Log: Local Analysis of onsaprp1 1
Time
Type
Nr
Clt
TCode
Grp
N
Text
15:43:09
DIA
009
300
AB
0
Run-time error "DBIF_RSQL_INTERNAL_ERROR" occurred
Run-time error "DBIF_RSQL_INTERNAL_ERROR" occurred
Details
Recording at local and central time........................ 11.02.2011 15:43:09
Task......
Process
User......
Terminal
Session
TCode
Program
Cl
Problem cl
Package
03084
Dialog work process No. 009
TOM
1
SAPMSSY1
T
Transaction Problem
SABP
Further details for this message type
Module nam
Line
Error text
absapsql
0786
HandleRsqlErrors
Documentation for system log message AB 0 :
The specified runtime error has occurred in the system.
Parameter
abcdefghijklmnopqrstuvwxyz .. DBIF_RSQL_INTERNAL_ERROR
Technical details
File
Offset
RecFm
System log type
Grp
N
variable message data
119
618840
l
Error (Module, Row)
AB
0
HandleRsqlErrors absapsql0786
High Priority error
Details Page 2 Line 18 System Log: Local Analysis of onsaprp1 1
Time
Type
Nr
Clt
TCode
Grp
N
Text
15:44:07
DIA
009
300
SMEN
BZ
Y
Unexpected return value 8 when calling up
Unexpected return value 8 when calling up
Details
Recording at local and central time........................ 11.02.2011 15:44:07
Task......
Process
User......
Terminal
Session
TCode
Program
Cl
Problem cl
Package
03084
Dialog work process No. 009
TOM
om-blr-l
1
SMEN
SAPLSMTR_NAVIGATION
K
SAP Web AS Problem
SBAC
Further details for this message type
Module nam
Line
Table Name
Field Name
dbrepolo
172
8
Documentation for system log message BZ Y :
When calling a function within the database interface, a return
value which cannot be processed by the calling function was
provided.
Technical details
File
Offset
RecFm
System log type
Grp
N
variable message data
120
11160
h
Database Error (Non-SQL)
BZ
Y
8 dbrepolo172
Edited by: Thomas Paul jr on Feb 14, 2011 6:36 AM
Edited by: Thomas Paul jr on Feb 14, 2011 6:38 AM -
Internal Error when adding Invoice from DI-API
Hello All,
I am trying to add an invoice using DI-API. I hv populated the object using XML and than adding it. Upon adding the error Internal Error (-10) is coming. I hv checked everything but am certainly missing something. Following is the XML of the invoice and the code to add it
<?xml version="1.0" encoding="utf-16" ?>
<BOM>
<BO>
<AdmInfo>
<Object>13</Object>
<Version>1</Version>
</AdmInfo>
<OINV>
<row>
<U_EntryId>1</U_EntryId>
<DocType>I</DocType>
<DocDate>20110923</DocDate>
<DocDueDate>20111023</DocDueDate>
<CardCode>JM0004</CardCode>
<CardName>GAYAN BHARTI</CardName>
<NumAtCard></NumAtCard>
<DiscPrcnt>0.000000</DiscPrcnt>
<DocTotal>755.000000</DocTotal>
<Comments></Comments>
<U_BranchTrans>1</U_BranchTrans>
<SlpCode>-1</SlpCode>
<IsICT>N</IsICT>
<Series>40</Series>
<TaxDate>20110923</TaxDate>
<TrackNo></TrackNo>
<SeqCode>0</SeqCode>
<U_SlpName></U_SlpName>
<U_WebCreated>N</U_WebCreated>
<U_Territory></U_Territory>
<U_InvType>C</U_InvType>
</row>
</OINV>
<INV1>
<row>
<ItemCode>A003</ItemCode>
<Dscription></Dscription>
<Quantity>5.000000</Quantity>
<DiscPrcnt>0.000000</DiscPrcnt>
<WhsCode>JSP-FG</WhsCode>
<PriceBefDi>11.000000</PriceBefDi>
<TaxCode>NonTax</TaxCode>
<U_WebCreated>N</U_WebCreated>
<U_RetQty></U_RetQty>
<U_SaleQty></U_SaleQty>
<U_LineType>S</U_LineType>
</row>
<row>
<ItemCode>A005</ItemCode>
<Dscription>Ace Visual Dictonary 2</Dscription>
<Quantity>10.000000</Quantity>
<DiscPrcnt>0.000000</DiscPrcnt>
<WhsCode>JSP-FG</WhsCode>
<PriceBefDi>70.000000</PriceBefDi>
<TaxCode>NonTax</TaxCode>
<U_WebCreated>N</U_WebCreated>
<U_RetQty></U_RetQty>
<U_SaleQty></U_SaleQty>
<U_LineType>S</U_LineType>
</row>
</INV1>
</BO>
</BOM>
Program Code to add
Dim oSapObject As SAPbobsCOM.Documents
oCompany.XMLAsString = True
oSapObject = oCompany.GetBusinessObjectFromXML(Body, 0)
If oSapObject.Add <> 0 Then
Throw New Exception(oCompany.GetLastErrorDescription & " [" & oCompany.GetLastErrorCode & "]")
End If
Any help would be greatly appreciated. This is sort of urgent and needs to be done immediately.
Regards,
Rahul Jain
PS: The error is coming on oSapObject.Add - it is able to read the invoice from XML, the error comes when trying to add it. All relevant values mentioned in XML are present in the database, and I am able to add an Invoice from the UI.
Edited by: Rahul Jain on Sep 24, 2011 1:29 PMI realize this might not be to much help but everytime I have ever gotten an internal error code it has always turned out to be a SQL error. For instance there could be something in transaction notification that doesnt jive with your submission or something along those lines. Perhaps you could try a more simplified invoice as a test such as just send one item with a price and no UDFs .
Sorry if that is not much help.
Maybe you are looking for
-
Sync issues after iOS 8 update
Hi, I have an iPhone 5S, 64 GB. After updating to iOS8 I got sync issues. "Waiting for changes to be applied" never disappeared. Also the storage usage in iTunes 11.4 is wrong. iTunes said I had 6GB free, when I had in fact 20GB. I restored the phone
-
Mail keeps crashing whenever it attempts to connect to .mac server
Ugh. I have been having some major problemos w/ my mac lately (if you're up to it, search my other recent posts -- all of which are still open and needing resolutions). Anyway, this issue pertains to Mail. Whenever the app tries to connect to the mai
-
EWA,SL reporting into BI
Hi.. Can somebody help in configuring the BI for solution manager. I want to push the data from solution manager like EWA,SL,System monitoring reports in to BI. and later i need to extract from BI as and when required.. Help me with the documentation
-
I wonder what is included in the log files?
My application generates 1G log files per day. when I use logmnr to analyze the log files, I find that 2000 rows which is performed by my application user is in the v$logmnr_contents view. And 55000 rows which is performed by the Oracle sys user. In
-
My airport utility won't upgrade
my airport stopped working and won't upgrade