Server Error in '/' Application.

Exception of type 'Nofa.News.Blogic.DpException' was thrown.

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: Nofa.News.Blogic.DpException: Exception of type 'Nofa.News.Blogic.DpException' was thrown.

Source Error:


Line 24: <div class="FirstPageTopNews"> Line 25: <div class="RooTitr"> Line 26: <asp:Literal ID="FirstNewsRootitrLitral" runat="server" Text="<%# News.Titr %>"></asp:Literal></div> Line 27: <h1><a href="#"><%# News.Title %></a>&nbsp;<asp:HyperLink ID="HyperLink1" runat="server" ImageUrl='<%# UI.ActualPath +"images/audio.gif" %>' NavigateUrl='<%# "~/" + News.SoundPath %>' Line 28: Visible='<%# ""+News.SoundPath != "" %>' EnableViewState="False"></asp:HyperLink>

Source File: e:\wwwroot\iranagrofoodfair.com\ThemeElecomp\Pages\NewsContent.aspx    Line: 26

Stack Trace:


[DpException: Exception of type 'Nofa.News.Blogic.DpException' was thrown.] Nofa.News.Blogic.DataProvider.News_l(News news) +486 Nofa.News.Blogic.News.Load() +30 Nofa.News.Blogic.News..ctor(Int32 NewsID) +257 NewsContent.get_News() +80 ASP.themeelecomp_pages_newscontent_aspx.__DataBindingFirstNewsRootitrLitral(Object sender, EventArgs e) in e:\wwwroot\iranagrofoodfair.com\ThemeElecomp\Pages\NewsContent.aspx:26 System.Web.UI.Control.OnDataBinding(EventArgs e) +84 System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +150 System.Web.UI.Control.DataBind() +17 System.Web.UI.Control.DataBindChildren() +185 System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +160 System.Web.UI.Control.DataBind() +17 System.Web.UI.Control.DataBindChildren() +185 System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +160 System.Web.UI.Control.DataBind() +17 System.Web.UI.Control.DataBindChildren() +185 System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +160 System.Web.UI.Control.DataBind() +17 NewsContent.Page_Load(Object sender, EventArgs e) +18 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +51 System.Web.UI.Control.OnLoad(EventArgs e) +95 System.Web.UI.Control.LoadRecursive() +59 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +678


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