"0x80070003" error getting while I retrieve Only document from the document library In scop="Recursive all" in caml Query and that caml Query data pass in the Webpart...but while I Insert that custom web part "0x80070003" error Occurd Give any suggestion

My CAML Query IS :

<View Scope='RecursiveAll'>
        <FieldRef Name='FSObjType' />
         <Value Type='Integer'>0</Value>

Thank You..

  • Why ask the same question twice? sharepoint.stackexchange.com/questions/139355/… Instead improve your first question if you have something to add/edit. Apr 24 '15 at 6:04
  • Sorry But I'm New In this thing...so.. @Dolgsthrasir Apr 24 '15 at 6:09
  • @Dolgsthrasir ..plese give Any Suggestion for Above If you have.. Apr 24 '15 at 6:15
  • There is not enough Information to give you advice. Show some code besides the caml-query. Could be because of insufficient rights, but hard to tell without more information. Apr 24 '15 at 6:44

I should say the problem is that your query is malformed. I will take a guess that you are using SSOM (C# in a .wsp)?

If so you should rewrite your query like this:

SPQuery myQuery = new SPQuery{
    Query = @"<Where>
                    <FieldRef Name='FSObjType' />
                    <Value Type='Integer'>0</Value>
    ViewAttributes = "Scope='RecursiveAll'"

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.