Mimi nilikuwa kufanya ndogo tweak jana kwa sehemu mtandao kwamba hana hoja CAML dhidi ya orodha. Mimi alifanya mabadiliko, uliotumika na got hit na makosa:
kosa zisizotarajiwa imetokea katika Tatu Siku Outlook Weather Forecast WebPart. Tafadhali wasiliana na msimamizi wa mfumo. Aina shamba moja au zaidi si imewekwa vizuri. Kwenda kwenye ukurasa orodha mazingira ya kufuta mashamba hayo.
I alikuwa akikabiliwa na suala jingine oddball mapema hivyo mimi si mara moja kuungana hoja yangu CAML na makosa kwamba SharePoint alikuwa taarifa kwangu. Mimi haraka kimenikamata utafutaji na na wameona hiki kinasaidia blog post na Sandeep Nahta (http://snahta.blogspot.com/2009/01/one-or-more-field-types-are-not.html).
Hapa ni swala mbaya:
query.Query = "<Ambapo><Na><Neq><FieldRef Jina = 'Abbr' /><Aina ya thamani = 'Nakala'>SFNY</Thamani><FieldRef Jina = 'Abbr' /><Aina ya thamani = 'Nakala'>SFIS</Thamani></Neq></Na></Ambapo>";
Hapa ni fasta:
query.Query = "<Ambapo><Na><Neq><FieldRef Jina = 'Abbr' /><Aina ya thamani = 'Nakala'>SFNY</Thamani></Neq><Neq><FieldRef Jina = 'Abbr' /><Aina ya thamani = 'Nakala'>SFIS</Thamani></Neq></Na></Ambapo>";
Hivyo, maadili ya hadithi ni: kuhakikisha CAML yako ni sahihi au unaweza kupata kosa oddball.
Kufuata yangu juu ya Twitter kwa http://www.twitter.com/pagalvin
</mwisho>
Hi Paulo,
This is may be one reason. Also I found the above exception when we are accessing the custom field using object model.