Server Error in '/' Application.

Invalid SQL query in property "orderby".

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 "orderby".

Source Error:


Line 217:        get
Line 218:        {
Line 219:            return DataHelper.GetNotEmpty(GetValue("OrderBy"), repItems.OrderBy);
Line 220:        }
Line 221:        set

Source File: D:\Inetpub\wwwroot\v12\CMSWebParts\Plaid\PlaidProductResultsRepeater.ascx.cs    Line: 219

Stack Trace:


[InvalidOperationException: Invalid SQL query in property "orderby".]
   CMS.PortalEngine.Web.UI.CMSAbstractWebPart.GetValueInternal(String propertyName, Boolean resolveMacros) +1636
   CMSWebParts_Plaid_PlaidProductResultsRepeater.get_OrderBy() in D:\Inetpub\wwwroot\v12\CMSWebParts\Plaid\PlaidProductResultsRepeater.ascx.cs:219
   CMSWebParts_Plaid_PlaidProductResultsRepeater.SetupControl() in D:\Inetpub\wwwroot\v12\CMSWebParts\Plaid\PlaidProductResultsRepeater.ascx.cs:921
   CMSWebParts_Plaid_PlaidProductResultsRepeater.OnContentLoaded() in D:\Inetpub\wwwroot\v12\CMSWebParts\Plaid\PlaidProductResultsRepeater.ascx.cs:888
   CMS.PortalEngine.Web.UI.CMSWebPartZone.OnContentLoaded() +158
   CMS.PortalEngine.Web.UI.CMSAbstractLayout.OnContentLoaded() +165
   CMS.PortalEngine.Web.UI.CMSAbstractLayout.LoadWebPartsContent(Boolean reloadData) +305
   CMS.PortalEngine.Web.UI.CMSAbstractLayout.LoadContent(PageInfo pageInfo, Boolean reloadData, Boolean allowOrphanedZones) +875
   CMS.PortalEngine.Web.UI.CMSPagePlaceholder.LoadContent(PageInfo pageInfo, Boolean reloadData) +1938
   CMS.PortalEngine.Web.UI.CMSPagePlaceholder.LoadContent(PageInfo pageInfo, Boolean reloadData) +2751
   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) +141
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2203


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