Re: Line number on error message?

From: Tom Kaminski [MVP] ((A_at_T))
Date: 07/21/04


Date: Wed, 21 Jul 2004 12:11:12 -0400


"Craig Deelsnyder" <cdeelsny@NO_SPAM_4_MEyahoo.com> wrote in message
news:%23U3KQjzbEHA.2340@TK2MSFTNGP10.phx.gbl...
> On 7/21/2004 9:53 AM, Tom Kaminski [MVP] wrote:
>
> > I'm 99% sure I used to see a line number referenced in my ASP.NET error
> > messages but sometime over the last couple of weeks the error messages
no
> > longer reference one. Am I imagining things or could something have
changed?
> >
>
> did you compile in debug mode? you can see if there's a .pdb file in
> the bin folder with the dll file. That usually gives line numbers in
> error messages.

That was it - I flipped it over to Release mode to put it into production
and forgot to flip it back. I *knew* something had changed ... : )

-- 
Tom Kaminski IIS MVP
http://www.microsoft.com/windowsserver2003/community/centers/iis/
http://mvp.support.microsoft.com/
http://www.iisfaq.com/
http://www.iistoolshed.com/ - tools, scripts, and utilities for running IIS
http://www.tryiis.com


Relevant Pages

  • Re: DHCP oddity
    ... I put dhcpd into debug mode and didn't get any error messages. ... interface was put into promiscuous mode? ...
    (freebsd-net)
  • Re: DHCP oddity
    ... > put dhcpd into debug mode and didn't get any error messages. ... interface was put into promiscuous mode? ...
    (freebsd-net)
  • Re: Method Categories" failed with object DocumentItem
    ... See this article about how to translate error messages: ... WHY Outlook (the server in this case) threw the exception, ... with MsgBox or (if in Debug mode) Debug.Print statements ...
    (microsoft.public.outlook.program_vba)
  • Re: Beginner Question XML not working on IIS6
    ... >> I have enabled asp on the IIS server. ... >> put a trace on the SQL Server and know that the page can login to the SQL ... > (also turn off friendly error messages in IE to get a more descriptive error ... > Tom Kaminski IIS MVP ...
    (microsoft.public.inetserver.iis)
  • Re: Setting up IIS 5.1
    ... > have pictures (Gallery). ... Turn off friendly error messages in IE so we can get something more useful ... Tom Kaminski IIS MVP ...
    (microsoft.public.inetserver.iis)