Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / C# / May 2007

Tip: Looking for answers? Try searching our database.

Can't debug IIS service from client app

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ronald S. Cook - 25 May 2007 03:45 GMT
1) I start my client Windows app
2) At a breakpoint I attach to the aspnet_wp.exe
3) I continue stepping through code

I am expecting to make it over to the service project (where I have a
breakpoint) but it never goes there.

What am I doing wrong?

Thanks,
Ron
Ashot Geodakov - 25 May 2007 18:42 GMT
Why can't you just hit F5 on your Website project?

You will need to change its setting to:

Project Properties -> Start Options -> "Don't open a page. Wait for a
request from an external application."

Then hit F5. Visual Studio will run a "ASP.NET Development Server", which is
an analog to IIS but listens to a different port. Change your client to
connect to that port, and then you are free to debug your web app.

Signature

http://www.rackaroo.com

> 1) I start my client Windows app
> 2) At a breakpoint I attach to the aspnet_wp.exe
[quoted text clipped - 7 lines]
> Thanks,
> Ron

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.