I see no line numbers when viewing errors in browser
-
I see no line numbers when viewing errors in browser Using VS 2003 VB.net View the project in a browser and there is a error, I do not see the line numbers and line of code causing the error. I do have the line numbers visible in the code behind and HTML. I use to get the line numbers when testing and getting errors. Need help trying to get the line numbers back and the code line: below is an example of all I get now: Cast from string "" to type 'Date' 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: Cast from string "" to type 'Date' is not valid. Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. Stack Trace: [InvalidCastException: Cast from string "" to type 'Date' is not valid.] Microsoft.VisualBasic.CompilerServices.DateType.FromString(String Value, CultureInfo culture) Microsoft.VisualBasic.CompilerServices.DateType.FromString(String Value) COMS.FieldReports.grdFieldReport_Update(Object sender, DataGridCommandEventArgs e) System.Web.UI.WebControls.DataGrid.OnUpdateCommand(DataGridCommandEventArgs e) System.Web.UI.WebControls.DataGrid.OnBubbleEvent(Object source, EventArgs e) System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) System.Web.UI.WebControls.DataGridItem.OnBubbleEvent(Object source, EventArgs e) System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) System.Web.UI.WebControls.LinkButton.OnCommand(CommandEventArgs e) System.Web.UI.WebControls.LinkButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) System.Web.UI.Page.ProcessRequestMain()