Error: Did not finish when importing configuration data

A .NET Framework error occurred during execution of user-defined routine or aggregate
System.Data.SqlClient.SqlException: The INSERT statement conflicted with the FOREIGN KEY constraint
"FK_ADHOCQUERY_QUERYCATEGORYCODEID", The conflict occurred in database
The statement has been terminated.
   at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
   at System.Data.SqlClient.SqlCommand.RunExecuteNonQuerySmi(Boolean sendToPipe)
   at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult.result, String methodName,
Boolean sendToPipe)
This error occurs if the Configuration export does not contain the QueryCodeTable or the QueryCodeTable is not located above AdHoc Query in the hierarchy.  To correct this error export the configuration data with these modifications.



Was this article helpful?