Remote receivers debugging using azure service bus does not work

%3CLINGO-SUB%20id%3D%22lingo-sub-25762%22%20slang%3D%22en-US%22%3ERemote%20receivers%20debugging%20using%20azure%20service%20bus%20does%20not%20work%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-25762%22%20slang%3D%22en-US%22%3E%3CP%3EI%20have%20been%20developing%20a%20provider%20hosted%20add%20in%20based%20on%20the%20PnP%20Core.EventReceivers%20add%20in%20project.%20It%20uses%20remote%20event%20receivers%20both%20on%20list%20level%20and%20security%20group%20level.%20A%20couple%20of%20months%20ago%20I%20had%20the%20project%20up%20and%20running%20and%20was%20able%20to%20debug%20via%20the%20Azure%20Service%20Bus.%20I%20published%20it%20to%20several%20sites%20on%20SharePoint%20Online%2C%20and%20I%20does%20what%20it%20is%20supposed%20to.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ENow%20when%20I%20picked%20things%20up%20again%20and%20wanted%20to%20make%20some%20changes%20I%20am%20no%20longer%20able%20to%20debug.%20I%20am%20even%20having%20some%20trouble%20installing%20it.%20But%20for%20the%20most%20part%20installation%20works%20fine.%20It%20looks%20like%20the%20Service%20Bus%20i%20hooked%20up%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CPRE%3E%3CSPAN%20class%3D%22typ%22%3ESuccessfully%3C%2FSPAN%3E%3CSPAN%20class%3D%22pln%22%3E%20installed%20app%20%3C%2FSPAN%3E%3CSPAN%20class%3D%22kwd%22%3Efor%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22typ%22%3ESharePoint%3C%2FSPAN%3E%3CSPAN%20class%3D%22pun%22%3E.%3C%2FSPAN%3E%0A%3CSPAN%20class%3D%22typ%22%3EServices%3C%2FSPAN%3E%3CSPAN%20class%3D%22pun%22%3E%2F%3C%2FSPAN%3E%3CSPAN%20class%3D%22typ%22%3EAppEventReceiver%3C%2FSPAN%3E%3CSPAN%20class%3D%22pun%22%3E.%3C%2FSPAN%3E%3CSPAN%20class%3D%22pln%22%3Esvc%20has%20been%20registered%20on%20%3C%2FSPAN%3E%3CSPAN%20class%3D%22typ%22%3EWindows%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22typ%22%3EAzure%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22typ%22%3EService%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22typ%22%3EBus%3C%2FSPAN%3E%3CSPAN%20class%3D%22pln%22%3E%20successfully%3C%2FSPAN%3E%3CSPAN%20class%3D%22pun%22%3E.%3C%2FSPAN%3E%0A%3CSPAN%20class%3D%22typ%22%3EServices%3C%2FSPAN%3E%3CSPAN%20class%3D%22pun%22%3E%2F%3C%2FSPAN%3E%3CSPAN%20class%3D%22typ%22%3EAppEventReceiver%3C%2FSPAN%3E%3CSPAN%20class%3D%22pun%22%3E.%3C%2FSPAN%3E%3CSPAN%20class%3D%22pln%22%3Esvc%20has%20been%20registered%20on%20%3C%2FSPAN%3E%3CSPAN%20class%3D%22typ%22%3EWindows%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22typ%22%3EAzure%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22typ%22%3EService%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22typ%22%3EBus%3C%2FSPAN%3E%3CSPAN%20class%3D%22pln%22%3E%20successfully%3C%2FSPAN%3E%3CSPAN%20class%3D%22pun%22%3E.%3C%2FSPAN%3E%3C%2FPRE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBut%20I%20get%20the%20%22No%20symbols%20have%20been%20loaded%22%20message%20in%20Visual%20Studio.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20add%20in%20is%20running%20with%20Tenant%20permissions%20set%20to%20Full%20Control.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhat%20am%20I%20missing%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-25762%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EDeveloper%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EPnP%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-27148%22%20slang%3D%22en-US%22%3ERe%3A%20Remote%20receivers%20debugging%20using%20azure%20service%20bus%20does%20not%20work%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-27148%22%20slang%3D%22en-US%22%3E%3CP%3EIn%20the%20Old%20Azure%20dashboard%2C%20under%20the%20Configure%20page%20for%20your%20RER%2C%20confirm%20Remote%20Debugging%20is%20enabled.%3CBR%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20547px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F8079i12AA74E6D412F6CF%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22Capture.JPG%22%20title%3D%22Capture.JPG%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-26984%22%20slang%3D%22en-US%22%3ERe%3A%20Remote%20receivers%20debugging%20using%20azure%20service%20bus%20does%20not%20work%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-26984%22%20slang%3D%22en-US%22%3EI%20actually%20downloaded%20the%20Core.EventReciever%20project%20from%20Github%20again%20today%20and%20ran%20it%20on%20my%20SharePoint%20Online%20Developer%20site.%20I%20did%20the%20required%20config%20changes%20and%20ran%20the%20project%20in%20debug%20from%20Visual%20Studio.%20And%20debugging%20worked%20as%20expected.%20I%20then%20retracted%20and%20ran%20it%20again%20in%20debug.%20This%20time%20debugging%20did%20not%20work.%20Is%20there%20a%20version%20problem%20or%20uninstall%20problem%3F%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-26940%22%20slang%3D%22en-US%22%3ERe%3A%20Remote%20receivers%20debugging%20using%20azure%20service%20bus%20does%20not%20work%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-26940%22%20slang%3D%22en-US%22%3EI%20am%20not%20sure%20of%20what%20you%20mean%20by%20Azure%20Dashboard%2C%20but%20the%20SharePoint%20Add%20in%20project%20properties%20under%20the%20SharePoint%20tab%20I%20have%20the%20%22Enable%20debugging%20via%20Microsoft%20Azure%20Service%20Bus%22%20enabled.%20And%20I%20have%20specified%20the%20endpoint%20that%20I%20have%20created%20using%20ACS%20on%20the%20old%20Azure%20portal.%20Am%20I%20missing%20some%20other%20setting%20in%20the%20Azure%20dashboard%3F%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-25994%22%20slang%3D%22en-US%22%3ERe%3A%20Remote%20receivers%20debugging%20using%20azure%20service%20bus%20does%20not%20work%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-25994%22%20slang%3D%22en-US%22%3E%3CP%3EIn%20Azure%20dashboard%20%2C%20in%20the%20Application%20settings%20for%20your%20RER%20have%20you%20definitely%20enabled%20remote%20debugging%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Contributor

