Debugging .NET 2.0 Web Services from VS2003?

I have a web service created in the VS2005 asp.net 2.0 framework application that I need to use in application 1.1. I built a web service and then built a small application for checking frameworks 1.1 to name it, and it did a great job. So now I have added the web link in the same way as to the main 1.1 file application in which I need to use it. The invoked web method is of type boolean and returns true if successful. I will return to the truth, but the updates that the web method should perform do not occur. When I called the web method from a small test application - they happened just fine.

My question is: how can I debug this from my consumer 1.1 in my provider 2.0? MS docs say that I should just set a breakpoint when calling the web service and take a step to the right (they are currently on the same machine). This does not work, since it just works on this line of code. Any help was appreciated.

+3
source share
3 answers

Make sure you have <compilation debug="true"/>in the web.config files, and make sure they are both created in DEBUG mode.

, , , , . , .NET 1.1 VS2003, ? .NET 2.0. VS2005, , -, , .

+1

VS 2005 2008 , VS2003 arquaiq.

, 1.1 2.0 , 2.0

0

- 2.0 VS2003, , , . 1.1 VS2003 , IIS, - VS2005 ( aspnet_wp.exe WinXP W3WP.exe WinServer2K3 Vista). , 1.1, , -.

, , :

System.Diagnostics.Debugger.Break();

-, , , .

0

Source: https://habr.com/ru/post/1711005/


All Articles