This project is read-only.
1
Vote

Operation is not valid due to the current state of the object

description

Hi I'm trying to write this simple caml query (just getting all items)
'<View><Query><OrderBy><FieldRef Name="ID" Ascending="TRUE"></FieldRef></OrderBy></Query></View>'

Made it that way : new CamlBuilder().View().Query().OrderBy("ID").ToString(); but i get an annoying error
Uncaught Error: Sys.InvalidOperationException: Operation is not valid due to the current state of the object.

Am I doing something wrong ?

Thanks

comments