Error message: Error while executing query: SELECT Max(CASE WHEN (p.Discount=0) THEN p.NetPrice WHEN (p.Discount>0 AND p.DiscountType=0) THEN (p.NetPrice-(p.NetPrice * p.Discount/100)) WHEN (p.Discount>0 AND p.DiscountType=1) THEN (p.NetPrice- p.Discount) END) FROM ecmProducts p INNER JOIN ecmCategoryProducts c ON p.id=c.idProduct WHERE c.idCategory=1942643106 AND p.Published=1 AND p.stock>0
Url: https://yuppietoys.gr/skin.aspx?lang=el&itemtype=ProductCategory&itemalias=paixnidia&action=view&000007D0=DB66DAD8‡E4B3569A‡1C09B590‡6F88B53E&splitter_products_offset=0
Message: Error while executing query: SELECT Max(CASE WHEN (p.Discount=0) THEN p.NetPrice WHEN (p.Discount>0 AND p.DiscountType=0) THEN (p.NetPrice-(p.NetPrice * p.Discount/100)) WHEN (p.Discount>0 AND p.DiscountType=1) THEN (p.NetPrice- p.Discount) END) FROM ecmProducts p INNER JOIN ecmCategoryProducts c ON p.id=c.idProduct WHERE c.idCategory=1942643106 AND p.Published=1 AND p.stock>0
at Bone.DBConnection.ExecuteScalar(String sql) in C:\Bone\Bone\src\EngineDB\DBEngine.cs:line 268
at Bone.BONE.ExecuteScalar(String sql) in C:\Bone\Bone\src\BONE.cs:line 1615
at ASP.tpl_productcategory_view_tpl_ascx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in c:\inetpub\yuppietoys\tpl\ProductCategory.View.tpl.ascx:line 79
at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
at Bone.ActionView.Render(TextWriter w) in C:\Bone\Bone\src\Actions\DBActions\ActionView.cs:line 161
at Bone.Action.RenderContent(TextWriter w) in C:\Bone\Bone\src\Actions\_Action.cs:line 394
at Bone.Action.ToString() in C:\Bone\Bone\src\Actions\_Action.cs:line 518
at Bone.Base.get_Content() in C:\Bone\Bone\src\Classes\Base.cs:line 80
at ASP.skin_aspx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in c:\inetpub\yuppietoys\skin.aspx:line 345
at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
at System.Web.UI.Page.Render(HtmlTextWriter writer)
at Bone.Asp.RenderSkin(TextWriter w) in C:\Bone\Bone\src\Classes\Asp.cs:line 71
at Bone.ModalAction.RenderPage(TextWriter w) in C:\Bone\Bone\src\Actions\Modal.cs:line 81
at Bone.Asp.Render(HtmlTextWriter w) in C:\Bone\Bone\src\Classes\Asp.cs:line 82
at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Message: Transaction (Process ID 72) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction.
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
at System.Data.SqlClient.SqlDataReader.TryHasMoreRows(Boolean& moreRows)
at System.Data.SqlClient.SqlDataReader.TryReadInternal(Boolean setTimeout, Boolean& more)
at System.Data.SqlClient.SqlDataReader.Read()
at System.Data.SqlClient.SqlCommand.CompleteExecuteScalar(SqlDataReader ds, Boolean returnSqlValue)
at System.Data.SqlClient.SqlCommand.ExecuteScalar()
at Bone.DBConnection.ExecuteScalar(String sql) in C:\Bone\Bone\src\EngineDB\DBEngine.cs:line 263