Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

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!

Grzegorz.

share|improve this question

migrated from stackoverflow.com Jan 29 '13 at 15:13

This question came from our site for professional and enthusiast programmers.

1 Answer 1

From MSDN

Error: "There was no endpoint listening"


You get the following error when your handler runs in production:

"The remote event receiver callout failed. Details: There was no endpoint listening at https://{domain}:nnnnn/{path}/AppEventReceiver.svc that could accept the message. This is often caused by an incorrect address or SOAP action." where nnnnn is a port.

SharePoint requires that there be no explicit port in the URL of the handler in production. This means that you must use either port 443 for HTTPS, which we recommend, or port 80 for HTTP.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.