Board index » Web Programming » Publish not showing Line Number in production

Publish not showing Line Number in production

Web Programming311
When I get an error on my local machine (not try catch), I get the line # and

module it bombed in. This is what I need. After I publish and move to the

test server, it only gives me the error in hexadecimal format with no line

number or module that it bombed in. I'm moving the PDB file to the server

too. I publish with the toolbar Build, and then Publish web site. I check

"Allow the precompiled site to be updatable". Is there something else I need

to do to show the line number and module it bombed in instead of that funky

hex error message? How do I get the line number and module it bombed in?



--

Chris Davoli


-
 

Re:Publish not showing Line Number in production

yes, use a debug build to get line numbers.



-- bruce (sqlwork.com)





"Chris Davoli" <ChrisDavoli@discussions.microsoft.com>wrote in message

Quote
When I get an error on my local machine (not try catch), I get the line #

and

module it bombed in. This is what I need. After I publish and move to the

test server, it only gives me the error in hexadecimal format with no line

number or module that it bombed in. I'm moving the PDB file to the server

too. I publish with the toolbar Build, and then Publish web site. I check

"Allow the precompiled site to be updatable". Is there something else I

need

to do to show the line number and module it bombed in instead of that

funky

hex error message? How do I get the line number and module it bombed in?



--

Chris Davoli







-

Re:Publish not showing Line Number in production

This is VS2005

Thanks, but where do I do the debug build? the only three choices it gives

me when i publish is

"Allow the precompiled site to be updatable"

"use fixed nameing and single page assemblies"

"Enable strong naming on precompiled assemblies"



Where do I specify this?





--

Chris Davoli







"bruce barker (sqlwork.com)" wrote:



Quote
yes, use a debug build to get line numbers.



-- bruce (sqlwork.com)





"Chris Davoli" <ChrisDavoli@discussions.microsoft.com>wrote in message

news:EC3DF2E0-E4A7-4019-834C-C8C926127BA5@microsoft.com...

>When I get an error on my local machine (not try catch), I get the line #

>and

>module it bombed in. This is what I need. After I publish and move to the

>test server, it only gives me the error in hexadecimal format with no line

>number or module that it bombed in. I'm moving the PDB file to the server

>too. I publish with the toolbar Build, and then Publish web site. I check

>"Allow the precompiled site to be updatable". Is there something else I

>need

>to do to show the line number and module it bombed in instead of that

>funky

>hex error message? How do I get the line number and module it bombed in?

>

>--

>Chris Davoli

>







-

Re:Publish not showing Line Number in production

In web.config : <compilation debug = "true|false">







Juan T. Llibre, asp.net MVP

aspnetfaq.com : www.aspnetfaq.com/">www.aspnetfaq.com/

asp.net faq : asp.net.do/faq/">asp.net.do/faq/

foros de asp.net, en español : asp.net.do/foros/">asp.net.do/foros/

===================================

"Chris Davoli" <ChrisDavoli@discussions.microsoft.com>wrote in message

Quote
This is VS2005

Thanks, but where do I do the debug build? the only three choices it gives

me when i publish is

"Allow the precompiled site to be updatable"

"use fixed nameing and single page assemblies"

"Enable strong naming on precompiled assemblies"



Where do I specify this?





--

Chris Davoli







"bruce barker (sqlwork.com)" wrote:



>yes, use a debug build to get line numbers.

>

>-- bruce (sqlwork.com)

>

>

>"Chris Davoli" <ChrisDavoli@discussions.microsoft.com>wrote in message

>news:EC3DF2E0-E4A7-4019-834C-C8C926127BA5@microsoft.com...

>>When I get an error on my local machine (not try catch), I get the line #

>>and

>>module it bombed in. This is what I need. After I publish and move to the

>>test server, it only gives me the error in hexadecimal format with no line

>>number or module that it bombed in. I'm moving the PDB file to the server

>>too. I publish with the toolbar Build, and then Publish web site. I check

>>"Allow the precompiled site to be updatable". Is there something else I

>>need

>>to do to show the line number and module it bombed in instead of that

>>funky

>>hex error message? How do I get the line number and module it bombed in?

>>

>>--

>>Chris Davoli

>>

>

>

>





-