mvolo:
Also, if you are precompiling your module and dropping the .DLL in the /BIN directory, you need to make sure you are compiling in the debug configuration within VS and dropping the .PDB file in the /BIN directory as well.
Hi Mike
Thanks for trying to help me but I am still having problems with this:
Basically I have this configuration:
1) ASP.NET Web Site
2) BasicAuth Project
ASP.NET Web Site pointed to IIS Home Directory (c:\inetpub\websites\basicauth.vista)
My ASP.NET Web Site project in VS.NET references my BasicAuth project.
-----
- I stop the worker proesss
- I start the worker process
- I request a page so that W3WP.EXE starts up
- I click Debug - Attach to process in VS.NET 2005
- I set the attach to to Managed Code
- I select the W3WP Process from the available process list.
- I click attach.
I then select BasicAuth.CS and place a breakpoint.
I then fire the code in the browser which should trigger the breakpoint but the breakpoint has changed to a broken debug symbol and a message "No symbols have been loaded for this document"
When I go to Debug-Windows-Modules I get a line for my BasicAuth.DLL saying it is not optimized and that Symbols are loaded. It also says user N/A under the UserCode column.
I have turned off the option "Just My Code"
Any other thoughts?
Chris