Cureality Proficiency Certifications and Awards X
Inner Circle Forums


Portions of the Undoctored Inner Circle Member Forum and its vast wealth of knowledge, are available only to our Members.
Becoming an Inner Circle Member will allow you to post topics, ask Dr. Davis questions, and view all replies.


ERROR WHEN TRYING TO READ A RESPONSE TO ONE OF MY POSTS

Member Forum >> Report Bugs >> ERROR WHEN TRYING TO READ A RESPONSE TO ONE OF MY POSTS

Fitness

No Avatar

Join Date: 4/12/2016
Posts Contributed: 1083
Total Likes: 68
Recommends Recd: 1
Ignores Issued: 0
Certs & Awards: 18   view

Likes Recd: 0
 
Posted: 2/19/2020 12:22:32 PM
 

Server Error in ’/’ Application.

Conversion from type ’DBNull’ to type ’String’ is not valid.

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: Conversion from type ’DBNull’ to type ’String’ is not valid.

Source Error: 

Line 304:                                                <%#IIF (Not Session("UserLogged") = "1" AND (DataBinder.Eval(Container.DataItem, "REPLY_MESSAGE").tostring.length>250 OR DataBinder.Eval(Container.DataItem, "reply_private")= True), GetRestriction(), DataBinder.Eval(Container.DataItem, "REPLY_MESSAGE")) %>
Line 305:                                                <div class="divReply">
Line 306:                                                    <%# IIF((DataBinder.Eval(Container.DataItem, "MEMBER_LEVEL") = -1), "", Signature(DataBinder.Eval(Container.DataItem, "REPLY_SIGNATURE"), DataBinder.Eval(Container.DataItem, "MEMBER_SIGNATURE"))) %>
Line 307:                                        </font>
Line 308:                                        <br /><br />

Source File: E:\inetpub\wwwroot\www.cureality.com\forum\topics.aspx    Line: 306 

Stack Trace: 

[InvalidCastException: Conversion from type ’DBNull’ to type ’String’ is not valid.]
   Microsoft.VisualBasic.CompilerServices.Conversions.ToString(Object Value) +1307476
   ASP.forum_topics_aspx.__DataBind__control31(Object sender, EventArgs e) in E:\inetpub\wwwroot\www.cureality.com\forum\topics.aspx:306
   System.Web.UI.Control.OnDataBinding(EventArgs e) +86
   System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +154
   System.Web.UI.Control.DataBind() +17
   System.Web.UI.Control.DataBindChildren() +187
   System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +164
   System.Web.UI.Control.DataBind() +17
   System.Web.UI.WebControls.Repeater.CreateItem(Int32 itemIndex, ListItemType itemType, Boolean dataBind, Object dataItem) +128
   System.Web.UI.WebControls.Repeater.AddDataItemsIntoItemsArray(IEnumerable dataSource, Boolean useDataSource) +220
   System.Web.UI.WebControls.Repeater.PostGetDataAction(IEnumerable dataSource) +73
   System.Web.UI.WebControls.Repeater.CreateControlHierarchy(Boolean useDataSource) +229
   System.Web.UI.WebControls.Repeater.OnDataBinding(EventArgs e) +63
   System.Web.UI.WebControls.Repeater.DataBind() +81
   topicspage.ListPosts(Int32 CurrentPage, Int32 ItemsPerPage) in E:\inetpub\wwwroot\www.cureality.com\forum\topics.aspx.vb:531
   topicspage.Page_Load(Object sender, EventArgs e) in E:\inetpub\wwwroot\www.cureality.com\forum\topics.aspx.vb:186
   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.4110.0
Tags: Hyperlink