I am trying to search some pages from "Site Pages" Library. Here is my sample code
string q= @"<Where>
<Eq>
<FieldRef Name='Name' Ascending='False' />
<Value Type='Text'>Home</Value>
</Eq>
</Where>";
SPQuery query = new SPQuery { Query = q, RowLimit = 1 };
SPListItemCollection items = list.GetItems(query);
On executing the above code I get the following error.
"One or more field types are not installed properly. Go to the list settings page to delete these fields."