Server Error in '/' Application.

News[ID=8]

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: bs.exception.EntityNotFoundException: News[ID=8]

Source Error:


Line 242:            else
Line 243:            {
Line 244:                throw new EntityNotFoundException(string.Format("{0}[{1}={2}]", table, column.ToString(), value.ToString()));
Line 245:            }
Line 246:            return entity;

Source File: d:\vhosts\erdemciftligi.com\dinamikaritma.com\App_Code\da\AbstractDataAccess.cs    Line: 244

Stack Trace:


[EntityNotFoundException: News[ID=8]]
   bs.dataaccess.AbstractDataAccess.getSingleEntityByColumn(String table, C column, Object value) in d:\vhosts\erdemciftligi.com\dinamikaritma.com\App_Code\da\AbstractDataAccess.cs:244
   bs.dataaccess.NewsDA.getEntryById(Int32 ID) in d:\vhosts\erdemciftligi.com\dinamikaritma.com\App_Code\da\NewsDA.cs:28

[ProductNotFoundException]
   bs.dataaccess.NewsDA.getEntryById(Int32 ID) in d:\vhosts\erdemciftligi.com\dinamikaritma.com\App_Code\da\NewsDA.cs:32
   News.Page_Load(Object sender, EventArgs e) in d:\vhosts\erdemciftligi.com\dinamikaritma.com\News.aspx.cs:52
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +52
   System.Web.UI.Control.OnLoad(EventArgs e) +97
   System.Web.UI.Control.LoadRecursive() +61
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +693


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