Error: System.ApplicationException: Error fetching records (DoSearch()): QueryField not found

When attempting to load a constituent based list in NetCommunity, you may get the following error when the list loads:
System.ApplicationException: Error fetching records (DoSearch()): QueryField not found
   at Blackbaud.Web.Content.Core.Data.RecordSearch.DoSearch()
   at Blackbaud.Web.Content.Core.DataSourceConstituentFetch.StartPagedFetchByQueryID(Int32 QueryID, Int32 RecordsPerPage, IDataSourceFetchFields[] FetchFields, String options, Int32 SystemID)

This error occurs when you have a constituent query in The Raiser's Edge that is utilizing Constituent Consent fields (for example, Response)
We are currently evaluating this issue and will update this article when we have more information. In the meantime, change your query to static in The Raiser's Edge and re-load the list.

Steps to Duplicate

  1. Create a Constituent Query in The Raiser's Edge
  2. Add in the Criteria of Constituent Contact Consent -> Response -> [not blank]
  3. Login to NetCommunity
  4. Create a new list based on this query
  5. Observe the list fails to load with this error

Environment

 Blackbaud NetCommunity
 7.1

Was this article helpful?


Thanks for your feedback! Did this solve your issue?

Comments (optional):


Thanks for your feedback!
We're glad it was helpful but sorry it didn’t solve your issue. If you need assistance, click Chat with Support below.
We’re sorry to hear that. Please tell us why.

 I don't like how this works.

 The answer is confusing.

 The answer didn't match what I was searching for.

Additional Comments (optional):


Thanks for your feedback! If you need assistance, click Chat with Support below.
Thanks for your feedback. Help us make our products even better by sharing details in our Idea Banks or our online Community.
Thanks for letting us know. We'll work on clarifying the information in the article. If you need assistance, click Chat with Support below.
Thanks for letting us know. We'll work on updating the search engine to return more relevant results.