RE: How to diagnose WCF 'NotFound'

2011-09-20 Thread Greg Keogh
Neil, Wallace, I created an ASP.NET client (instead of SL4) and attempted to upload 7MB and I get this stack of exceptions: ♦ CommunicationException: An error occurred while receiving the HTTP response to http://localhost/service/Aggregation.svc. This could be due to the service endpoint bi

RE: How to diagnose WCF 'NotFound'

2011-09-20 Thread Jake Ginnivan
Add a WCF error handler behaviour which changes the http return code to 200 even if there is an error (on the server side). The browser sees the http 500 return code which WCF returns when an exception is thrown, which the browser gets before Silverlight, then all Silverlight sees is a http 404

Re: Assembly binding woes

2011-09-20 Thread Matt Siebert
Just getting back to this now... Both assemblies are referencing the .NET 3.5 version of Autofac and the 4.0 version is out because these assemblies are being loaded into a .NET 3.5 process (3rd party native app that hosts .NET 3.5 for plugins). To add a probing path it would need to go in the 3r

RE: How to diagnose WCF 'NotFound'

2011-09-20 Thread Greg Keogh
>Add a WCF error handler behaviour which changes the http return code to 200 even if there is an error (on the server side). I've seen a few samples where people do this trick. However, I would rather have a naked wrestling match with a rabid grizzly bear than write some WCF behaviour code.

Re: How to diagnose WCF 'NotFound'

2011-09-20 Thread Stephen Price
Now I know what WCF really stands for. Wrestling Championship Federation. Have you seen my bear, Tibbers? :) On Wed, Sep 21, 2011 at 8:01 AM, Greg Keogh wrote: > >Add a WCF error handler behaviour which changes the http return code to > 200 even if there is an error (on the server side). >

Re: SharePoint client object model for Site[Collections]

2011-09-20 Thread Nathan Schultz
Hi Steve, In regards to the Powershell question - I'm reading between the lines a bit about your exact requirements. You do not have to use the Sharepoint 2010 Management Shell. The only difference between Windows Powershell and the Sharepoint 2010 Management Shell is the Sharepoint providers load

Re: How to diagnose WCF 'NotFound'

2011-09-20 Thread Grant Maw
Ye I think this whole naked bear wrestling thing is a wonderful idea. Perhaps @ the next TechEd or CodeCamp Greg could do something like this. I for one would pay good money to see it :) On 21 September 2011 10:52, Stephen Price wrote: > Now I know what WCF really stands for. Wrestling Champion

Launching email client

2011-09-20 Thread Greg Keogh
Ye I think this whole naked bear wrestling thing is a wonderful idea. Perhaps @ the next TechEd or CodeCamp Greg could do something like this. I for one would pay good money to see it :) If you double my pay I'll do it in a pit full of cobras. But seriously, I was just about to post a quest

Re: Launching email client

2011-09-20 Thread Richard Mason
Hi Greg, You're looking at the results of a URL protocol handler. See here for more info: http://msdn.microsoft.com/en-us/library/aa767914(v=vs.85).aspx ciao, Richard Aussie Bushwalking It's like Wikipedia... but for Bushwalkers! http://www.aussiebushwalking.com/ On Wed, Sep 21, 2011 at 1:18 PM

RE: Launching email client

2011-09-20 Thread Greg Keogh
You're looking at the results of a URL protocol handler. See here for more info: http://msdn.microsoft.com/en-us/library/aa767914(v=vs.85).aspx Aha! You can see them under here: HKEY_CLASSES_ROOT\PROTOCOLS\Handler Greg

Re: Launching email client

2011-09-20 Thread Stephen Price
I'm looking for; System.Diagnostics.Process.Start("wrestle:g...@mira.net ?subject=grizzly&option=cobras"); Seriously though, only double your pay? We could pass around a collection tin and make this happen guys! On Wed, Sep 21, 2011 at 11:18 AM, Greg Keogh wrote: > *Ye I think this whole naked

Re: Launching email client

2011-09-20 Thread noonie
Cool... WOAH! "CDL: Asychronous Pluggable Protocol Handler" Even Google returns results for Asynchronous and that key is littered with the mis-spelt Asychronous... Now to find out what CDL and friends are... -- noonie On 21 September 2011 13:50, Greg Keogh wrote: > PROTOCOLS

RE: Launching email client

2011-09-20 Thread Peter Maddin
Hi Greg I have used this class https://blazeapps.svn.codeplex.com/svn/BlazeAppplications/BA/Mail/MapiUtilit y.cs I wanted to invoke the existing clients default email client and pass information including attachments to it. I did not want to write an embedded email client using eit

RE: Launching email client

2011-09-20 Thread Ian Thomas
CDL - http://en.wikipedia.org/wiki/Common_Data_Link (military protocol) ? established 1991 There is a W3C spec for WS-CDL so maybe that's what the asy(n)chronous pluggable derives from. The MSDN docs surrounding this URL ar

Re: Launching email client

2011-09-20 Thread noonie
Thanks, There's a whole bunch of interesting protocols in there. And who uses gopher anymore anyway... -- Regards, noonie On 21 September 2011 15:01, Ian Thomas wrote: > CDL - http://en.wikipedia.org/wiki/Common_Data_Link (military protocol) ? > established 1991 > > ** ** > > There is

Re: SharePoint client object model for Site[Collections]

2011-09-20 Thread Stephen Liedig
Thanks for the responses guys. We got what we needed through the Admin WebServices - it has a method that allows you to create Sites (CreateSite(...)). Once the site is created we can then use the client object model to assign the necessary permissions and make any other changes we need to the webs

RE: How to diagnose WCF 'NotFound'

2011-09-20 Thread Greg Keogh
Thanks Jake, I'll save that code sample. The reason I was so hostile to the idea of writing behaviours comes from last year where I thought I had to write one to allow an SL4 app to send authentication data with each WCF call. I wanted to use the equivalent of a SOAP header which was really easy to

RE: Launching email client

2011-09-20 Thread Greg Keogh
>... the client has their email client open, it does not work. The problem you describe is happening to me consistently with Outlook 2007. In any case it's an interesting piece of code. Greg

RE: Launching email client

2011-09-20 Thread Peter Maddin
After the client clicks on the button I post a message saying to the client that the email client should open. If it does not, close any open session and try again. All they have to do is close any email window and click on the button again. Regards Peter Maddin Applications Development Offic