RE: Event Viewer

Tech-Archive recommends: Fix windows errors by optimizing your registry



compile with debug (this will compile in the line numbers), but do not set
debug on in the web.config (as this effects asp.net performance).

-- bruce (sqlwork.com)


"john" wrote:

I am getting warning events like
Process information:
Process ID: 2764
Process name: w3wp.exe
Account name: NT AUTHORITY\NETWORK SERVICE

Exception information:
Exception type: InvalidCastException
Exception message: Conversion from string "" to type 'Boolean' is
not valid.

The problem is it will not tell me which line of the code caused this
error. Sometimes it is really hard to identify the place where the
code fails. Is there any way to add line number to warnings like this?

.



Relevant Pages

  • Re: How to debug this?
    ... code and set breakpoints in the IDE. ... When you compile a program in 'debug' configuration these 'symbols' are ... In certain 'debug' versions of VS.NET which are not made available to 'joe ... richer information to be displayed when an exception occurs. ...
    (microsoft.public.dotnet.languages.vb)
  • Re: How to debug this?
    ... Brett ... > When you compile a program in 'debug' configuration these 'symbols' are ... > In certain 'debug' versions of VS.NET which are not made available to 'joe ... > richer information to be displayed when an exception occurs. ...
    (microsoft.public.dotnet.languages.vb)
  • Re: How to debug this?
    ... >> When you compile a program in 'debug' configuration these 'symbols' are ... >> allow for richer information to be displayed when an exception occurs. ... >> is thrown ...
    (microsoft.public.dotnet.languages.vb)
  • Re: NEWBIE: Not sure why i am getting this type of error
    ... > Wayne... ... problems both during compile and when run. ... I'll stick the output from my debug window below. ... exception: CNotSupportedException @ 0x0012f82c. ...
    (microsoft.public.vc.mfc)
  • Re: Debug Vs Release
    ... > If I compile that code in debug mode then dissassemble the EXE, ... > private static void Main(stringargs) ...
    (microsoft.public.dotnet.framework.aspnet)