Server Error in '/' Application.

Syntax error: Missing operand after 't' 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 't' operator.

Source Error:


Line 70:  	
Line 71:     Dim myDataView As New DataView(Cache("cacheCONTENTVIDS"))
Line 72:     myDataView.RowFilter = ("LINX = '" & Replace(linx, ".htm", ".jpg") & "' or LINX = '" & Replace(linx, ".htm", ".mp4") & "' or LINX = '" & Replace(linx, ".htm", ".flv") & "' or LINX = '" & Replace(linx, ".htm", ".wmv") & "'")
Line 73:     If myDataView.Count < 1 Then go404()
Line 74:     Dim rownum As Integer = myDataView(rownum)("rownum")

Source File: D:\sites\dailyhaha-2015\404s\videos.aspx    Line: 72

Stack Trace:


[SyntaxErrorException: Syntax error: Missing operand after 't' operator.]
   System.Data.ExpressionParser.Parse() +3042
   System.Data.DataExpression..ctor(DataTable table, String expression, Type type) +165
   System.Data.DataView.set_RowFilter(String value) +198
   ASP._404s_videos_aspx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in D:\sites\dailyhaha-2015\404s\videos.aspx:72
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +276
   System.Web.UI.Page.Render(HtmlTextWriter writer) +40
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +80
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4239


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4682.0