Ok let's think this through...

Scenario 1:
1. You're working on your webservice project on your local machine.
2. The webservice is located on your machine.

Scenario 2:
1. You're working on the webservice on your local machine.
2. The webservice is located on a remote server.

Scenario 3:
1. You're working on a project on your local machine.
2. You're project has a web reference (i.e. proxy class) for
the web service which is located on a remote webserver.

In the first scenario, debugging should be simple... just fire up the project and test the web methods.

In the second scenario, make sure you do the following:
1. Remember to copy your dll to the webserver before trying to debug after every recompile.
2. Make sure you've installed the machine debug manager (mdm.exe) on the webserver so that you can debug remotely.
3. Make sure you are a member of the debuggers group on the webserver.
4. Make sure that when you attach to the aspnet_wp.exe process that you pick the webserver from the dropdown list and not your own machine.

In the third scenario, you'll be able to break into your own code, but the web methods will be called and you won't be able to step into them.

Last but not least, make sure you're doing the obvious, like compiling in the debug configuration and not release.

-Brian

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 26, 2004 7:30 AM
To: [EMAIL PROTECTED]
Subject: Re: [C#.NET] Debug cant go to WebServices code

In a message dated 26/10/2004 12:00:27 GMT Standard Time,�
[EMAIL PROTECTED] writes:

Ok, and� that project that you have added is on your development machine?
Yes

And�
your development machine is where you a running the webservices� from?
No, the webservices is on the server machine

if�
that's the case then it should work, if it's a case of you've added the�
project on your development machine, but the web services are currently�
running from a different machine then obviously it won't break into the�
code.
I had it working on the same basis just a couple of months ago, when i last�
time amended the webservices functions...so why would it not work now?

I'm� guessing that you proberbly know all this already, in which case
i'm� afraid i'm at a loss.

Cheerio

Ian


Yahoo! Groups Sponsor
ADVERTISEMENT
click here
Web Bug from http://us.adserver.yahoo.com/l?M=315388.5526708.6599542.3001176/D=groups/S=:HM/A=2372354/rand=670047768


Yahoo! Groups Links

Reply via email to