locked
The breakpoints will not hit. No symbols have been loaded. ASP.NET 4.0 VS 2012 RRS feed

  • Question

  • User-309528975 posted

    Hi

    I have upgraded my application from ASP.NET 2.0 to ASP.NET 4.0 ( also from VS 2005 to VS 2012). There is a strange problem I am facing during debugging my application. None of the breakpoints in my web application's codebehind file hits. It says: "The breakpoint will not currently be hit. No symbols have been loaded for this document".

    Project configurations are below:

    <compilation defaultLanguage="c#" debug="true" targetFramework="4.0">
    Platform target: Any CPU
    Configuration: Debug
    Environment: Windows Sever 2012, IIS 8.0, VS 2012
    I have tried:
    • Deleting .pdb file / bin folder
    • Cleaning, rebuilding whole project
    • resetting IIS (8.0)
    • Breakpoints are in the code execution path
    • Attaching w3wp.exe process

    but it didn't do any good. 

    Thursday, February 21, 2013 1:52 PM

Answers

  • User-166373564 posted

    Hi itsrizi

    Sorry for the issue that you are hitting.

    I have installed Visual Studio 2012 on Windows Server 2008 R2 SP1 and "It worked absolutely fine",

    Windows Server 2012 and VS 2012, the break points are not being hit once agian

    I think you could consider submitting this issue to Microsoft connect site( http://connect.microsoft.com/VisualStudio),

    Microsoft engineers will evaluate this issue seriously, and they will give positive response about this issue.

    With regards

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, February 28, 2013 3:13 AM

All replies

  • User281315223 posted

    Have you tried completely restarted Visual Studio? That can usually flush out some of these issues.

    You may want to check out this discussion of the same issue on Stack Overflow for a variety of different suggested solutions.

    You may also want to see if Hans' suggestion in this discussion solves your problem as well, which explains that the problem could due to the location of your .PDB files in relation to your .exe file.


    Thursday, February 21, 2013 2:15 PM
  • User-309528975 posted

    Thanks Rion! I have restarted Visual Studio and System several times. here are some advancements

    I have installed Visual Studio 2012 on Windows Server 2008 R2 SP1 and "It worked absolutely fine" :o

    BUT

    When I prepared a fresh machine (physical) having Windows Server 2012 and VS 2012, the break points are not being hit once agian. So I think there is some compatibality issue ( or any other issue or a bug) b/w Windows 2012 and VS 2012. Please help!

    Friday, February 22, 2013 10:45 AM
  • User281315223 posted

    Have you tried running Visual Studio as an Administrator ("Run as Administrator") to see if that makes any difference?

    I'm not aware of any issues that would occur from using Windows Server 2012 alongside Visual Studio 2012 (and why that could possibly affect your debugging and breakpoints).

    There are several Microsoft folks around here that may be able to assist you with this or you could report the issue as a bug, because it sure does sound like one.

    Friday, February 22, 2013 10:57 AM
  • User-166373564 posted

    Hi itsrizi

    Sorry for the issue that you are hitting.

    I have installed Visual Studio 2012 on Windows Server 2008 R2 SP1 and "It worked absolutely fine",

    Windows Server 2012 and VS 2012, the break points are not being hit once agian

    I think you could consider submitting this issue to Microsoft connect site( http://connect.microsoft.com/VisualStudio),

    Microsoft engineers will evaluate this issue seriously, and they will give positive response about this issue.

    With regards

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, February 28, 2013 3:13 AM