Syntax Error - Help

Topics: Developer Forum, Project Management Forum, User Forum
Aug 7, 2008 at 8:58 PM
Does anyone know what this error means and how I correct it?  Sorry I dont speak codeese.

 

Server Error in '/Powerline Consuling Website 08-04-08' Application.

Syntax error: Missing operand after 's' operator.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Data.SyntaxErrorException: Syntax error: Missing operand after 's' operator.

Source Error:

Line 115:                        {
Line 116:                            intTagNumberTotal = 0;
Line 117: DataRow[] rowsFound = Tags.Select(string.Format("Name = '{0}'", Tags.Rows[y]["Name"]));Line 118:                            for (int i = 0; i < rowsFound.Length; i++)
Line 119:                            {

Source File: c:\Documents and Settings\Jason Meyer\My Documents\Powerline Consuling Website 08-04-08\App_Code\Sections\TagCloud.cs    Line: 117

Stack Trace:

[SyntaxErrorException: Syntax error: Missing operand after 's' operator.]
   System.Data.ExpressionParser.Parse() +1312730
   System.Data.DataExpression..ctor(DataTable table, String expression, Type type) +124
   System.Data.Select..ctor(DataTable table, String filterExpression, String sort, DataViewRowState recordStates) +88
   System.Data.DataTable.Select(String filterExpression) +58
   MyWebPagesStarterKit.TagCloud.TagsMerged() in c:\Documents and Settings\Jason Meyer\My Documents\Powerline Consuling Website 08-04-08\App_Code\Sections\TagCloud.cs:117
   SectionControls_TagCloud.updateViews() in c:\Documents and Settings\Jason Meyer\My Documents\Powerline Consuling Website 08-04-08\SectionControls\TagCloud.ascx.cs:100
   SectionControls_TagCloud.Page_PreRender(Object sender, EventArgs e) in c:\Documents and Settings\Jason Meyer\My Documents\Powerline Consuling Website 08-04-08\SectionControls\TagCloud.ascx.cs:42
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +15
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +33
   System.Web.UI.Control.OnPreRender(EventArgs e) +2117788
   System.Web.UI.Control.PreRenderRecursiveInternal() +86
   System.Web.UI.Control.PreRenderRecursiveInternal() +170
   System.Web.UI.Control.PreRenderRecursiveInternal() +170
   System.Web.UI.Control.PreRenderRecursiveInternal() +170
   System.Web.UI.Control.PreRenderRecursiveInternal() +170
   System.Web.UI.Control.PreRenderRecursiveInternal() +170
   System.Web.UI.Control.PreRenderRecursiveInternal() +170
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2041