Server Error in '/' Application.

Unable to cast object of type 'System.DBNull' to type 'System.String'.

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.InvalidCastException: Unable to cast object of type 'System.DBNull' to type 'System.String'.

Source Error:


Line 19455:            get {
Line 19456:                try {
Line 19457:                    return ((string)(this[this.tableNews.DescriptoinColumn]));
Line 19458:                }
Line 19459:                catch (global::System.InvalidCastException e) {

Source File: c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\f8da0c5d\f12c0a68\App_Code.s_ona8x8.272.cs    Line: 19457

Stack Trace:


[InvalidCastException: Unable to cast object of type 'System.DBNull' to type 'System.String'.]
   NewsRow.get_Descriptoin() in c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\f8da0c5d\f12c0a68\App_Code.s_ona8x8.272.cs:19457

[StrongTypingException: The value for column 'Descriptoin' in table 'News' is DBNull.]
   NewsRow.get_Descriptoin() in c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\f8da0c5d\f12c0a68\App_Code.s_ona8x8.272.cs:19460
   ModuleNews.LoadData(Int32 id) in c:\inetpub\wwwroot\mtk-fortuna.ru\www\Modules\News\ModuleNews.ascx.cs:44
   _Default.AddModules(PagesModulesDataTable modules) in c:\inetpub\wwwroot\mtk-fortuna.ru\www\Default.aspx.cs:179
   _Default.OnInit(EventArgs e) in c:\inetpub\wwwroot\mtk-fortuna.ru\www\Default.aspx.cs:44
   System.Web.UI.Control.InitRecursive(Control namingContainer) +11726355
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +491


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