I am running Visual Studio 2010 and attempting to debug an ASP.Net application deployed to IIS. Here is what I have already checked:
- VS is in debug mode and the pdb files have been generated and are in the proper directory
- I have unchecked the "Enable Just My Code" box in Debug options.
- I have confirmed that the supported runtime is set to v2.0.50727 in the web.config.
- I have enabled IIS anonymous authentication and confirmed the app pool is targeting ASP.Net 2.0.
- I have recompiled and re-deployed and confirmed that the dll versions are the same.
I am able to see the ASP.Net worker process (w3wp.exe) in the Attach to Process dialog, and I have set the "Attach To:" option to "Managed (v2.0, v1.1, v1.0) code". I click "Attach to Process" and the process appears in the Process tab.
But: the Modules tab is empty and my breakpoints are never hit. I have hovered over the breakpoints and I do not see the "this breakpoint will never be hit" message.
Am I missing something?
C:\Windows\System32\inetsrv\appcmd list wp
– eXavier