none
Receiving error code 0x80004005 RRS feed

  • Question

  • I am trying to add three calculated column fields to a list using Lists.UpdateList() web service method. But i am receiving the 0x80004005 error code for two fields.
    • Edited by wiz.neeraj Saturday, November 5, 2011 11:27 AM
    • Changed type wiz.neeraj Saturday, November 5, 2011 11:27 AM
    Saturday, November 5, 2011 11:27 AM

All replies

  • Is this issue maybe caused by malformed caml query?

    http://social.technet.microsoft.com/forums/en-US/sharepointadmin/thread/866f931e-e964-4f95-a748-c11ccc9f9b77/

    can you post the caml statement?

    here you can find a tool to build/check caml queries

    http://www.u2u.be/res/tools/camlquerybuilder.aspx

    • Proposed as answer by Shimin Huang Monday, November 7, 2011 6:11 AM
    Saturday, November 5, 2011 2:46 PM
  • Hi,

    Please find the fields below

    <

    Field Type="Calculated" DisplayName="Due" Format="DateOnly" LCID="1033" ResultType="Text" ReadOnly="TRUE" Name="Due" ColName="sql_variant1" ID="{e9d426da-8095-4b37-8087-48d078c35444}" StaticName="Due" RowOrdinal="0"

    >

    <

    Formula>=TEXT(DAY(DueDate),"00")&amp;"-"&amp;(CHOOSE(MONTH(DueDate),"Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec")&amp;"-"&amp;RIGHT(TEXT(YEAR(DueDate),"####"),2))</Formula

    >

    <

    FormulaDisplayNames>=TEXT(DAY([Due Date]),"00")&amp;"-"&amp;(CHOOSE(MONTH([Due Date]),"Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec")&amp;"-"&amp;RIGHT(TEXT(YEAR([Due Date]),"####"),2))</FormulaDisplayNames

    >

    <

    FieldRefs

    >

    <

    FieldRef Name="DueDate"

    />

    </

    FieldRefs

    >

    </

    Field

    >

    <

    Field Name="Deploy" FromBaseType="FALSE" Type="Calculated" DisplayName="CSOM" Format="DateOnly" LCID="1033" ResultType="Text" ReadOnly="TRUE" ColName="sql_variant2" ID="{ed5e7c69-b192-4678-aea5-d2bb012644c4}" StaticName="Deploy" RowOrdinal="0"

    >

    <

    Formula>=IF(OR(AND(LEN(Workstream0)&gt;0,Workstream0&lt;&gt;"CIM"),Workstream="ZZZ",Workstream="YYY",Workstream="XXX",Workstream="AAA",Workstream="BBB",Workstream="CCC",Workstream="DDD",Workstream="EEE"),"Yes","No")</Formula

    >

    <

    FormulaDisplayNames>=IF(OR(AND(LEN(Workstream)&gt;0,Workstream&lt;&gt;"CIM"),Project="ZZZ",Project="YYY",Project="XXX",Project="AAA",Project="BBB",Project="CCC",Project="DDD",Project="EEE"),"Yes","No")</FormulaDisplayNames

    >

    <

    FieldRefs

    >

    <

    FieldRef Name="Workstream"

    />

    <

    FieldRef Name="Workstream0"

    />

    </

    FieldRefs

    >

    </

    Field>

    The above fields were got using the Lists.GetList() web method from another list. i want to put these two calculated columns into another list using the Lists.UpdateList web method.

     

     

    Tuesday, November 8, 2011 12:12 AM