Server Error in '/' Application.

Invalid SQL query in property "wherecondition".

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.InvalidOperationException: Invalid SQL query in property "wherecondition".

Source Error:


Line 103:        get
Line 104:        {
Line 105:            return DataHelper.GetNotEmpty(GetValue("WhereCondition"), uniView.WhereCondition);
Line 106:        }
Line 107:        set

Source File: D:\inetpub\wwwroot\nola.gov\CMS\CMSWebParts\Viewers\Query\queryuniview.ascx.cs    Line: 105

Stack Trace:


[InvalidOperationException: Invalid SQL query in property "wherecondition".]
   CMS.PortalEngine.Web.UI.CMSAbstractWebPart.GetValueInternal(String propertyName, Boolean resolveMacros) +1629
   CMSWebParts_Viewers_Query_queryuniview.get_WhereCondition() in D:\inetpub\wwwroot\nola.gov\CMS\CMSWebParts\Viewers\Query\queryuniview.ascx.cs:105
   CMSWebParts_Viewers_Query_queryuniview.SetupControl() in D:\inetpub\wwwroot\nola.gov\CMS\CMSWebParts\Viewers\Query\queryuniview.ascx.cs:1087
   CMSWebParts_Viewers_Query_queryuniview.OnContentLoaded() in D:\inetpub\wwwroot\nola.gov\CMS\CMSWebParts\Viewers\Query\queryuniview.ascx.cs:1061
   CMS.PortalEngine.Web.UI.CMSWebPartZone.OnContentLoaded() +158
   CMS.PortalEngine.Web.UI.CMSAbstractLayout.OnContentLoaded() +174
   CMS.PortalEngine.Web.UI.CMSAbstractLayout.LoadWebPartsContent(Boolean reloadData) +314
   CMS.PortalEngine.Web.UI.CMSAbstractLayout.LoadContent(PageInfo pageInfo, Boolean reloadData, Boolean allowOrphanedZones) +875
   CMS.PortalEngine.Web.UI.CMSPagePlaceholder.LoadContent(PageInfo pageInfo, Boolean reloadData) +1942
   CMS.PortalEngine.Web.UI.CMSPagePlaceholder.LoadContent(PageInfo pageInfo, Boolean reloadData) +2764
   CMS.PortalEngine.Web.UI.CMSPortalManager.LoadPage(Boolean reloadData) +233
   CMS.PortalEngine.Web.UI.CMSPortalManager.PageHelper_InitComplete(Object sender, EventArgs e) +29
   CMS.Base.Web.UI.PageContext.CurrentPage_InitComplete(Object sender, EventArgs e) +280
   System.EventHandler.Invoke(Object sender, EventArgs e) +0
   System.Web.UI.Page.OnInitComplete(EventArgs e) +11692040
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +631


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