Invalid character in data element-Biztalk 2013

I am using Biztalk 2013, i want to process a file received from partner EDI To XML(843). I received following file as below:-
REF~QU~N //I received QU value in received file for REF01 and this value is mentioned in collection for REF01, still biztalk is generating following error
Note:-I even change the Base data type to xs:string from X12_AN
Error: 1 (Field level error)
    SegmentID: REF
    Position in TS: 5
    Data Element ID: REF01
    Position in Segment: 1
    Data Value:
    6: Invalid character in data element
Secondly almost same error is is N1 loop
N1~S8~PUBLIC SERV N C~29~42222//i received this value in N102
Note:-I even change the Base data type to xs:string
Error: 3 (Field level error)
    SegmentID: N1
    Position in TS: 22
    Data Element ID: N102
    Position in Segment: 2
    Data Value:
    6:Invalid character in data element
Help me to solve this issue.it's urgent
Thanks in advance

Hi Gag,
1.Create a new custom receive pipeline
2.Add the XmlDisassembler to the pipeline and configure it to your need.
3.Add the FixEncodingComponent to the pipeline in the Decode stage, so that it is run before the XmlDisassembler.
4.Set the Encoding parameter of the component in the Property Explorer to the encoding you want to use. To make this easier, the component implements a custom
 UITypeEditor that pops up a list of all the encodings supported by the .NET framework:
For encoding Component you can visit
http://winterdom.com/2006/01/fixmessageencodingcustompipelinecomponentsample
Thanks
Abhishek

