Link to home
Start Free TrialLog in
Avatar of ba272
ba272

asked on

Can't get the web service to stop at a break point - considering re-installation of VS

Greetings,

I've attempted today to get my development environment established so I could write web services, but don't think I'd don't it quite right.  I can not set a break point in the web service - it skips over it.  

Can anyone suggest a solution?  Or might it be wiser for me so simply start over?

I could uninstall Visual Studio, then re-install it.  I needed to update .NET Framework today, and think that may have caused my problems.

Could someone suggest a series of steps to follow as I rebuild my system?  Please include steps involving updating .NET Framework to a given version. IIS, MSDN as well.  

I have VS 2003.  I will do this but want it to work perfectly when completed.

Thanks,
Bob
SOLUTION
Avatar of devsolns
devsolns

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of ba272
ba272

ASKER

Sould I do that in just the VS running the web service?
Avatar of ba272

ASKER

I'm having trouble finding the option.  What menu items do I select to open the dialog?

Thanks.
I'm  sure the same applies for c#, here are instructions:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vsintro7/html/vxtskaccessingprojectproperties.asp


also some more info

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vsintro7/html/vxurfConfigurationDebugTab-ProjectPropertiesPage.asp



ALSO here are instructions with screen shots:
http://www.perfectxml.com/nostarch/VBNet/

go down the page until you see "Debugging a Web Service Project" that will show you how.  im glad you didnt reinstall VS.NET that would have been a waste of time!

good luck - gp
Avatar of ba272

ASKER

Thanks for trying. Unfortunately I can not find in C# how to choose the option, "Wait for an external process to connect".  There are similarities between VB and C#, but in the case the difference is stopping me.  It's just not available.

The reason I am seriously consiering re-installing my environment is that in addition to this problem I also have the problem that the default web services test browser does not open.  If I remember correctly, to the day when I wrote my first web service, I was able to run the web service, and up popped the entire interface of the web service, inside a browser.

Anyway, if you have any more ideas it wold be great to hear from you.  Othherwise I may re-install my entire Visual Studio environment.

Thanks,
Bob
even if you reinstall your going to need to know how to do what i said or else it wont work.  keep looking!
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of ba272

ASKER

Thanks for the guidance.  I found it and have changed to "Wait to Attach to an External Process."  But it doesn't seem to make a difference.

I changed this setting on the web service and have it open in a second instance of VS.  nd i have a breakpoint set on the one line that gets executed in this hello world program.  It functions correctly, returning the proper sting to the calling Windows program.  But it does not stop at the breakpoint.

Is there something else I needed to change?

Thanks,
Bob