Input String Was Not In A Correct Format Error

Discussion created by zle83 on May 18, 2010
Latest reply on Sep 28, 2010 by zle83
Hello all, I am getting the following error upon executing a queryattributestask:

Input string was not in a correct format.  Application Error   at System.Text.StringBuilder.FormatError() at System.Text.StringBuilder.AppendFormat(IFormatProvider provider, String format, Object[] args) at System.String.Format(IFormatProvider provider, String format, Object[] args) at System.String.Format(String format, Object[] args) at ESRI.ArcGIS.ADF.Web.UI.WebControls.TaskResults.CreateAndAddDataRowNodes(TreeViewPlusNode parentNode, DataTable dt, Boolean showFieldAttributes) at ESRI.ArcGIS.ADF.Web.UI.WebControls.TaskResults.CreateDataTableNode(DataTable dt, Boolean showFieldAttributes, Boolean showLegend, Boolean addDataRows, String nodeID, String nodeText) at ESRI.ArcGIS.ADF.Web.UI.WebControls.TaskResults.CreateTaskResultNode(ITask task, String taskJobID, Object taskInputs, DataSet ds, Boolean groupResultsByTable, Boolean showFieldAttributes) at ESRI.ArcGIS.ADF.Web.UI.WebControls.TaskResults.DisplayResults(ITask task, String taskJobID, Object taskInputs, Object taskResults) at ESRI.ArcGIS.ADF.Web.UI.WebControls.FloatingPanelTask.DisplayResults(String jobID, Object taskInput, Object taskResults) at ESRI.ArcGIS.ADF.Web.UI.WebControls.FloatingPanelTask.GetCallbackResult() at ESRI.ArcGIS.ADF.Tasks.QueryAttributesTask.GetCallbackResult() at ESRI.ArcGIS.ADF.Web.UI.WebControls.CompositeControl.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

I have made sure that the shape field is turned on. I have double checked EVERYTHING in the table to make sure the field data type is correct, that there are no odd characters, making null values as "unknown", etc. I am querying a point feature class that resides in a FGDB. I have copied the feature class outside of the feature dataset that it's in and still no luck! ANY IDEAS would be great!