Similar Messages

  • BiizTalk 2013 and EDI Message Invalid character in data element

    Hi:
    Background: I have a Vendor sending us EDI
    856 (Advance Shipping Notice). We are using EDI X12 and BizTalk 2013. In the Parties Agreement we use ISA11 = U-US EDI Community of ASC X12. The vendor is sending 'U' in ISA11.
    Error:
    At the beginning of EDI Schema import, during EDI audit, we get the following error messages, repeated a few time.
    Error: 1 (Field level error)
                SegmentID: LIN
                Position in TS: 18
                Data Element ID: LIN09
                Position in Segment: 9
                Data Value:
                6:
    Invalid character in data element
    Error: 2 (Field level error)
                SegmentID: PID
                Position in TS: 20
                Data Element ID: PID05
                Position in Segment: 5
                Data Value:
                6:
    Invalid character in data element
    Root Cause: In all the error cases the data
    fields contain “Ü” (U with two dots above it). German character.
    Question: What is the best way to deal with
    the issue or replace “Ü” (U with two dots above it) characters?
    Looking forward to your reply.
    Regards, Toraj
    Toraj [email protected]

    I edited the source file and saved it as UTF-8. It seems, it resolved the issue.
    Very cool.
    Toraj
    Toraj [email protected]
    Glad that you have solved this issue by yourself, and thanks for sharing your solution to us.
    Best regards,
    Angie
    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.

  • Invalid character in data element

    I'm pretty new to BizTalk and need help with this suspended instance. We're getting 875 PO from the customer via EDI BizTalk 2009 X12.
    Here is EDI:
    N1*BT*SOUTHEAST COMPANY*9*6666666660000
    N3*3261 STREET WAY
    N4*CITY*TX*ZIP
    N1*ST*ORANGES OF STATE*9*6777777770100
    N3*18000 N.E. 6th Ave.
    N4*CITY*TX*ZIP
    G68*10*CA*12.21*007333333333*PI*385
    G69*TASTY CREAM
    The errors:
    Error: 1 (Field level error)
              SegmentID: N1
              Position in TS: 6
              Data Element ID: N102
              Position in Segment: 2
              Data Value:
              6: Invalid character in data element
    Error: 2 (Field level error)
              SegmentID: N3
              Position in TS: 7
              Data Element ID: N301
              Position in Segment: 1
              Data Value:
              6: Invalid character in data element
    Error: 3 (Field level error)
              SegmentID: G69
              Position in TS: 13
              Data Element ID: G6901
              Position in Segment: 1
              Data Value:
              6: Invalid characte
    As you can see I have 2 segments of N1 with bill-to and ship-to addresses. I don't see anything suspicious in any of  N1 or N3 or G69.
    I would really appreciate help!!
    akolons

    In your Agreement, is "Character set to be used" set to "Basic", "Extended" or "UTF8/Unicode"?
    Basic only allows capitalized letters fra A-Z.
    However, since you are also getting errors in your N1 segment, I'm not sure this is the case. I have a feeling that the problem has to do with spaces in your strings, can you try the following:
    - Remove all spaces from any of the texts in your document (example: SOUTHEAST COMPANY -> SOUTHEASTCOMPANY).
    - If the first step eliminates the error, make sure that your spaces has hex-value 20 (decimal 32) and that no spaces has been chosen in your Agreement for any of the characters in "Character set and separators".
    Morten la Cour

  • SQL Developer 2.1.1 ORA-00911: invalid character in Data Grid

    Hi,
    When I try to view data in Data Grid from table that has column name in format underscoreNAMEunderscore I get ORA-00911: invalid character.
    As far as I can tell the problem is same with all 2.x versions. Version 1.5.5 works OK.
    Is there a way around the problem?
    Thank you for your help.
    Silvio

    I see no answers :-(
    Is there a chance this gets listed as a bug and fixed?
    Thank you

  • Error: Data element for InfoObject AUFNR 0PM_ORDER could not be created(QA)

    Hi Experts,
    I am trying to Transport a request from DEV to QA,which consists Transaction Infosources,  afetr the inport the TR is failed with return code 8. and the error message in the log is as follows.....
    Error when determining a number from object BI_TSDTEL and number 01  
    Object name can only contain characters from syntactical character set
    Data element for InfoObject AUFNR 0PM_ORDER could not be created
    Data element for InfoObject KOKRS 0CO_AREA could not be created
    Data element for InfoObject KOKRS 0CO_AREA could not be created
    Errors occurred during post-handling RS_AFTER_IMPORT for ISCS L
    Data element for InfoObject TXTMD could not be created
    Errors occurred during post-handling RS_AFTER_IMPORT for IOBJ L
    please Could anyone give the Inputs to solve this , I'll be greatful to you.
    Thanks & regards
    SK

    hello AJ,
    Till now the problem is not solved , Please provide some inputs.
    here I'm getting this problem for TXTMD, 0CO_AREA, 0PM_ORDER, 0DATE, 0PLANT, 0ORDER_CURR, 0LOC_CURRCY
    Error when determining a number from object BI_TSDTEL and number 01
    Object name can only contain characters from syntactical character set
    Object name can only contain characters from syntactical character set
    Data element for InfoObject KOKRS 0CO_AREA could not be created
    Data element for InfoObject KOKRS 0CO_AREA could not be created
    Transfer structure 0CO_OM_NTW_1_SB activated under the name 0CO_OM_NTW_1_SA
    It is not necessary to copy dependent objects for transfer structure 0CO_OM_NTW_1_SA
    Data element for InfoObject KOKRS 0CO_AREA could not be created
    Activating Transfer Rules 0CO_OM_NTW_1_SA ...
    23 Transfer Rule(s) of the transfer structure 0CO_OM_NTW_1_SA removed from control table
    23 InfoObject(s) of the transfer structure 0CO_OM_NTW_1_SA removed from control table
    Formulas have been saved
    PLEASE PROVIDE SOME INPUTS.........
    Message was edited by:
            S K

  • Element is not declared error both in BizTalk 2013 and AX 2012 R2

    Hi:
    We continue getting “element is not declared” in BizTalk and AX.
    Appreciate any help and hints.
    Regards, Toraj
    Background:
    We have BizTalk 2013 and AX2012 R2.
    From BizTalk Suspended Job
    System.ServiceModel.FaultException: <s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:a="http://www.w3.org/2005/08/addressing"><s:Header><a:Action
    s:mustUnderstand="1">http://schemas.microsoft.com/dynamics/2008/01/services/PurchaseInvoiceService/createAifFaultFault</a:Action><a:RelatesTo>urn:uuid:ddd18935-18a7-415d-bbbf-38e4b9a08bf7</a:RelatesTo><a:To s:mustUnderstand="1">http://www.w3.org/2005/08/addressing/anonymous</a:To></s:Header><s:Body><s:Fault><s:Code><s:Value>s:Sender</s:Value></s:Code><s:Reason>
    <s:Text xml:lang="en-US">Invalid document schema. The following error was returned: 
    The 'http://schemas.microsoft.com/dynamics/2008/01/documents/PurchaseInvoice:LedgerJournalTable' element is not declared.</s:Text>
    </s:Reason><s:Detail><AifFault xmlns="http://schemas.microsoft.com/dynamics/2008/01/documents/Fault"
    xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><CustomDetailXml i:nil="true"></CustomDetailXml><FaultMessageListArray i:nil="true"></FaultMessageListArray><InfologMessageList
    From AX Exception Log
    The 'http://schemas.microsoft.com/dynamics/2008/01/documents/PurchaseInvoice:LedgerJournalTable' element is not declared.
    The BizTalk WCF-NetTcp > Configuration > Action as follows. Which matches the published WSDL
    <BtsActionMapping xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <Operation Name="create" Action="http://schemas.microsoft.com/dynamics/2008/01/services/PurchaseInvoiceService/create" />
    </BtsActionMapping>
    The following is the XML from BizTalk to AX. I deleted some of the data to shorten the xml.
    <ns1:PurchaseInvoice xmlns:ns1="http://schemas.microsoft.com/dynamics/2008/01/documents/PurchaseInvoice" xmlns:ns0="http://schemas.microsoft.com/dynamics/2008/01/sharedtypes">
    <ns1:LedgerJournalTable action="create">
    <ns1:_DocumentHash>45f5770e-0ee5-496c-a290-176a16e78b7c</ns1:_DocumentHash>
    <ns1:Approver>0</ns1:Approver>
    <ns1:BankAccountId>0</ns1:BankAccountId>
    <ns1:BankRemittanceType>None</ns1:BankRemittanceType>
    <ns1:CurrencyCode>USD</ns1:CurrencyCode>
    <ns1:CurrentOperationsTax>Current</ns1:CurrentOperationsTax>
    <ns1:CustVendNegInstProtestProcess>OpenPaym</ns1:CustVendNegInstProtestProcess>
    <ns1:DefaultDimension>
    <ns0:Values><ns0:Value>
    <ns0:Name></ns0:Name>
    <ns0:Value>0</ns0:Value>
    </ns0:Value></ns0:Values>
    </ns1:DefaultDimension>
    <ns1:DetailSummaryPosting>Detail</ns1:DetailSummaryPosting>
    <ns1:DocumentNum>P049368</ns1:DocumentNum>
    <ns1:EndBalance>0.00</ns1:EndBalance>
    <ns1:ExchRate>0.00</ns1:ExchRate>
    <ns1:ExchrateSecondary>0.00</ns1:ExchrateSecondary>
    <ns1:FixedExchRate>Yes</ns1:FixedExchRate>
    <ns1:FixedOffsetAccount>Yes</ns1:FixedOffsetAccount>
    <ns1:GroupBlockId>
    </ns1:GroupBlockId>
    <ns1:InUseBy></ns1:InUseBy>
    <ns1:JournalBalance>1573.91</ns1:JournalBalance>
    <ns1:JournalName>APINV</ns1:JournalName><ns1:JournalTotalDebit>1573.91</ns1:JournalTotalDebit>
    <ns1:LedgerJournalTrans>
    <ns1:CurrencyCode>... LedgerJournalTrans Deleted for Simplicitsy </ns1:CurrencyCode>
    </ns1:LedgerJournalTrans>
    <ns1:DocuRefTable />
    <ns1:LedgerJournalTable_W />
    </ns1:LedgerJournalTable>
    </ns1:PurchaseInvoice>
    Toraj [email protected]

    Hi:
    After working on this off and on for a few weeks,
    I just posted the following Technical Blog / article for solution. Happy reading.
    BizTalk 2013 and AX2012 R2 Receive Services Interface -
    http://torajkhavari.blogspot.com/2015/01/title-biztalk2013-and-ax2012-r2-receive.html
    Regards,Toraj
    Toraj [email protected]

  • Invalid character error while activating data in DSO.

    Hi Experts,
    We are facing an issue with presence of invalid characters in data from source. This throws SID generation error while activating data in DSO. Long text of error shows like this:
    "Value " ĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ" (HEX 000D0120012001200120012001200120012001200120012001) of characteristic  contains an error at position 1"
    Also we've tried adding the character " Ġ " in TCode RSKC, but it then shows as a rectangle box which I'm not able to copy manually(looks like a blank space or something of that sort).
    We've tried implementing routine to remove special characters while loading data, but still it fails. Due to huge amounts of data, its practically unfeasible to check each record manually.
    Any useful suggestions will be acknowledged.
    regards,
    anoop

    Hi,
      We are using following code for the same purpose. U can use it at infoobject level mapping. This code will check value of each character in the data coming, whether it is in RSKC, if it is a allowed one then it will be passed as it is. Otherwise it will replace that character by space.
        data: l_d_length like sy-index,
                 l_d_char type c,
                 l_d_index type sy-index,
              l  oopx like sy-tabix.
        data : xinfobj(30) type c value 'RABC'.    -> this is ur infoobject name
        clear : result.
        call function 'CONVERSION_EXIT_ALPHA_INPUT'
          exporting
            input  = tran_strucutre-XYZ     -> object name in ur structure
          importing
            output = result.
        l_d_length = strlen( result ).
        do l_d_length times.
          l_d_index = sy-index - 1.
          l_d_char = result+l_d_index(1).
          call function 'RSKC_CHAVL_OF_IOBJ_CHECK'
            exporting
              i_chavl                 = l_d_char
              i_iobjnm                = xinfobj
        I_S_COB_PRO             =
        I_T_COB_PRO_CMP         =
           exceptions
             chavl_not_allowed       = 1
             others                  = 2
          if sy-subrc <> 0.
            result+l_d_index(1) = ' '.
          endif.
        enddo.
    Regards;
    Jitendra

  • ITunes producer error 3000 character content of element "file_name" invalid. Can anyone help me out? This happens when i try and submit an epub file, i haven't had this before.

    Can anyone help me out? This happens when i try and submit an epub file, i haven't had this before. "iTunes producer error 3000 character content of element "file_name" invalid."
    This is the full message

    You really need to put your codes between the
    [\code] tags
    see http://forum.java.sun.com/features.jsp#Formatting
    for more infoCode tags might make it look a little better, but there's still too darn much code. We're volunteers, after all. It'd be a lot of work to review all of this stuff. Can you demonstrate your problem with something smaller? Learn out how to do a combo box with just a page or two and then appy that to your big problem. That's how I'd do it. - MOD

  • Bulk load data conversion error (type mismatch or invalid character for the specified codepage) for row 1, column 3 (NumberOfMultipleMatches).

    Hi,
    I have a file where fields are wrapped with ".
    =========== file sample
    "asdsa","asdsadasdas","1123"
    "asdsa","asdsadasdas","1123"
    "asdsa","asdsadasdas","1123"
    "asdsa","asdsadasdas","1123"
    ==========
    I am having a .net method to remove the wrap characters and write out a file without wrap characters.
    ======================
    asdsa,asdsadasdas,1123
    asdsa,asdsadasdas,1123
    asdsa,asdsadasdas,1123
    asdsa,asdsadasdas,1123
    ======================
    the .net code is here.
    ========================================
    public static string RemoveCharacter(string sFileName, char cRemoveChar)
                object objLock = new object();
                //VirtualStream objInputStream = null;
                //VirtualStream objOutStream = null;
                FileStream objInputFile = null, objOutFile = null;
                lock(objLock)
                    try
                        objInputFile = new FileStream(sFileName, FileMode.Open);
                        //objInputStream = new VirtualStream(objInputFile);
                        objOutFile = new FileStream(sFileName.Substring(0, sFileName.LastIndexOf('\\')) + "\\" + Guid.NewGuid().ToString(), FileMode.Create);
                        //objOutStream = new VirtualStream(objOutFile);
                        int nByteRead;
                        while ((nByteRead = objInputFile.ReadByte()) != -1)
                            if (nByteRead != (int)cRemoveChar)
                                objOutFile.WriteByte((byte)nByteRead);
                    finally
                        objInputFile.Close();
                        objOutFile.Close();
                    return sFileName.Substring(0, sFileName.LastIndexOf('\\')) + "\\" + Guid.NewGuid().ToString();
    ==================================
    however when I run the bulk load utility I get the error 
    =======================================
    Bulk load data conversion error (type mismatch or invalid character for the specified codepage) for row 1, column 3 (NumberOfMultipleMatches).
    ==========================================
    the bulk insert statement is as follows
    =========================================
     BULK INSERT Temp  
     FROM '<file name>' WITH  
      FIELDTERMINATOR = ','  
      , KEEPNULLS  
    ==========================================
    Does anybody know what is happening and what needs to be done ?
    PLEASE HELP
    Thanks in advance 
    Vikram

    To load that file with BULK INSERT, use this format file:
    9.0
    4
    1 SQLCHAR 0 0 "\""      0 ""    ""
    2 SQLCHAR 0 0 "\",\""   1 col1  Latin1_General_CI_AS
    3 SQLCHAR 0 0 "\",\""   2 col2  Latin1_General_CI_AS
    4 SQLCHAR 0 0 "\"\r\n"  3 col3  Latin1_General_CI_AS
    Note that the format file defines four fields while the fileonly seems to have three. The format file defines an empty field before the first quote.
    Or, since you already have a .NET program, use a stored procedure with table-valued parameter instead. I have an example of how to do this here:
    http://www.sommarskog.se/arrays-in-sql-2008.html
    Erland Sommarskog, SQL Server MVP, [email protected]

  • What does this error means? "Line 20 column 57: character content of element "language" invalid; must be a string with length equal to 3 (actual length was 7) at XPath /package/book/metadata/languages/language" "

    Hi there.
    I am about to publish a book in English and Chinese.
    What does this error means?
    Line 20 column 57: character content of element "language" invalid; must be a string with length equal to 3 (actual length was 7) at XPath /package/book/metadata/languages/language"
    And where is line 20, column 57?
    Thanks folks!

    Go into iTunes Producer and select from the dropdown, don't type.
    cs
    iBooks Author Guide

  • Data element while creating character?

    hi friends,
    while createing any character i am getting/bic/oi(obect name) like object name is C1_Sun (customer)
    data element is /bic/oiC1_sun
    bi businees intelligence
    c means customer defined
    what is oi
    Thanking u
    suneel.

    hi Suneel,
      The naming convention for BI objects are as below:
      For Standard BI objects : /BI0/OI<name of the characteristic>
      For Custom  BI objects :  /BIC/OI<name of the characteristic>
    Hope it helps...

  • How to use '*' as data Element in the NTE(Edi 850) Segment

    Hi All,
    I am facing a field level error while using '*' in EDI 850 (NTE segment). '*' is also used as Data Element.
    For Eg: NTE*GEN*My Text *goes here
    Here, NTE02 should be My Text *goes here. So, how can I use "*" here without changing anything in the EDI message?
    I have asked this question before
    http://social.msdn.microsoft.com/Forums/en-US/1668e8d8-ee99-4d79-961b-8d26f3a496f8/error-while-using-in-the-nte-edi-850-segment-where-is-also-used-as-data-element?forum=biztalkediandas2
    The answer in the above forum was to ask client modify the EDI message.
    Previously, our client was using a different technology (other than BizTalk) which was working fine with this format. So, they are insisting on this format only.
    Thanks,

    Sorry, the answer is the same.
    It doesn't matter what EDI platform either side is using, the '*' in the field content conflicts with the '*' that is the element delimiter. That is invalid EDI, there is no way around that short of writing a custom EDI parser.
    It's not clear if you're sending or receiving this message.  But again, it's really doesn't matter.
    1. Change the Element Delimiter to something other than '*'.  < or > are not uncommon.
    2. If you are receiving the EDI, create a custom Pipeline Component that "handles" NTE02 either by replacing the '*' with a substitute char or deleting it.
    3. If you are receiving, you could add extra elements to NTE to accommodate extra fields (since that's how the parser will see them).  Then you can join them again in a Map.

  • Failover cluster wmi provider detected an invalid character

    We are getting this recurring error in our two node hyper-v cluster:
    ID: 6237 Source: FailoverClustering-WMIProvider
    Logs anywhere from 1- 15 of these errors every half hour. We are running on Server 2008 R2 SP1 with Hyper-V role and management done by VMM 2012. Hosts are identical hardware (Intel Board, dual quad-core Xeon, 48gb ram) and VMs running on EMC VNXe 3100 shared
    storage via iSCSI.
    Log Name:      Microsoft-Windows-FailoverClustering-WMIProvider/Admin
    Source:        Microsoft-Windows-FailoverClustering-WMIProvider
    Date:          5/6/2013 5:02:11 AM
    Event ID:      6237
    Task Category: Failover Cluster WMI Provider
    Level:         Error
    Keywords:     
    User:          COASCADA\msscvmm
    Computer:      wwpsvrhypv02.coascada.local
    Description:
    Failover Cluster WMI Provider detected an invalid character. The private property name 'PreviousOfflineAction' had an invalid character but the provider failed to change it to a valid property name. Property names must start with A-Z or a-z, and valid characters
    for WMI property names are A-Z, a-z, 0-9, and '_'.
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="Microsoft-Windows-FailoverClustering-WMIProvider" Guid="{0461BE3C-BC15-4BAD-9A9E-51F3FADFEC75}" />
        <EventID>6237</EventID>
        <Version>0</Version>
        <Level>2</Level>
        <Task>1</Task>
        <Opcode>0</Opcode>
        <Keywords>0x8000000000000000</Keywords>
        <TimeCreated SystemTime="2013-05-06T12:02:11.390560300Z" />
        <EventRecordID>8301</EventRecordID>
        <Correlation />
        <Execution ProcessID="6900" ThreadID="5376" />
        <Channel>Microsoft-Windows-FailoverClustering-WMIProvider/Admin</Channel>
        <Computer>wwpsvrhypv02.coascada.local</Computer>
        <Security UserID="S-1-5-21-3378633525-1537071075-772992230-3177" />
      </System>
      <EventData>
        <Data Name="Parameter1">PreviousOfflineAction</Data>
      </EventData>
    </Event>

    Hi,
    You may try the hotfix in KB 974930:
    An application or service that queries information about a failover cluster by using the WMI provider may experience low performance or a time-out exception
    http://support.microsoft.com/kb/974930
    Cause:
    This problem occurs because the WMI provider responds to the query requests very slowly. The time that the WMI provider takes to complete the query requests affects the following performance measurements:
    The ability and reliability of the service or application
    The speed of generating a status report about the failover cluster
    Therefore, a slow response of the WMI provider may cause the application or service to function abnormally.
    For more information please refer to following MS articles:
    Event ID 6237: Failover Cluster WMI Provider detected an invalid character
    http://social.technet.microsoft.com/Forums/en-US/windowsserver2008r2highavailability/thread/bae84aea-5a80-4637-989b-c31bbc1aa55a/
    Lawrence
    TechNet Community Support

  • Log on problem India: Invalid character

    Dear all,
    we have running a BI 7.0 Portal. We have a guidline how to set up the Internet-Settings (IE 6) for using the portal. It works fine for all our subsituaries, with exeption of India.
    In India, we get the log on screen and we can enter the user name and PW. By confirming this data, we receice the message:
    Line:  2
    Char: 1
    Code: 0
    Error: Invalid character
    Additionaly we receive the following message:
    Line: 1161
    Char: 1
    Error: 'EPCM.getSAPTop().gHistoryFrameworkObj'is null or not an object
    Code: 0
    Do you know how to analyse or solve the problem?
    Thanks!
    XmxhX
    Edited by: XmchX on Mar 19, 2008 8:20 AM

    Hello,  
    See this thread and see whthere its applicable to you,
    Error while accessing portal.....
    Thanks
    Chandran

  • Unable to save lookup field data in SharePoint 2013 online list

    Dear Support,
    I had successfully created provider hosted app and deployed on SharePoint 2013 online site, in my project I created orderservice.asmx.cs web service and write a code for save record on SharePoint
    2013 online list as I mentioned below and calling on App1.js file.
    But I am unable to save lookup field value as mentioned below code
    Customer is a lookup field I want to save data in SharePoint 2013 online list( Order)where I had successfully
    inserted text field  data (Title &
    Special_x0020_Instruction).
    i am getting error as mentioned below
    500 Internal Server Error {"Message":"Invalid web service call, missing value for parameter: \u0027Title1\u0027.","StackTrace":"   at System.Web.Script.Services.WebServiceMethodData.CallMethod(Object target, IDictionary`2
    parameters)\r\n   at System.Web.Script.Services.WebServiceMethodData.CallMethodFromRawParams(Object target, IDictionary`2 parameters)\r\n   at System.Web.Script.Services.RestHandler.InvokeMethod(HttpContext context, WebServiceMethodData methodData,
    IDictionary`2 rawParams)\r\n   at System.Web.Script.Services.RestHandler.ExecuteWebServiceCall(HttpContext context, WebServiceMethodData methodData)","ExceptionType":"System.InvalidOperationException"}
    Please let me know the code how to insert lookup field value (Customer)
    in SharePoint online list.
    OrderService.asmx.cs
    Public
    int InsertOrder (Order
    orderRecord)
                pwd.MakeReadOnly();
                clientContext.Credentials =
    new
    SharePointOnlineCredentials (myUserName, pwd);
    try
                  Web
    oWeb = clientContext.Web;
    ListCollection lists = oWeb.Lists;
    List oOrderlist = clientContext.Web.Lists.GetByTitle("Order");
                    clientContext.Load<ListCollection>(lists);
                    clientContext.Load<List>(oOrderlist);
                    ListItemCreationInformation
    itemCreateInfo = new                 ListItemCreationInformation();
    ListItem oListItem = oOrderlist.AddItem(itemCreateInfo);
                    oListItem["Title"]
    = Title;                        listItem["Special_x0020_Instruction"]
    = orderRecord.Instruction;
                        listItem ["Customer"]
    = orderRecord.CustomerId;
                        listItem.Update();
                        clientContext.ExecuteQuery();
    return 1;
    catch
    return -1;
    App1.JS
    $("#Save").click(function
    debugger;
    var OrderProfile = $('#orderprofile').val();
    var CustomerId = $('#exCustomerlist').jqxComboBox('getItem',
    $('#exCustomerlist').val());
    //var Instruction = $('#instruction').val();
            alert(OrderProfile);
            alert(CustomerId);
    var obj = {
    'Title': OrderProfile,
    'Customer': CustomerId }
            $.ajax({
                url:
    "OrderService.asmx/InsertOrder",
                type:
    "POST",
                dataType:
    "json",
                data: JSON.stringify(obj),
                contentType:
    "application/json; charset=utf-8",
                beforeSend:
    function (XMLHttpRequest) {
    //Specifying this header ensures that the results will be returned as JSON.
                    XMLHttpRequest.setRequestHeader("Accept",
    "application/json");
                success:
    function (response) {
                    $(".errMsg ul").remove();
    var myObject = response.d;
                    alert(myObject);
                error:
    function (response) {
                    alert(response.status +
    ' ' + response.statusText +
    ' ' + response.responseText);
    Regards,
    Akhilesh

    Hi Alex Brassington,
    Thanks for your reply.
    I am having the Site Administrator Permission of the public site.
    I am having the permission of Company Administrator of that site but still unable to find
    Device Channel on Site Setting. still I gave the user full control from Site Permission but nothing is happening.
    What should I do next?

Maybe you are looking for

  • What are the names of the people responsible for FFox 29 interface?

    Have a great wish to know authors of such a destruction in my favourite www-browser interface. Something new is allways greate, but there must be a respect to a people who are the users of the result of your hard handiwork. So, who are they, who are

  • Connecting to an Airplay device I loose my internet connectivity

    Am I doing something very wrong here? or does Airplay use my iPad's wireless connection rendering my very expensive iPad a very obsolete iPod? I bought a Libratone Zipp speaker (£400), for a family gift. Its a great bit of kit but remains completely

  • Forcing Messages to be processed

    Hi Everybody, :. I need to process all pending messages before doing some task. Is there a way to process every message in the Event queue? Is there a flushMessages method or alike? Regards. kilsw5

  • GOS 'Create Attachment' - Can we archive it to DMS?

    Greetings All! I know for sure that if we store using 'create attachment', these are stored in the database. If you store using "store business document" these can be stored in the content server. Is there anyway we can route create attachments to DM

  • Stuck in Region

    In using both English and American DVDs on my Apple I have inadvertently gotten stuck in Region 2. Although the computer had a countdown of the number of times I was allowed to change regions it gave NO indication that I would not be able to choose t