I have been developing a provider hosted add in based on the PnP Core.EventReceivers add in project. It uses remote event receivers both on list level and security group level. A couple of months ago I had the project up and running and was able to debug via the Azure Service Bus. I published it to several sites on SharePoint Online, and I does what it is supposed to. 

 

Now when I picked things up again and wanted to make some changes I am no longer able to debug. I am even having some trouble installing it. But for the most part installation works fine. It looks like the Service Bus i hooked up:

 

Successfully installed app for SharePoint.
Services/AppEventReceiver.svc has been registered on Windows Azure Service Bus successfully.
Services/AppEventReceiver.svc has been registered on Windows Azure Service Bus successfully.

 

But I get the "No symbols have been loaded" message in Visual Studio.

 

The add in is running with Tenant permissions set to Full Control.

 

What am I missing?

4 Replies

In Azure dashboard , in the Application settings for your RER have you definitely enabled remote debugging?

I am not sure of what you mean by Azure Dashboard, but the SharePoint Add in project properties under the SharePoint tab I have the "Enable debugging via Microsoft Azure Service Bus" enabled. And I have specified the endpoint that I have created using ACS on the old Azure portal. Am I missing some other setting in the Azure dashboard?
I actually downloaded the Core.EventReciever project from Github again today and ran it on my SharePoint Online Developer site. I did the required config changes and ran the project in debug from Visual Studio. And debugging worked as expected. I then retracted and ran it again in debug. This time debugging did not work. Is there a version problem or uninstall problem?

In the Old Azure dashboard, under the Configure page for your RER, confirm Remote Debugging is enabled.
Capture.JPG