Incomplete Respose for Batch Request

Folks,
We are using batch processing for some of our transactions (mainly write use-cases) and we are facing issues with the response of the $batch request when there's an error (business error) in one of the change sets. The issue with the response is that we don't get the response body after the first request that fails (HTTP 400/Bad Request), however, the response headers and the transaction completes successfully for the rest of the change sets. I have listed below a sample of the request and response to illustrate the issue that we are facing.
Request:
--batch
Content-Type: multipart/mixed; boundary=changeset
--changeset
Content-Type: application/http
Content-Transfer-Encoding: binary
POST POSTQTYCollection HTTP/1.1
Content-Type: application/json
Content-Length:672
{<request body>}
--changeset--
--batch
Content-Type: multipart/mixed; boundary=changeset
--changeset
Content-Type: application/http
Content-Transfer-Encoding: binary
POST POSTQTYCollection HTTP/1.1
Content-Type: application/json
Content-Length:671
{<request body>}
--changeset--
--batch
Content-Type: multipart/mixed; boundary=changeset
--changeset
Content-Type: application/http
Content-Transfer-Encoding: binary
POST POSTQTYCollection HTTP/1.1
Content-Type: application/json
Content-Length:673
{<request body>}
--changeset--
--batch--
Response:
--ejjeeffe0
Content-Type: multipart/mixed; boundary=ejjeeffe1
Content-Length:      1362
--ejjeeffe1
Content-Type: application/http
Content-Length: 1241
content-transfer-encoding: binary
HTTP/1.1 201 Created
Content-Type: application/atom+xml;type=entry
Content-Length: 1013
location: xxx/POSTQTYCollection('124557.1074')
dataserviceversion: 2.0
<RESPONSE BODY WITH ENTITY>
--ejjeeffe1--
--ejjeeffe0
Content-Type: application/http
Content-Length: 1211
content-transfer-encoding: binary
HTTP/1.1 400 Bad Request
Content-Type: application/xml
Content-Length: 1006
location: xxx/POSTQTYCollection('')
dataserviceversion: 1.0
<RESPONSE BODY WITH ERROR>
--ejjeeffe0
Content-Type: multipart/mixed; boundary=ejjeeffe1
Content-Length:       312
--ejjeeffe1
Content-Type: application/http
Content-Length: 192
content-transfer-encoding: binary
HTTP/1.1 201 Created
Content-Type: text/html
Content-Length: 0
location: xxx/POSTQTYCollection('')
dataserviceversion: 2.0
<NO RESPONSE BODY>
--ejjeeffe1--
--ejjeeffe0--
As you see, the last change set has a valid response (HTTP 201), however, the body of the response is not contained in the multipart response. The request is formatted correctly since the entire transaction works as expected; i.e. the first change set get committed, the second gets rolled back and the final one gets committed. However, the response body for the requests after the request that fails does is not sent by Gateway.
Does anyone know a solution for the same? We rely on the response of the CREATE to further processing and hence cannot rely just on the HTTP code to know that the CREATE was successful.
Thanks in advance,
Henry

Hello Henry,
We are firing the CREATE/POST operation in the BATCH mode exactly with the same type of PAYLOAD what you have shared here and we are correctly getting response.
1st operation was successful and we have got content with 201 Created Status Code.
2nd operation failed and got 400 bad request with some error.
3rd operation was successful and we have got the content with 201 Created Status Code.
I am unable to replicate your problem in my case. Everything is working fine for me.
Your problem is strange.
Regards,
Ashwin

