Error: Data could not be saved. A .Net Framework error occurred during execution of user-defined or aggregate "USP_ATTRIBUTE_UPDATEATTRIBUTEQUERIES" when editing attribute categories

When attempting to edit the name of an existing attribute category, the following error message may occur:

Data could not be saved. A .Net Framework error occurred during execution of user-defined or aggregate "USP_ATTRIBUTE_UPDATEATTRIBUTEQUERIES":
System.IndexOutOfRangeException:  Index was outside the bounds of the array.
System.IndexOutOfRangeException:
    at System.Data.SqlClient.SqlDataReaderSmi.GetString(Int32 ordinal)
Download and install the latest patch which contains all fixes from previous patches. If you are running an older version, download and install the latest version and then the patch.

Steps to Duplicate

1. Go to administration, Attribute categories.
2. Edit an attribute and attempt to change the name.
3. Note the error message and that the name is not changed.

Environment

 Blackbaud CRM
 4.0
 4.0
 Service Pack 3

Was this article helpful?