View Single Post
  #1 (permalink)  
Old May 9th, 2006, 06:06 PM
kenn_rosie kenn_rosie is offline
Authorized User
 
Join Date: Jan 2006
Location: , , .
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
Default I see no line numbers when viewing errors in brows

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.Fr omString(String Value, CultureInfo culture)
   Microsoft.VisualBasic.CompilerServices.DateType.Fr omString(String Value)
   COMS.FieldReports.grdFieldReport_Update(Object sender, DataGridCommandEventArgs e)
   System.Web.UI.WebControls.DataGrid.OnUpdateCommand (DataGridCommandEventArgs e)
   System.Web.UI.WebControls.DataGrid.OnBubbleEvent(O bject source, EventArgs e)
   System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args)
   System.Web.UI.WebControls.DataGridItem.OnBubbleEve nt(Object source, EventArgs e)
   System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args)
   System.Web.UI.WebControls.LinkButton.OnCommand(Com mandEventArgs e)
   System.Web.UI.WebControls.LinkButton.System.Web.UI .IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
   System.Web.UI.Page.RaisePostBackEvent(IPostBackEve ntHandler sourceControl, String eventArgument)
   System.Web.UI.Page.RaisePostBackEvent(NameValueCol lection postData)
   System.Web.UI.Page.ProcessRequestMain()