Skip to main content

User a service bus to connect to debug remove event receivers.

I was trying to follow Kirk Evans blog http://blogs.msdn.com/b/kaevans/archive/2014/02/26/attaching-remote-event-receivers-to-lists-in-the-host-web.aspx on how to create and debug a remote event receiver. I get to the point where one uses a service bus, I created the service bus got the connection string. But I got this error @"Error 1
        CorrelationId: e47f76f0-ea2f-4e47-a663-11551dce10aa
        ErrorDetail: The remote event receiver callout failed.
        ErrorType: Transient
        ErrorTypeName: Intermittent
        ExceptionMessage: There was no endpoint listening at [ServiceBus++Url]/AppEventReceiver.svc that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details.
        Source: Common
        SourceName: Common App Deployment


I have tried to connect to the url in the browser an states that the service is available. After some searching, I found this blog http://nickwilliams.net/2014/10/30/remote-event-handlers-in-o365-azure-part-5-setup-the-windows-azure-service-bus-post-august-2014/. Following this worked. So to me it looks like it only works with the ACS connection string, and that you need to set up the service bus using PowerShell.

Comments

Popular posts from this blog

CSOM System Update that does not update minor version number

I was in a scenario where I had to do a add some data to a document list in a web job. My issue was that I could not find any system update method in the CSOM API. After searching it i found a blog post showing that one could just override the system fields, like Modified and Editor(Modified My). That seemed to work but that did not stop it form updating the version number of the document. This example will only work for minor unpublished version. I have not found a way to do this without a published version. There it will get a new minor version. The solution combines the use of adding Editor, and Modified with the use of the ValidateUpdateListItem metod. I found that one can set the item values on the item and just set one value in the form value list, then it will update all the fields. If one then set the "bNewDocumentUpdate" it will not update the version number if it is a minor version. So what i do is just get the values from the item before an update, then sets...

The future of sandbox solution

Probably old news, but I was wondering what will replace SandBox solution. Because how else would we deploy stuff to SharePoint Online without WSP's, After some searching on the net I found this blog entry on SharePoint dev blog (link below). That states that the managed code part of SandBox solution is going to be removed, not the declarative parts like content types, lists, modules, etc, This will still be supported in what they call a no-code SandBox Solution (NCSS). I must say that it is nice to know that you can still use the ok part of the SandBox solutions, https://www.blogger.com/blogger.g?blogID=921264504943302831#overview/src=dashboard