I'm developing provider-hosted SharePoint 2013 App with Windows Azure as a backend. I created an app event receiver to fire when app is installed. When i publish my Web App (.NET MVC4) to Azure, everything works as expected, event is firing, but when i try to debug and run Web App on localhost i get the exception:
App failed to install, cleaning up... Successfully uninstalled the app for SharePoint. App installation encountered the following errors: Error 1 CorrelationId: 0dce0e63-83c2-4546-a6a7-4e75d9cee9ff ErrorDetail: The remote event receiver callout failed. ErrorType: Transient ErrorTypeName: Intermittent ExceptionMessage: There was no endpoint listening at http://localhost:50209/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
Do anybody have any idea to solve this problem?
Thanks in advance!