What to do when the number of rows is inconsistent in data mining?

Check in the properties of the connection that the debug mode (used only for explicit error messages) is unchecked.