debugging asp.net apps on a 2003 server running sharepoint

L

Lee Connell

I can't seem to figure out how to debug my own asp.net apps on my windows
2003 small business server thats running sharepoint. When I try to debug an
app it tells me the project is not configured to be debugged. the
web.config file is set to debug=true. I have all rights on the server. I
don't know what else to try, this is killing me. Anyone know what I can try
next?

thanks.
 
G

Ganesan Subramanian

This is a good one.

VS.net will not delegate the credentials to .NET CLR (worker process) in
Windows 2003 Server.

So, In the Debug version of application code file, place the breakpoint and
press Ctrl+F5.

Now the worker process (aspnet_wp.exe or w3wp.exe) will be created.
Use Tools - Attach Process and select the worker process created. Then say
attach for CLR.

Now when you perform the event, the breakpoint gets hit and you can debug
normally.

Irritation is everytime you have to attach/detach worker process.

As of now I cant find any way by which you directly press F5 and debug.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,534
Members
45,008
Latest member
Rahul737

Latest Threads

Top