Similar Messages

  • No request generated for batch status active/ inactive settings

    Dear Experts ,
    When is make the status "active " for batch in IMG , Logistics general , Batch management , Specify Batch Level and Activate Status Management,Define Batch Status management  , THE SYSTEM DOESNT ASK FOR A REQUEST .
    Plsease tell em if it is ok for the system to NOT TO ASK FOR A CHANGE REQUEST ?
    IF yes , please let me know if we need to directly  make the above settings in the [production server ???????
    Regards
    Anis

    any response ?

  • Problem submitting batch request for sales order creation

    Hello experts,
    I have created a gateway service, implementing the CREATE_DEEP_ENTITY for order creation. I have tested my service with the Chrome Advanced Rest Client and it works fine with the following XML request:
    <?xml version="1.0" encoding="UTF-8"?>
    <atom:entry xmlns:atom="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata">
      <atom:content type="application/xml">
      <m:properties>
      <d:OrderId>0</d:OrderId>
      <d:DocumentType>TA</d:DocumentType>
      <d:CustomerId>C6603</d:CustomerId>
      <d:SalesOrg>S010</d:SalesOrg>
      <d:DistChannel>01</d:DistChannel>
      <d:Division>01</d:Division>
      <d:DocumentDate m:null="true" />
      <d:OrderValue m:null="true" />
      <d:Currency m:null="true" />
      </m:properties>
      </atom:content>
      <atom:link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/SOItems" type="application/atom+xml;type=feed" title="SALESORDERTSCH.SOHeader_SOItems">
      <m:inline>
      <atom:feed>
      <atom:entry>
      <atom:content type="application/xml">
      <m:properties>
      <d:OrderId>0</d:OrderId>
      <d:Item>000010</d:Item>
      <d:Material>C20013</d:Material>
      <d:Plant m:null="true" />
      <d:Quantity m:Type="Edm.Decimal">100.000</d:Quantity>
      <d:Description m:null="true" />
      <d:UoM m:null="true" />
      <d:Value m:null="true" />
      </m:properties>
      </atom:content>
      </atom:entry>
      <atom:entry>
      <atom:content type="application/xml">
      <m:properties>
      <d:OrderId>0</d:OrderId>
      <d:Item>000020</d:Item>
      <d:Material>C20014</d:Material>
      <d:Plant m:null="true" />
      <d:Quantity m:Type="Edm.Decimal">200.000</d:Quantity>
      <d:Description m:null="true" />
      <d:UoM m:null="true" />
      <d:Value m:null="true" />
      </m:properties>
      </atom:content>
      </atom:entry>
      </atom:feed>
      </m:inline>
      </atom:link>
    </atom:entry>
    Now that my service is working, I want to be able to call it from a SAP UI5/Javascript application. In order to process multiple items for one order header, I use the OData batch request. Here is my Javascript method that is being processed:
    executeOrderCreation : function() {
      // Retrieve model from controller
      var oModel = sap.ui.getCore().getModel();
      oModel.setHeaders(
      { "Access-Control-Allow-Origin" : "*",
      "Content-Type": "application/x-www-form-urlencoded",
      "X-CSRF-Token":"Fetch" }
      // Define data to be created
      var headerData = {
      OrderId : "0",
      DocumentType: "TA",
      CustomerId : "C6603",
      SalesOrg : "S010",
      DistChannel : "01",
      Division : "01",
      DocumentDate : null,
      OrderValue : null,
      Currency : null,
      varItemData1 = {
      OrderId : "0",
      Item : "000010",
      Material : "C20013",
      Plant : null,
      Quantity : "100.000",
      Description :null,
      UoM :null,
      Value :null,
      varItemData2 = {
      OrderId : "0",
      Item : "000020",
      Material : "C20014",
      Plant : null,
      Quantity : "100.000",
      Description :null,
      UoM :null,
      Value :null,
      var batchChanges = [];
      oModel.refreshSecurityToken(function(oData, oResponse){
      alert("Refresh token OK");
      }, function() {
      alert("Refresh token failed");
      }, false);
      oModel.read('/SOHeaders/?$Batch', null, null, false, function(oData, oResponse) {
      // Create batch data
      batchChanges.push(oModel.createBatchOperation("SOHeaders", "POST",headerData ));
      batchChanges.push(oModel.createBatchOperation("SOHeaders", "POST",varItemData1 ));
      batchChanges.push(oModel.createBatchOperation("SOHeaders", "POST",varItemData2 ));
      oModel.addBatchChangeOperations(batchChanges);
      // Submit changes and refresh the model
      oModel.submitBatch(
      function(oData) {
      oModel.refresh();
      function(oError) {
      var error = oError;
      alert("Read failed" + error);
      false);
      }, function() {
      alert("Read failed");
    The result is when I submit the batch, I have an error saying: The following problem occurred: no handler for data -
    Am I doing right in the batchChanges creation ? (Header then items)
    Why am I facing this error ?
    Any help would be greatly appreciated.
    Thanks and regards,
    Thibault

    Hi,
    you should also have '/' before collection name so that it will be /SOHeader and as below.
      batchChanges.push(oModel.createBatchOperation("/SOHeaders", "POST",headerData ));          batchChanges.push(oModel.createBatchOperation("/SOHeaders", "POST",varItemData1 )); 
      batchChanges.push(oModel.createBatchOperation("/SOHeaders", "POST",varItemData2 ))
    Regards,
    Chandra

  • Table for batch determination date

    hi,
    im printing the Dispensing slip...they want the output based on the batch determination date..
    can any one tel me in which table i willl get batch determination date?
    Regards
    Smitha

    Are you using a separate batch selection class versus the batch class?
    There are characteristics that must be in the selection class, but cannot be in the batch class.
    See OSS note 33396.
    1.  If you want to search for batches on the basis of a remaining shelf
             life in batch determination, the system has to calculate a requested
             shelf life expiration date dynamically from the information you
             give.
         2.  Add characteristic LOBM_VFDAT to the batch classes.
             For the revaluation of reference characteristics, refer to Note
             78235.
             Characteristics LOBM_RLZ and LOBM_LFDAT must not be included in the
             batch classes!
         3.  Add characteristics LOBM_VFDAT, LOBM_LFDAT, and LOBM_RLZ to the
             selection classes.
             Maintain a remaining shelf life in the strategy records for batch
             determination. Relational operators (> , < , <= , >=) are considered
             in the dynamic calculation of the shelf life expiration date in
             batch determination.
    From your note you have placed LOBM_RLZ  and LOBM_LFDAT in your batch class.  You cannot do that.
    FF

  • EWS - Office 365 - "One or more subscriptions in the request reside on another Client Access server. GetStreamingEvents won't proxy in the event of a batch request."

    Hello
    My goal is to subscribe for streaming notifications for multiple users in the same time.
    One way to do that is to create multiple  StreamingSubscriptionConnections each one should contain one  StreamingSubscription for each user. The problem with this method is that in Office 365 the maximum
    number of connections opened is 20.
    Another method to solve this problem is by creating one StreamingSubscriptionConnection and then all StreamingSubscriptions for each user to the connection. This method solves the maximum number of connections
    problem and it works fine with exchange onPrimises. But when trying it with Office 365 it will result with the SubscriptionError:
    "One or more subscriptions in the request reside on another Client Access server. GetStreamingEvents won't proxy in the event of a batch request."
    Can anyone help me here ? 

    With Office365 you need to Group your subscriptions and set the Affinityheaders see
    http://msdn.microsoft.com/en-us/library/office/dn458789(v=exchg.150).aspx and
    http://blogs.msdn.com/b/mstehle/archive/2013/07/17/more-affinity-considerations-for-exchange-online-and-exchange-2013.aspx . Take note of the restrictions on the Group and other throttling restrictions if your using only one service account.
    Cheers
    Glen

  • 'Create Settlement Batches' Request and Output file name

    Hello,
    Is there a table/view which keeps 'Create Settlement Batches' request id and name of the output file of that request ?
    Output file is created in 4456_1.out format. I can see this file name in IBY.IBY_BATCHES_ALL table BATCHID column and
    IBY.IBY_TRXN_SUMMARIES_ALL table BATCHID column. Non of the tables do not contain the concurrent request id.
    How can we find out from tables/views the name of the output file, if you know the request id ?
    Thank You,
    sruwan

    Hi Hussein,
    I already looked at FND_CONCURRENT_REQUESTS. It doesn't contain the output batch file name. It has a column called 'OUTFILE_NAME' and it points to
    a file called concurrent_request_id.out file ( Eg: 123456789.out ). This file is blank when you run 'Create Settlement Batches' request.
    'Create Settlement Batches' request also crates an output batch file in the format 1234_1.out. Problem is finding a pace linking that file name to concurrent request id.
    Thanks for your reply,
    sruwan

  • Web API OData authentication and batch requests

    Hello,
    We have and OWIN middleware integrated into our web application pipeline which serves the purposes of authentication of OData requests by JWT token. On successful authentication we set the Thread and HttpContext principal to custom Principal object of ours.
    The problem arises when performing OData batch requests. The sub-requests of batch are executed in separate threads and with no HttpContext associated with it so we loose the authenticate principal in those requests. I guess this is due to the way OData batch
    requests are executed but our server logic strongly depends on custom Principal. The way we currently work around this is by using a custom ActionFilterAttribute that we apply to ODataControllers:
    public class LoginAttribute : ActionFilterAttribute
    public override void OnActionExecuting(HttpActionContext actionContext)
    if (HttpContext.Current != null && HttpContext.Current.User as CustomPrincipal != null)
    return;
    // TEMPORARY (need more robust solution): pushing batch request principal to a sub-request thread
    if (actionContext.Request.IsBatchRequest() && actionContext.RequestContext.Principal is CustomPrincipal)
    Thread.CurrentPrincipal = actionContext.RequestContext.Principal;
    return;
    This works fine. But we are not sure this is the right way to handle it. Does anybody know what is the recommended solution for the problem described?

    Hi Dmitry Marcautsan,
    According to your description, the issue is related to the ASP.NET Web API, I'd suggest you post
    here to get better support. 
    Thanks for your understanding.
    Best Regards,
    Amy Peng
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Incompletness procedure for Opportunity at the item level

    Hello All,
    Have you already worked on the Incompletness procedure for Opportunity at the item level ?
    I have the following request : product must be entered in the opportunity otherwise a message of error must appear
    I have used the following data in Incompletness procedure (which is assigned to the transaction)
    - Object name = ORDERADM_I
    - Field name = ORDERED_PROD
    - Relevance = Header and Item
    The result of this is : when I enter the product in the opportunity, the message of error saying that "Transaction is incomplete: Enter Product" doesn't disappear, whereas the product and quantity are in
    I have done another test, if I enter for Relevance = "Item" intstead of "Header and Item", the message of error doesn't appear at all in the transaction. So I can save the opportunity without getting a message...
    Any thoughts ?
    Thank you for your help

    Can you validate if the customizing setting for screen sequence control exists.
    Use transaction CRMV_SSC.
    you should have a corresponding entry that matches your incompletion log entry.

  • Failed to retrieve data for this request.

    Failed to retrieve data for this request. (Microsoft.SqlServer.Management.Sdk.Sfc) \CREATE FILE encountered operating system error 5(Access is denied.) while attempting to open or create the physical file 'D:\SAP\MDF_LDF\BatchMasterLicenseManager.mdf'.
    (MTITLE: Microsoft SQL Server Management Studio
    Failed to retrieve data for this request. (Microsoft.SqlServer.Management.Sdk.Sfc) 
    For help, click:
    http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&LinkId=20476 
    ADDITIONAL INFORMATION: 
    An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo)
    CREATE FILE encountered operating system error 5(Access is denied.) while attempting to open or create the physical file 'D:\SAP\MDF_LDF\BatchMasterLicenseManager.mdf'. (Microsoft SQL Server, Error: 5123)
     For help, click:
    http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=10.50.1600&EvtSrc=MSSQLServer&EvtID=5123&LinkId=20476
    BUTTONS:
    OK

    Yes, that is the solution now for attaching a database.
    For every expert, there is an equal and opposite expert. - Becker's Law
    My blog
    My TechNet articles

  • DMVPN and %DMVPN-3-DMVPN_NHRP_ERROR: Tunnel0: NHRP Encap Error for Resolution Request , Reason: protocol generic error (7) Error

      %DMVPN-3-DMVPN_NHRP_ERROR:  Tunnel0: NHRP Encap Error for  Resolution Request , Reason:  protocol generic error (7)
    I had pre-allocated tunnel ip's to remote spokes , some of them were implemented and put into production. Some of them got the config but the tunnel interfaces were left at shut.
    Its because of this reason that the DMVPN HUB keeps getting nhrp request from one of the inactive spokes.  Following is the sh ip nhrp extract :-
    10.x.x22/32
       Tunnel0 created 00:02:58, expire 00:00:06
       Type: incomplete, Flags: negative
       Cache hits: 7
    I just cant seem to find the spoke WAN ip to identify it. I tried debugs but just cant get it.
    From HUB:-
    Nov 30 10:36:31: %DMVPN-3-DMVPN_NHRP_ERROR:  Tunnel0: NHRP Encap Error for  Resolution Request , Reason:  protocol generic error (7) on (Tunnel: 10.x.x.1 NBMA: 20.x.x.x)
    Nov 30 10:36:32: NHRP: Send Resolution Request via Tunnel0 vrf 0, packet size: 86
    Nov 30 10:36:32:  (F) afn: IPv4(1), type: IP(800), hop: 255, ver: 1
    Nov 30 10:36:32:      shtl: 4(NSAP), sstl: 0(NSAP)
    Nov 30 10:36:32:      pktsz: 86 extoff: 52
    Nov 30 10:36:32:  (M) flags: "router auth src-stable nat ", reqid: 46113
    Nov 30 10:36:32:      src NBMA: 20.x.x.x.
    Nov 30 10:36:32:      src protocol: 10.x.x.1, dst protocol: 10.x.x.22
    Nov 30 10:36:32:  (C-1) code: no error(0)
    Nov 30 10:36:32:        prefix: 32, mtu: 17912, hd_time: 360
    Nov 30 10:36:32:        addr_len: 0(NSAP), subaddr_len: 0(NSAP), proto_len: 0, pref: 0 Nov 30 10:36:31: %DMVPN-3-DMVPN_NHRP_ERROR:  Tunnel0: NHRP Encap Error for  Resolution Request , Reason:  protocol generic error (7) on (Tunnel: 10.x.x.1 NBMA: 20.x.x.x)
    So my question is , How do i find out the spoke wan ip , so i can do something about it.  For now, its just filling up my logs on HUb router...not good ;-))

    Hello Marcin,
    If tunnel interface is shut no  NHRP activity should be going, on top, in debugs you point the hub is  sending resolution request, not receiving it.
    Agree, I expected the same, but unfortunately this is not the case. Spoke does sent out NHRP requests even with Tunnel status as admin shut.
    If your hub does not have NHS, it will not know where to send it's resolution request.
    I am still on DMVPN Phase 1, so Spokes dont talk to other spokes yet.
    Are  you positive that there is nothing that is sending packets towards  10.x.x.22 on hub side (sniffer trace of classyfing ACL on "LAN")?
    Other then a spoke, it cant be anthing, as the subnet is dedicted for tunnel interface's.
    If  you know it's not a misconfig and there is no traffic on hub side  initiated to 10.x.x.22, try removing and adding full tunnel  configuration. i.e. we want to make sure that crypto socket gets closed  and restrated.
    I can do this over weekend, but i am sure this is not going to fix the problem, reason being, that the HUB was setup before anything else and then we started migrating spokes from primary legacy gre tunnels to dmvpn tunnel as primary and legacy as a backup.
    Guess, I am still looking for the answer...Is there a WAN acl that i can use to filter the successfully migrated spokes and log the deny message as in to know what remote wan ip carries along the tunnel ip of .22 or any other debug ??

  • Batch request compression

    Dear Gateway Community,
    I was wondering if it is possible to have the response of a Gateway batch request (READ only) using the gzip compression.
    Indeed, I've noticed that after I had grouped my requests into a batch (just like best practices guides recommend), the payload went from 838Kb to 7.1 Mb because the response was not using any content-encoding.
    I'm using the Data.js library used by SAP themselves and tried adding the Accept-encoding header parameter without succes.
    var request = {
        headers : {
           "Accept-Encoding": "gzip, deflate"
        requestUri : '/sap/opu/odata/sap/ZGW_SERVICE/flightCollection',
        method : "GET"
      var batchRequests = [request];
      OData.request({
        headers : {
          "Accept" : "application/json",
          "X-CSRF-Token" : token,
                    "Accept-Encoding": "gzip, deflate"
        requestUri : '/sap/opu/odata/sap/ZGW_SERVICE/$batch',
        method : "POST",
        data : {
          __batchRequests : batchRequests
      }, function () {
        console.log('success');
        debugger;
      }, function () {
        console.log('failure');
      }, OData.batchHandler);
    Maybe that's got something to do with the fact that the response content type with batch requests is multipart/mixed.
    Thanks in advance for any help on this matter,
    Cheers,
    Paul

    Hello Ron,
    Thanks for your answer.
    Single GET request (non batch) are triggered with the "Accept-encoding" HTTP header parameter set to "gzip" which indicates the server that, if supported by the server, the response payload should be compressed.
    The entity collection has 20 000 entries. The JSON format reduces the payload but not significantly enough to make it much faster.
    Best regards,
    Paul

  • Error in Pre- Export methods for a request

    Hi All,
    I am getting an error while releasing a request, its giving
    "Error in Pre- Export methods for a request DM0k.....". Could you please tell me why and how can I rectify that?
    Thanks.
    NA

    Please go through as per the link
    [SAP Transport Request |http://www.sap-basis-abap.com/sapbs008.htm]
    thanks
    G. Lakshmipathi

  • Can't view output for concurrent request

    I apologize if this is a common error - I tried to research this in the forums but didn't find anything that I haven't already tried. I checked the OPP - it is running with 3 processes - no error in the log that I can see. I checked the profile for the OPP timeout and have increased it....
    I have registered the data definition, registered and associated a template - created the concurrent program but when I try to run it completes with a warning and can't view output. The log states:
    XDO Data Engine Version No: 5.6.3
    Resp: 20420
    Org ID : 81
    Request ID: 2322744
    All Parameters: PO=5026930
    Data Template Code: GISDOSXML
    Data Template Application Short Name: XXGISD
    Debug Flag: N
    {PO=5026930}
    Calling XDO Data Engine...
    Start of log messages from FND_FILE
    End of log messages from FND_FILE
    Executing request completion options...
    ------------- 1) PUBLISH -------------
    Unable to find an Output Post Processor service to post-process request 2322744.
    Check that the Output Post Processor service is running.
    ------------- 2) PRINT   -------------
    Not printing the output of this request because post-processing failed.
    --------------------------------------

    also - I found a note on using the XML Republish Report and I tried it with the report I ran and it erred completely. Here is the log for the republish:
    Oracle XML Publisher 5.6.3
    Updating request description
    Waiting for XML request
    Retrieving XML request information
    Preparing parameters
    Process template
    --XDOException
    java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at oracle.apps.xdo.common.xml.XSLT10gR1.invokeParse(XSLT10gR1.java:517)
         at oracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:224)
         at oracle.apps.xdo.common.xml.XSLTWrapper.transform(XSLTWrapper.java:177)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:1044)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:997)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:212)
         at oracle.apps.xdo.template.FOProcessor.createFO(FOProcessor.java:1657)
         at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:967)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.runProcessTemplate(TemplateHelper.java:5888)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3438)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3527)
         at oracle.apps.xdo.oa.cp.JCP4XMLPublisher.runProgram(JCP4XMLPublisher.java:683)
         at oracle.apps.fnd.cp.request.Run.main(Run.java:161)
    Caused by: oracle.xdo.parser.v2.XMLParseException: '=' missing in attribute.
         at oracle.xdo.parser.v2.XMLError.flushErrors1(XMLError.java:324)
         at oracle.xdo.parser.v2.NonValidatingParser.parseAttrValue(NonValidatingParser.java:1556)
         at oracle.xdo.parser.v2.NonValidatingParser.parseAttr(NonValidatingParser.java:1461)
         at oracle.xdo.parser.v2.NonValidatingParser.parseAttributes(NonValidatingParser.java:1394)
         at oracle.xdo.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1225)
         at oracle.xdo.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:314)
         at oracle.xdo.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:281)
         at oracle.xdo.parser.v2.XMLParser.parse(XMLParser.java:266)
         ... 17 more

  • Unable to install SQL Server Express 2008 R2 - Errors "Failed to retrieve data for this request"

    As domain admin I am attempting to install "SQL Server 2008 R2 with SP2" but it keeps failing with "Failed to retrieve data for this request".
    The installation never actually starts, it errors before then.
    It displays the same error even if I run the System Configuration Checker.
    The summary.txt for the install displays the following text:
    Overall summary:
      Final result:                  Failed: see details below
      Exit code (Decimal):           -1554760125
      Exit facility code:            852
      Exit error code:               15939
      Exit message:                  Failed to retrieve data for this request.
      Start time:                    2014-08-15 16:49:52
      End time:                      2014-08-15 16:50:06
      Requested action:              RunRules
    Machine Properties:
      Machine name:                  servername
      Machine processor count:       8
      OS version:                    Windows Server 2008 R2
      OS service pack:               Service Pack 1
      OS region:                     United States
      OS language:                   English (United States)
      OS architecture:               x64
      Process architecture:          64 Bit
      OS clustered:                  Yes
    Product features discovered:
      Product              Instance             Instance ID                   
    Feature                                  Language            
    Edition              Version         Clustered
    Package properties:
      Description:                   SQL Server Database Services 2008 R2
      ProductName:                   SQL Server 2008 R2
      Type:                          RTM
      Version:                       10
      SPLevel:                       1
      Installation location:         c:\84122ef5b6d9cdcd3b2ac48cec\x64\setup\
      Installation edition:          EXPRESS
    User Input Settings:
      ACTION:                        RunRules
      CONFIGURATIONFILE:             
      ENU:                           True
      FARMACCOUNT:                   <empty>
      FARMADMINPORT:                 0
      FARMPASSWORD:                  *****
      FEATURES:                      
      HELP:                          False
      INDICATEPROGRESS:              False
      INSTANCENAME:                  <empty>
      PASSPHRASE:                    *****
      QUIET:                         False
      QUIETSIMPLE:                   False
      RULES:                         GLOBALRULES,SqlUnsupportedProductBlocker,PerfMonCounterNotCorruptedCheck,Bids2008InstalledCheck,BlockInstallSxS,AclPermissionsFacet,FacetDomainControllerCheck,SSMS_IsInternetConnected,FacetWOW64PlatformCheck,FacetPowerShellCheck
      UIMODE:                        AutoAdvance
      X86:                           False
      Configuration file:            C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20140815_164944\ConfigurationFile.ini
    Detailed results:
    Rules with failures:
    Global rules:
    There are no scenario-specific rules.
    Rules report file:               The rule result report file is not available.
    Exception summary:
    The following is an exception stack listing the exceptions in outermost to innermost order
    Inner exceptions are being indented
    Exception type: Microsoft.SqlServer.Management.Sdk.Sfc.EnumeratorException
        Message:
            Failed to retrieve data for this request.
        Data:
          HelpLink.ProdName = Microsoft SQL Server
          HelpLink.BaseHelpUrl = http://go.microsoft.com/fwlink
          HelpLink.LinkId = 20476
          DisableWatson = true
        Stack:
            at Microsoft.SqlServer.Management.Sdk.Sfc.Enumerator.Process(Object connectionInfo, Request request)
            at Microsoft.SqlServer.Chainer.Infrastructure.SqlDiscoveryDatastoreInterface.ProcessDTbl(DataTable dt, Int32 level)
            at Microsoft.SqlServer.Chainer.Infrastructure.SqlDiscoveryDatastoreInterface.CollectSqlDiscoveryData(String machineName)
            at Microsoft.SqlServer.Chainer.Infrastructure.SqlDiscoveryDatastoreInterface.LoadData(IEnumerable`1 machineNames, String discoveryDocRootPath, String clusterDiscoveryDocRootPath)
            at Microsoft.SqlServer.Configuration.SetupExtension.RunDiscoveryAction.ExecuteAction(String actionId)
            at Microsoft.SqlServer.Chainer.Infrastructure.Action.Execute(String actionId, TextWriter errorStream)
            at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.ExecuteActionHelper(TextWriter statusStream, ISequencedAction actionToRun)
        Inner exception type: Microsoft.SqlServer.Configuration.Sco.SqlRegistryException
            Message:
                    The network path was not found.
            Data:
              WatsonData = [email protected]rror
            Stack:
                    at Microsoft.SqlServer.Configuration.Sco.SqlRegistry.CreateBaseKey(ServiceContainer ctx, String machineName, IntPtr hKey, String keyName, RegistryAccess access, RegistryView
    view)
                    at Microsoft.SqlServer.Configuration.Sco.SqlRegistry.GetLocalMachine(ServiceContainer ctx, String machineName, RegistryAccess access, RegistryView view)
                    at Microsoft.SqlServer.Discovery.DiscoveryEnumObject.GetSql2kMsiInstanceListInHive(String machineName, RegistryView regView)
                    at Microsoft.SqlServer.Discovery.DiscoveryEnumObject.LoadSql2kInstanceList(String machineName)
                    at Microsoft.SqlServer.Discovery.Product.GetData(EnumResult erParent)
                    at Microsoft.SqlServer.Management.Sdk.Sfc.Environment.GetData()
                    at Microsoft.SqlServer.Management.Sdk.Sfc.Enumerator.GetData(Object connectionInfo, Request request)
                    at Microsoft.SqlServer.Management.Sdk.Sfc.Enumerator.Process(Object connectionInfo, Request request)

        Inner exception type: Microsoft.SqlServer.Configuration.Sco.SqlRegistryException
            Message:
                    The network path was not found.
            Data:
              WatsonData = [email protected]rror
    Above message says that your registry is not consistent and some of the parameters are missing from registry.Or
    Account installing SQL server does not have permission to access this. I think case can be here that account with which you logged into your system to install SQL Server might not have certain privileges. Can you take help
    of domain admin account add it as a local administrator in this machine always right click on setup file and select run as administrator. Before this make sure you  remove all SQL Server components from add remove program
    I strongly recommend you to have a good look at below thread
    http://support.microsoft.com/kb/2000257/en-us
    Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it.
    My TechNet Wiki Articles

  • Report for Batch and classification

    Dear Experts,
    Is there any way for getting the report for Batch, Classification etc. In standard SAP.
    Regards,
    Rohit.

    Dear Sir,
    It is giving the batch wise details.
    Is there any method to get a complete report containing batches, classification, material and other details.
    Regards,
    Rohit.

Maybe you are looking for