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.

Similar Messages

  • An internal error occurred while writing imported graphics in this document. The file has been saved

    An internal error occurred while writing imported graphics in this document. The file has been saved, but has lost some image data. Please report this error to Adobe Technical Support.
    How do i fix this, there are no images in the document
    thanks
    emma

    We are running FM version 7.2b144 on MS Win xp Pro (32 bit), and I did not notice this until service pack 3 was installed. I believe I have found a work around to the situation and another contributing cause. If graphic files are placed directly in an anchored frame instead of importing by reference, the file somehow becomes misplaced. If you right click the graphic and open the Object Properties dialog box, and see the phrase "no referenced file" below Main Editor: Referenced File: in the lower left hand corner, this has happened. I found if I removed all graphics files without references and imported them by reference, the source file may then be properly saved. I am also using a program called CCleaner, which removes cookies, temp files, browsing history and the like from a system. If the program settings are chosen too aggressively, and the application runs when FM has a file open, this same error will occur, even if all files are referenced properly. I don't know if SP3 has some similar application which is now running in the background and causing this.
    To summarize, if you want to retain SP3, I have eliminated this error by confirming the links to referenced graphics files and avoiding using 3rd party "cleaners" while FM is open.

  • Internal Error -5000 when creating AP Credit Memo

    hi all, i've some problem when trying to create AP Credit Memo  using VB.Net via SAP B1 SDK.
    My application keep throwing error "Internal Error -5000 Occured"
    My friend suggest me to create AP Credit Memo using SAP B1 application first, then try using the same parameter that i inputed into the system to create AP Credit Memo using SDK, he said it ussualy works.
    I already try my friend suggestion to create AP Memo using SAP B1 Screen and it
    was worked.
    The information that i input when creating AP Memo via SAP screen are :
    - Vendor
    - Item/Service Type ="Service"
    - Item/Service Description
    - G/L Account
    - Tax Code ="VNC"
    - WTaxLiable =No
    But when I try to create AP Memo using VB.NET using SAP SDK, it still
    throwing the same exception as before (Internal Error -5000 Occured) even
    I passing the same parameter.
    Bellow is my code :
    For the master :
                            vAPmemo.DocObjectCode =
    SAPbobsCOM.BoObjectTypes.oPurchaseCreditNotes
                            vAPmemo.DocType =
    SAPbobsCOM.BoDocumentTypes.dDocument_Service
                            vAPmemo.CardCode = "V001" ' txtCcode.Text
                            vAPmemo.DocDate = Now 'DatePosting.Value
                            vAPmemo.DocDueDate = Now ' DateDue.Value
                            vAPmemo.DocCurrency = "IDR"
                            vAPmemo.Comments = "Based On Tagihan  No. " &
    dtTable.Rows(j)("JurnalMemo").ToString.Trim & "."
    For The Detail :
                       vAPmemo.Lines.AccountCode =
    dtTable.Rows(j)("AccountCode").ToString.Trim
                            vAPmemo.Lines.BaseType = 18 'basetype = 19 (a/p
    credit memo)
                            vAPmemo.Lines.ItemDescription = "Test"
                            vAPmemo.Lines.WTLiable = SAPbobsCOM.BoYesNoEnum.tNO
                            vAPmemo.Lines.TaxCode = "VNC"
    vAPmemo.RowTotalFC= CDbl(dtTable.Rows(j)("Credit").ToString.Trim)
    Is there anything wrong in my code ?
    or missing parameter?
    Regards,
    Herfin
    Edited by: Herfin Jodana on Aug 28, 2008 3:29 AM
    Edited by: Herfin Jodana on Aug 28, 2008 3:30 AM

    HI,
    if you want ot create a A/P Credit memo, you do not have to give the basetype/BaseLine/BaseEntry fields between document lines.
    the correct is:
    vAPmemo.Lines.AccountCode =
    dtTable.Rows(j)("AccountCode").ToString.Trim
    vAPmemo.Lines.ItemDescription = "Test"
    vAPmemo.Lines.WTLiable = SAPbobsCOM.BoYesNoEnum.tNO
    vAPmemo.Lines.TaxCode = "VNC"
    vAPmemo.RowTotalFC= CDbl(dtTable.Rows(j)("Credit").ToString.Trim)
    if you want to create a A/P Credit memo based on Existing Invoice, you must have to provide the basetype/BaseLine/BaseEntry  which means:
    vAPmemo.Lines.BaseType = 18 'APInvoice
    vAPmemo.Lines.BaseEntry = 'Refrence docentry for A/P Invoice
    vAPmemo.Lines.BaseLine = 'reference to A/P Invoice linenumber
    Try this, it is now working.
    Best Regards,
    J.

  • An error occurred while parsing DA Hierarchy : Document is invalid: no gram

    When logging in to Portal Administration, I am seeing the following error. Please help me resolve this problem. Many thanks.
    An exception has been thrown while trying to render this page.
    Exception Message:
    An error occurred while parsing DA Hierarchy : Document is invalid: no grammar found.
    ---Begin Stack Trace---
    com.bea.p13n.delegation.common.DelegationSystemException: An error occurred while parsing DA Hierarchy : Document is invalid: no grammar found. at com.bea.p13n.delegation.management.internal.DelegationHierarchyAbstractPersistenceManager.parseData(DelegationHierarchyAbstractPersistenceManager.java:209) at com.bea.p13n.delegation.management.internal.DelegationHierarchyAbstractPersistenceManager.get(DelegationHierarchyAbstractPersistenceManager.java:189) at com.bea.p13n.delegation.management.internal.DelegationHierarchyDelegate.getHierarchyRoot(DelegationHierarchyDelegate.java:123) at com.bea.p13n.delegation.management.DelegationRoleManager.getHierarchyRoot(DelegationRoleManager.java:63) at com.bea.jsptools.delegation.Pruner.isRootDARole(Pruner.java:145) at com.bea.jsptools.delegation.PortalNodePruner.isEnabled(PortalNodePruner.java:96) at com.bea.treeutils.PrunableTreeNode.checkEnabled(PrunableTreeNode.java:161) at com.bea.jsptools.portal.PortalHierarchyServlet.generateLibraryNodes(PortalHierarchyServlet.java:856) at com.bea.jsptools.portal.PortalHierarchyServlet.generateTopLevelNodes(PortalHierarchyServlet.java:231) at com.bea.jsptools.portal.PortalHierarchyServlet.generateTree(PortalHierarchyServlet.java:104) at jsp_servlet._portaltools.__portalmgmttree._jspService(__portalmgmttree.java:5784) at weblogic.servlet.jsp.JspBase.service(JspBase.java:33) at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1072) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:465) at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27) at com.bea.p13n.servlets.PortalServletFilter.doFilter(PortalServletFilter.java:293) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27) at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:644) at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:423) at com.bea.netuix.servlets.controls.content.JspContent.beginRender(JspContent.java:533) at com.bea.netuix.nf.ControlLifecycle$1.visit(ControlLifecycle.java:495) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:542) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:553) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:553) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:553) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:553) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:553) at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:247) at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:105) at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:356) at com.bea.netuix.nf.UIControl.render(UIControl.java:536) at com.bea.netuix.servlets.controls.PresentationContext.render(PresentationContext.java:405) at com.bea.netuix.servlets.util.RenderToolkit.renderChild(RenderToolkit.java:123) at com.bea.netuix.servlets.jsp.taglib.RenderChild.doStartTag(RenderChild.java:58) at jsp_servlet._framework._skeletons._beatools.__gridlayout_two_column._jspService(__gridlayout_two_column.java:423) at weblogic.servlet.jsp.JspBase.service(JspBase.java:33) at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1072) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:465) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:348) at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:638) at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:423) at com.bea.netuix.servlets.controls.JspRenderer.renderAlt(JspRenderer.java:194) at com.bea.netuix.servlets.controls.JspRenderer.beginRender(JspRenderer.java:96) at com.bea.netuix.nf.ControlLifecycle$1.visit(ControlLifecycle.java:491) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:542) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:553) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:553) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:553) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:553) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:553) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:553) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:553) at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:247) at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:105) at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:356) at com.bea.netuix.nf.UIControl.render(UIControl.java:536) at com.bea.netuix.servlets.controls.PresentationContext.render(PresentationContext.java:405) at com.bea.netuix.servlets.util.RenderToolkit.renderChild(RenderToolkit.java:123) at com.bea.netuix.servlets.jsp.taglib.RenderChild.doStartTag(RenderChild.java:58) at jsp_servlet._framework._skeletons._beatools.__gridlayout._jspService(__gridlayout.java:193) at weblogic.servlet.jsp.JspBase.service(JspBase.java:33) at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1072) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:465) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:348) at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:638) at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:423) at com.bea.netuix.servlets.controls.JspRenderer.renderAlt(JspRenderer.java:194) at com.bea.netuix.servlets.controls.JspRenderer.beginRender(JspRenderer.java:96) at com.bea.netuix.nf.ControlLifecycle$1.visit(ControlLifecycle.java:491) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:542) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:553) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:553) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:553) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:553) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:553) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:553) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:553) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:553) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:553) at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:247) at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:105) at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:356) at com.bea.netuix.nf.UIControl.render(UIControl.java:536) at com.bea.netuix.servlets.controls.PresentationContext.render(PresentationContext.java:405) at com.bea.netuix.servlets.util.RenderToolkit.renderChild(RenderToolkit.java:123) at com.bea.netuix.servlets.jsp.taglib.RenderChild.doStartTag(RenderChild.java:58) at jsp_servlet._framework._skeletons._beatools.__gridlayout_outermost._jspService(__gridlayout_outermost.java:285) at weblogic.servlet.jsp.JspBase.service(JspBase.java:33) at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1072) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:465) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:348) at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:638) at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:423) at com.bea.netuix.servlets.controls.JspRenderer.renderAlt(JspRenderer.java:194) at com.bea.netuix.servlets.controls.JspRenderer.beginRender(JspRenderer.java:96) at com.bea.netuix.nf.ControlLifecycle$1.visit(ControlLifecycle.java:491) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:542) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:553) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:553) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:553) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:553) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:553) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:553) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:553) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:553) at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:247) at com.bea.netuix.nf.Lifecycle.runOutbound(Lifecycle.java:204) at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:153) at com.bea.netuix.servlets.manager.UIServlet.runLifecycle(UIServlet.java:333) at com.bea.netuix.servlets.manager.UIServlet.doPost(UIServlet.java:196) at com.bea.netuix.servlets.manager.PortalServlet.doPost(PortalServlet.java:772) at com.bea.netuix.servlets.manager.PortalServlet.doGet(PortalServlet.java:671) at com.bea.netuix.servlets.manager.UIServlet.service(UIServlet.java:147) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1072) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:465) at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27) at com.bea.servlet.PortalSystemAdministratorFilter.doFilter(PortalSystemAdministratorFilter.java:83) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27) at com.bea.p13n.servlets.PortalServletFilter.doFilter(PortalServletFilter.java:293) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6987) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121) at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3892) at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2766) at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183) Caused by: org.xml.sax.SAXParseException: Document is invalid: no grammar found. at org.apache.xerces.parsers.DOMParser.parse(Unknown Source) at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source) at javax.xml.parsers.DocumentBuilder.parse(Unknown Source) at com.bea.p13n.delegation.management.internal.DelegationHierarchyParser.getDelegationHierarchy(DelegationHierarchyParser.java:102) at com.bea.p13n.delegation.management.internal.DelegationHierarchyAbstractPersistenceManager.parseData(DelegationHierarchyAbstractPersistenceManager.java:206) ... 129 more
    ---End Stack Trace---

    I have the same problem with Weblogic 8.1 SP5 running on Itanium (the same appl. running on Xeon runs OK).

  • "An internal error occured while calling 'answerPrompts' API.(Error: wis_30

    Hi Gurus
    Getting an error message while running a webi report from infoview link(server:8080/InfoViewApp/logon.jsp)
    as
    "An internal error occured while calling 'answerPrompts' API.(Error: ERR_WIS_30270)
    I found that while selecting refresh checkbox in one of the query which is using .xls file from the local system this is showing above error while running from above link.
    If it is unchecked it is running without any error.
    while running report from webirichclient(where we are developing reports) it is running without any error.
    Thanks in Advance
    Regards
    Ritu Raj

    It seems you are on SP3, and I assume the operating system of the BO server is Windows based.
    Please cross-check that the Excel version you have matches the ODBC driver in the supported platforms document for XI3.1 SP3 [http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/4079f8f6-2b49-2d10-d790-bc596012dc25]
    Second thing, I would like to see screenshots of what you mean by
    "I found that while selecting refresh checkbox in one of the query which is using .xls file from the local system this is showing above error while running from above link.
    If it is unchecked it is running without any error."
    just to avoid misunderstandings from my side
    Thanks!
    Best regards,
    Simone

  • I'm getting error 5000 while trying to backup my phone before I can run an update

    I'm getting error 5000 while trying to backup my phone so I can run an update. I'm getting a message that says my back up is corrupt. What does that mean and how can I fix it?

    Hi
    This is an easy Q: to set - but there is no simple and plain answer only a lot of more or less plausibly suggestions.
    Error -50 = paramErr  Error in user parameter list
    Can there be any external hard disks - if so How is/are it/they formatted ?
    If so it Must be Mac OS Extended (hfs) if used for Video.
    UNIX/DOS/FAT32/Mac OS Exchange - works for most but not for VIDEO.
    What this means in Your situation is above me.
    • free space on internal boot hard disk 11Gb is on the limit to work when You select Export and might be it.
    Video used - there are several video formats/codecs and iMovie can not use all of them, they evolve to fast.
    • So try to find out by opening a raw video in QuickTime-player and then open Inspector (cmd+I) and read
    Video Format/Codec: nnnnnnnn
    What does it read ?
    Pictures
    • in what format ? .jpg, .bmp, .tif, else ?
    Audio
    • from where/what format ? iTunes, .avi, .mp3, .aiff, else ?
    I convert all audio to .aiff - in iTunes I burn out as an Audio-CD .aiff (not .mp3) and use the files on this in my movie projects.
    Some times it's needed to trash the "com.apple.iMovie.plist" file in You USER-Library/Preferences (not Library on Root level (when opening Macintosh HD) - but the one in Your home folder.
    Many users has not observed that there are TWO libraries.
    • Library - at root level
    • Library - in user/account folder - THIS IS THE ONE to look into
    from Luke Burns
    I fixed the problem.. but it was very, very strange. I had a very long section for credits and set the line spacing to 1.0.. for some reason this caused it. I removed it, and it worked fine. I put it back, and I couldn't preview or play the video.
    I don't know why that could cause that big of a problem, but it did..
    Yours Bengt W

  • Internal Error occurred while calling the ProcessDPCommands API

    We have installed Business Objects XI  with MySQL. We are getting following error when we click on view query on the WEBI Reports
    " Internal Error occurred while calling the ProcessDPCommands API  Error WIS 30270".
    When we change the CMS database to ORACLE everything works fine it looks like some issues when CMS database is MYSQL
    Please hep to fix this problem
    Installation is on Solaris 10
    Edited by: AshishDatar on Nov 6, 2009 3:00 PM
    Installation is on Solaris 10

    did you check whether universe connection is pointing to the correct db?The following url might be helpful:
    [http://www.forumtopics.com/busobj/viewtopic.php?t=52355&view=previous]

  • An internal error occurred while calling 'submitReport' API. (Error: ERR_WI

    An internal error occurred while calling 'submitReport' API. (Error: ERR_WIS_30270)
    We get above mentioned error message at any point in WebI Rich Client.
    DataSource: Teradata 12.0 (Local machine)
    BO XI 3.1 Client installed on local machine
    Universe (Secured connection)
    WebI : desiging and creating in Standlone mode
    WebI client version : 12.1.0.882
    Many times above written error is thrown 2-3 times even when we click on OK button and lastly followed by new error message:-
    Unable to get the first page of the current report - Web Intelligence will switch to structure view (WIJ 20003).
    Flow: We create report based on locally saved universe. There are couple of scenarios for which error comes
    1) After successfully saving the report, reopen and refresh causes this error (1st error and 2nd)
    2) Droping a properly written variable on measure column, if done Ctrl + Z, report works sometimes (both or 2nd error message)
    3) Draging out the mesaure or dimension from report (only 2nd error)
    Report is simple and no other stuff except the cross tab table
    Even if we start with simply dropping the dimension and measures on report, 2nd error comes at any time.
    What we noticed is that if we do all desiging in structure mode and then run instead of in result mode, reports works for more time.

    You can have a look here:
    Input Controls with Break Error on webi report
    http://www.forumtopics.com/busobj/viewtopic.php?t=60789&postdays=0&postorder=asc&start=45
    Re: internal error occurred while calling the 'submitReport' API.
    I'm Back
    HAPPY NEW YEAR

  • ORA-00607: Internal error occurred while making a change to a data block

    hi
    i hv use testing purpose oracle 10 Xe in unix
    but when today i hv connect database following error occured
    SQL> startup
    ORACLE instance started.
    Total System Global Area 83886080 bytes
    Fixed Size 1257284 bytes
    Variable Size 75497660 bytes
    Database Buffers 4194304 bytes
    Redo Buffers 2936832 bytes
    Database mounted.
    ORA-00607: Internal error occurred while making a change to a data block
    ORA-00600: internal error code, arguments: [4193], [625], [640], [], [], [],
    I hv check alert log , but no proper solution is given , how can start database

    Duh, and of course I missed the significance of
    oracle 10 Xe in unix
    XE is only supported for Linux - according to the downloads page that means "Debian, Mandriva, Novell, Red Hat and Ubuntu".
    Oracle have not publically stated the reasons why XE is only available on Linux and Windows, but my guess is that it is something to do the Intel chip architecture. If this is so it would be possible for Oracle to port XE to run on Solaris for x86. But they have not done so yet.
    Which means, alas, that you are unlikely to get any help for this one, because XE is not supported on any unix platform.
    Good luck, APC

  • Time Machine error message while restoring..."an error occurred while adding a recovery system to the destination disk

    I had to change my hard drive in my MBP 15".  I use Time Machine on a Time Capsule for backup.  I am booting up my laptop with a bootable USB key.  I have partitioned my new hard drive (bigger than the old one) and named it Macintosh HD (same as the old one).  I select the option to restore from Time Machine Backup.  I select one of my latest backup....select my destination drive...the restore process starts but stop within minutes with the following message.  "An error occurred while adding a recovery system to the destination disk"  It then prompts me to restart....
    I need your help...what can it be.
    Thanks

    I've encountered this issue when the Time Machine was encrypted with FileVault.
    Article:  HT4718
    Additional Information
    Please note that OS X Recovery must be present on the computer's startup volume in order to use FileVault 2. Using RAID partitions or a non-standard Boot Camp partition on the startup disk may prevent OS X from installing a local Recovery system. See "OS X: Some features of Mac OS X are not supported for the disk (volume name)" for more information.
    What seems to work, is reinstalling the OSX from the internet, and then using migration assistant to pull the user from the time machine backup external when logged into a temporary administrator user to move the original user back over.
    Perhaps if you're stubborn, what would work is the following from the same article:
    What to do if the installer warns that no Recovery System can be created
    Some disk partition configurations may result in the OS X installer reporting that it could not create a Recovery System. In these situations, even if you are permitted to continue the install, you may want to quit the installation and create an external, bootable OS X hard drive with a Recovery System, first. You can continue your OS X upgrade on your computer's startup drive after creating an external Recovery System.
    Your storage device must have at least 13 GB available (after formatting) to install OS X Lion or later and a Recovery partition.
    These steps erase and reformat the storage device. This article instructs you on setting up a storage device to use the GUID partition scheme and the Mac OS Extended (Journaled) format, which are required to install OS X and a Recovery partition on your external storage device. You should back up any important files that are on the device to a different drive.
    This procedure installs a version of OS X that is compatible with the Mac it was created with. Using this OS X system with a different Mac model may produce unpredictable results.
    Your computer's serial number is sent to Apple as part of this process to help authenticate your request to download and install OS X Lion.
    All of this information was collected by browsing through the public articles on the Apple Support website.

  • An internal error occured while calling 'processDPCommandsEx' API. (Error: ERR_WIS_30270)

    Hi ALL,
    I am facing a wierd issue while opening/refreshing/broadcasting a webi report.
    The error message scrnshot:
    This error is not throughout the reports, but for specific reports only, when checked the Bex query definition it works fine, but gives error for Webi reports.
    Recently we had upgrade of BO 4.0 SP7 patch 9.
    The reports are directly built on Bex queries, Bex queries contains simple Structures and few CKF's.
    Would be thankful for any help recieved in resolving the above issue.
    Regards,
    Jaywant Kulkarni.

    Hi jaywant,
    Please check the note: 1760827 it may be helpful
    ( An internal error occurred while calling the 'processDPCommands' API. (ERR_WIS_30270) due to some scenarios.
    Scenario 1:
    Error occurs when try to refresh a migrated Web Intelligence report in InfoView, after entering a date or dates for prompts.
    Suggested Solution:
    Modify problematic report in Webi. 
    Change the prompt definition to be a constant, run the report in Webi, and save it. 
    Change the prompt definition back to prompt with required date definition. Make sure you are using the correct date format! (The report prompt should tell you what the format is supposed to be.) Re-run the report in Webi, and save it. 
    Re-open the report in InfoView and refresh.
    Scenario 2:  Error occurs when trying to edit the properties of a Webi report containing merged dimensions.
    Suggested Solution:
    Remove the merged dimensions and then re-establish them.
    Scenario 3:  Error occurs when the InfoView report has been open and idle for a long time.
    Suggested Solution:
    This error can be an indication of a time-out, based on the server’s settings.  Make sure you save your work often.  You will need to close and re-open the report when you get this error, and you may have lost any unsaved changes.

  • Error Message while adding Item in Item Master Data- [Microsoft][SQL Server Native Client 10.0][SQL Server]Conversion failed when converting the nvarchar value 's008 01' to data type int. (CINF)

    Dear Experts
    I am getting the following error message while adding item in Item Master data. I have modified the following SBO_SP_transactionNotification in SQL server after that could not able to add the item
    ALTER proc [dbo].[SBO_SP_TransactionNotification]
    @object_type nvarchar(20),                      -- SBO Object Type
    @transaction_type nchar(1),               -- [A]dd, [U]pdate, [D]elete, [C]ancel, C[L]ose
    @num_of_cols_in_key int,
    @list_of_key_cols_tab_del nvarchar(255),
    @list_of_cols_val_tab_del nvarchar(255)
    AS
    begin
    -- Return values
    declare @error  int                       -- Result (0 for no error)
    declare @error_message nvarchar (200)           -- Error string to be displayed
    select @error = 0
    select @error_message = N'Ok'
    --    IF @OBJECT_TYPE = '59' AND (@TRANSACTION_TYPE = 'A' or @TRANSACTION_TYPE = 'U')
      BEGIN
       IF EXISTS(
        SELECT T0.Price FROM IGN1 T0
        where  IsNull(T0.Price, '0') = '0' and T0.DocEntry = @list_of_cols_val_tab_del)
       BEGIN
        SELECT @ERROR=1,@ERROR_MESSAGE='Please insert the price !'
      END
    end
    -- Select the return values
    select @error, @error_message
    end

    Hi Rathna,
    Just put the SP like this, without the -- before the IF. A -- marks the line as a command therefore you need to uncomment and it will work.
    IF @OBJECT_TYPE = '59' AND (@TRANSACTION_TYPE = 'A' or @TRANSACTION_TYPE = 'U')
      BEGIN
       IF EXISTS(
        SELECT T0.Price FROM IGN1 T0
        where  IsNull(T0.Price, '0') = '0' and T0.DocEntry = @list_of_cols_val_tab_del)
       BEGIN
        SELECT @ERROR=1,@ERROR_MESSAGE='Please insert the price !'
      END
    end
    Hope it helps

  • An error occurred while adding the Cluster to the list

    Hello,
    I've installed the HFM 9.3.1 client on a Windows Server 2003 machine and now I'm attempting to configure it. I get all the way to the Server/Cluster Registration and when I try to add my one and only HFM application server to the list I'm present with this error.
    "An error occurred while adding the Cluster to the list".
    I don't see anything of use in the config tool log and as a result, I'm stuck. The odd thing is that not more than 10 minutes previously I added just finished installing the HFM client on another Windows Server 2003 machine and it installed / configured perfectly.
    What am I missing?
    Thanks!

    You may have a DNS error of sorts. From a command line on the server which presents the error, ping the servername you are trying to reach. Do not use the cluster name, but instead use the server name or IP address. If you successfully reach it, use this in the registration utility. Once the server has been reached, it will return the cluster's name. If you cannot reach it using ping, focus on the underlying DNS problem.
    --Chris                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Internal Error (-5000)

    Hi,
    I am getting the error message "Internal Error (-5000)"  when I select the BP in Incoming Payment.  Can anybody help me to resolve this issue ?

    hi,
    try to check the ff. note at sap Portal
         1227605,      1234446,      1077994
    hope it helps.
    bst regards
    fidel

  • WIJ20005 error occurred while editing the WebI document

    Hello Everyone,
    An error occurred while editing the WebIntelligence document.
    The error don't occur when you run again.
    Do you know the cause of this problem?
    Please give me advice how to investigate.
    Error message is as follows:
    The current request has returned corrupted data. Contact your administrator (ERR WIJ 20005)
    Version: 12.4.4.1557
    Application server:
    http://xxx.xxx.xxx.xxx:80/AnalyticalReporting/cdzisapi.wis
    Stack trace:
    java.lang.NullPointerException
    at com.jidesoft.plaf.basic.BasicJideTabbedPaneUI$TabSpaceAllocator.a(Unknouwn Source)
    at com.jidesoft.plaf.basic.BasicJideTabbedPaneUI$TabSpaceAllocator.reArrange(Unknouwn Source)
    at com.jidesoft.plaf.basic.BasicJideTabbedPaneUI.ensureCurrentRects(Unknouwn Source)
    at com.jidesoft.plaf.basic.BasicJideTabbedPaneUI$TabbedPaneScrollLayout.calculateTabRects(Unknouwn Source)
    at com.jidesoft.plaf.basic.BasicJideTabbedPaneUI$TabbedPaneLayout.calculateLayoutInfo(Unknouwn Source)
    at com.jidesoft.plaf.basic.BasicJideTabbedPaneUI.ensureCurrentLayout(Unknouwn Source)
    at com.jidesoft.plaf.basic.BasicJideTabbedPaneUI.a(Unknouwn Source)
    at com.jidesoft.plaf.basic.BasicJideTabbedPaneUI.access$1900(Unknouwn Source)
    at com.jidesoft.plaf.basic.BasicJideTabbedPaneUI$f_.componentAdded(Unknouwn Source)
    at java.awt.Container.processContainerEvent(Unknouwn Source)
    at java.awt.Container.processEvent(Unknouwn Source)
    at java.awt.Component.dispatchEventImpl(Unknouwn Source)
    at java.awt.Container.dispatchEventImpl(Unknouwn Source)
    at java.awt.Component.dispatchEvent(Unknouwn Source)
    at java.awt.Container.addImple(Unknouwn Source)
    at javax.swing.JTabbedPane.insertTab(Unknouwn Source)
    at com.jidesoft.swing.JideTabbedPane.insertTab(Unknouwn Source)
    at javax.swing.JTabbedPane.addTab(Unknouwn Source)
    at com.businessobjects.wp.tc.query.TCQueryTab.createUniversTab(Unknouwn Source)
    at com.businessobjects.wp.tc.query.TCQueryTab.init(Unknouwn Source)
    at com.businessobjects.wp.tc.query.TCQueryTabManager.addQueryTab(Unknouwn Source)
    at com.businessobjects.wp.tc.query.TCQueryTabManager.updateWithDP(Unknouwn Source)
    at com.businessobjects.wp.tc.query.TCQueryPanel.createQueryTabs(Unknouwn Source)
    at com.businessobjects.wp.tc.query.TCQueryPanel.load(Unknouwn Source)
    at com.businessobjects.wp.tc.TCMain.initClient2(Unknouwn Source)
    at com.businessobjects.wp.tc.TCMain.initClient(Unknouwn Source)
    at com.businessobjects.wp.tc.thread.InitAppletRunner.run(Unknouwn Source)
    at java.lang.Therad.run(Unknouwn Source)
    Environment:
    [Server]
    - Windows 2008 R2 Enterprise
    - BOXI3.1 FP4.4 (IIS)
    [Client]
    - Windows7 SP1
    - IE8
    - JRE6 Update21
    Regards,
    Mayumi

    Hi, Yuvraj
    Thank you for advice.
    >What is the default editing tool set in Prefererences --> WebIntelligence?
    >Do you get issue with Interactive mode?
    >
    >If Advanced mode, have you tried uninstalling and re-installing Java
    >and check?
    It's Advanced mode.
    This error occur sometimes.
    And if you re-run after an error occurs, the error does not occur.
    So, I guess this error has affected the Java cache file, not the Java software.
    How do I check what Java cache is corrupted.
    >How many reports are giving this issue?
    This error occurs in various reports, but I din't know the number of reports.
    >Is this issue coming on all machines or single machine?
    This error has occurred in several machine.
    >Do you face a similar issue when using Webi Rich Client?
    This error occur sometimes, and I usually not use Webi Rich Client.
    Try to check, but be difficult.
    Regards,
    Mayumi

Maybe you are looking for