Tuesday, July 1, 2014

Not able to debug Remote event receiver in provider hosted app :

http://ift.tt/1o31S5j


Make sure firewall is off on the system


To run and test event handler debugging





  1. Choose the F5 key to run the project.




  2. In the dialog box that appears and alerts you that remote debugging isn't enabled, choose the OK button to continue.


    This message appears when the Notify me if remote event debugging is not configured check box on the SharePoint properties page is selected.




  3. Stop debugging the project.




  4. In Solution Explorer, choose the SharePoint project.




  5. On the menu bar, choose Project, Properties to view the project properties page.




  6. At the bottom of the SharePoint properties page, select the Enable remote event debugging check box.




  7. In the appropriate box, paste the connection string for your Azure Service Bus, and then save the project.


    For information about how to obtain a connection string, see the Debugging remote events section in How to: Create a basic autohosted app for SharePoint.




  8. In the web project, open the remote event receiver service (RemoteEventReceiver1.svc), and then add a breakpoint to any line of code inside the ProcessEvent() method.




  9. Choose the F5 key to run the project again.




  10. Choose the + New item button to add an item to the list.




  11. Provide a title for the item, and then choose the Save button.


    The breakpoint that you added to the remote event receiver is hit, verifying that you're debugging the remote event receiver.




  12. Choose the F5 key to continue to run the project, and then stop debugging when you're done.




http://ift.tt/1o31Qub


Also check below:


http://ift.tt/1jAjG6E


http://ift.tt/1jAjG6I





If this helped you resolve your issue, please mark it Answered


No comments:

Post a Comment