473,396 Members | 1,918 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Publish not showing Line Number in production

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

Sep 21 '06 #1
3 2003
yes, use a debug build to get line numbers.

-- bruce (sqlwork.com)
"Chris Davoli" <Ch*********@discussions.microsoft.comwrote in message
news:EC**********************************@microsof t.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

Sep 21 '06 #2
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" <Ch*********@discussions.microsoft.comwrote in message
news:EC**********************************@microsof t.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


Sep 21 '06 #3
In web.config : <compilation debug = "true|false">

Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
"Chris Davoli" <Ch*********@discussions.microsoft.comwrote in message
news:3C**********************************@microsof t.com...
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" <Ch*********@discussions.microsoft.comwrote in message
news:EC**********************************@microso ft.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



Sep 21 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: A P | last post by:
Hi! I have installed VB.Net 2003 on my computer and develop a simple web application. I want to publish the project that I made to our production server. How can I publish a web application? ...
8
by: Graham | last post by:
I noticed a similar post awhile ago and in terms of my problem it wasnt a suitable answer so I will ask again. I have VS2005 running a on development machine in my office where I do all my...
5
by: NoNickname | last post by:
Basically, how do I know that the release versions of all components are being published? The Build | Configuration Manager is confusing me a little in VS2005. I have three projects in my...
3
by: ReidarT | last post by:
I have made a simple webapplication in vb.net, with 2 aspx-pages. Which files do I upload to the production-server and are there any dependency-files? Are the files that need to be uploaded in...
0
by: Chris Davoli | last post by:
Desktop Environment - Win XP Pro 2002 SP2, Visual Studio 2005 Professional Server Enviroment - Windows Server 2003 My debugging is working just fine on my local machine (gives me line number and...
1
by: kurt sune | last post by:
I am having trouble publishing a website for RELEASE. 1. web.config: <compilation defaultLanguage="vb" debug="false"> 2. in Configuration manager I set the configuration to Release for the...
6
by: Eric | last post by:
I have what is hopefully a quick question. I want to have a quick and easy method for deploying my website to our test environment. I need something to do nearly the same thing as the "Publish...
0
by: Open Publish 2007 | last post by:
Open Publish 2007 March 7 -9, Baltimore, Maryland http://www.open-conferences.com/baltimore/cfp.html Open Publish, is seeking participants to present on management and implementation issues...
3
by: =?Utf-8?B?QWxoYW1icmEgRWlkb3MgS2lxdWVuZXQ=?= | last post by:
Hi all, I am working on a windows forms app. I do my development in a development environment, and I have certain settings in my app.config like connection to WCF services that point to my...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.