Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7662675
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T13:51:40+00:00 2026-05-31T13:51:40+00:00

Line numbers are not showing in stack traces This is a .Net 4.0 web

  • 0

Line numbers are not showing in stack traces

This is a .Net 4.0 web application

I have triple checked and the following statements are true:

  • pdb files are deployed in the bin dir
  • “deployment retail” is not set to true
  • “identity impersonate” is not set to true

When I run the app in debug mode on my machine, I can see the error line numbers but not when I publish the application (using a “dev” configuration mode) to a directory and copy it across to the destination location. The custom “dev” configuration mode is similar to the built in “release” configuration mode in visual studio 2010 but with “Output Debug Info” set to “pdb-only”.

Have I missed anything?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T13:51:42+00:00Added an answer on May 31, 2026 at 1:51 pm

    Ok got it sorry.

    Someone / something had changed the Output path in the build configuration to “bin\Dev\”. When the app is published, all the dlls and pdb files are deployed under /bin as you would expect but the /bin/Dev directory is not deployed.

    So the answer is to change the Output path to bin\

    Note: as Paolo suggested it’s also important to clear the temporary asp.net files otherwise you still don’t get line numbers.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Sometimes we receive stack traces from our customer with wrong line numbers. It happens
I have a file in which each line contains two numbers. The problem is
Summary I have written a process monitor command-line application that takes as parameters: The
How do I find the number in line number may not be in the
How can I get line numbers to print in Visual Studio 2005 when printing
How can I add line numbers to a range of lines in a file
I can see line numbers in my error logs in our development environment, in
Possible Duplicate: Why did we bother with line numbers at all? I'm curious about
Is it possible to show line numbers in the Developer Center when editing xslt
As the header is implying I'm trying to retrieve a certain line of numbers

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.