RE: Event Viewer
- From: bruce barker <brucebarker@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 27 Aug 2008 08:18:01 -0700
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?
- Follow-Ups:
- Re: Event Viewer
- From: Cowboy \(Gregory A. Beamer\)
- Re: Event Viewer
- From: john
- Re: Event Viewer
- References:
- Event Viewer
- From: john
- Event Viewer
- Prev by Date: Re: how to dispose session variables automatically
- Next by Date: RE: Missing Web log Entry's for file downloads using ashx
- Previous by thread: Event Viewer
- Next by thread: Re: Event Viewer
- Index(es):
Relevant Pages
|