RE: asmx web service

2011-12-12 Thread Peter Maddin
I found this at http://social.msdn.microsoft.com/Forums/en-IE/asmxandxml/thread/844c1319-3e3 6-45da-a997-997890c37466 If it's an ASMX web service, then you can use Debug->Attach to Process to attach to the aspnet_wp or w3wp.exe processes. Then open the ASMX.cs or asmx.vb file in Visual Stud

RE: asmx web service

2011-12-12 Thread Peter Maddin
With WCF, no probs. This is an old asmx web service built with vs2005 that I have converted within VS2010. I don't see that as an option. Regards Peter Maddin Applications Development Officer PathWest Laboratory Medicine WA Phone : +618 6396 4285 (Monday, Wednesday,Friday) Phone : +618 9

RE: asmx web service

2011-12-12 Thread Peter Maddin
Looks like I have to create a dummy client proxy (probably in a console app) to debug it. Shame as the web browser would have been so convenient. But I don't know what to attach to. Regards Peter Maddin Applications Development Officer PathWest Laboratory Medicine WA Phone : +618 6396 4285 (

Re: asmx web service

2011-12-12 Thread Jano Petras
w3wp.exe is not available unless application pool is up (1 app pool = 1 w3wp in IIS7). If you are running it under IIS, and cannot find process to attach to, execute the first web method that works fine. This will load application pool and from that point on (until the next build) you will see thi

RE: asmx web service

2011-12-12 Thread Peter Maddin
Thanks for that I got breakpoint hit, but in the web method that works. Looks like the exception occurs before the it hits the source code where I placed my break point in the method that is failing. I'll have to investigate some more. I really hate trawling through someone else's code.

RE: asmx web service

2011-12-12 Thread Peter Maddin
Great, got to my breakpoint. The method did not like me passing in an empty string to a Boolean parameter. This is why it did not reach my breakpoint before. Should have twigged with this System.ArgumentException: Cannot convert to System.Boolean. Parameter name: type ---> System.For

Re: Playing nicely with ServicePointManager.ServerCertificateValidationCallback

2011-12-12 Thread Corneliu I. Tusnea
Joseph, Firstly you should never (for production use) hook onto that method. It's a stupid design from MS to even have that method available as a static for the clear reasons you already identified (racing conditions mostly). The best way to "play nicely" is to start your plugin (or some part of

Re: How to go about syncing an SQL Server contacts table with an outlook address folder?

2011-12-12 Thread Corneliu I. Tusnea
Kirsten, Have a look at OneSaas (www.OneSaas.com). They integrate contacts cross a number of services and I know they have an Outlook Plugin in development already. Corneliu On Tue, Nov 15, 2011 at 4:27 PM, Kirsten Greed wrote: > Hi All > > ** ** > > Can anyone advise the best way to go