Publish not showing Line Number in production

G

Guest

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?
 
B

bruce barker \(sqlwork.com\)

yes, use a debug build to get line numbers.

-- bruce (sqlwork.com)
 
G

Guest

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) said:
yes, use a debug build to get line numbers.

-- bruce (sqlwork.com)
 
J

Juan T. Llibre

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




Chris Davoli said:
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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,236
Members
46,822
Latest member
israfaceZa

Latest Threads

Top