1

I created a simple sharepoint hosted app. No code added.

I press F5 and it works perfect.

When I switch to true the Handle App Installed event, it creates the app web, then I press F5, a browser window inside Vs opens and I click on Trust.

After 1 minute the App says it could not be installed, I havent added any code any where, its all the standard VS templates.

No idea where to check logs as I am using sharepoint online developer site collection.

I have IIS Locally

2
  • I could find the error finally on VS: The remote event receiver callout failed Sep 1, 2014 at 20:20
  • 1
    Please add it as answer so that other get benfit
    – Waqas Sarwar MVP
    Sep 1, 2014 at 22:22

1 Answer 1

2

App event Recievers and Remote Event Receivers do not work with Sharepoint hosted app. They work with provider hosted app only.

For more details on them, check this link.

4
  • then why on a sharepoint hosted app you have the option to add remote event receivers? that doesnt make sense. and why the book Sharepoint App Development(apress), on chapter 2 they explain how to do this. Sep 2, 2014 at 7:10
  • 1
    blogs.msdn.com/b/officeapps/archive/2013/03/21/… According to him, the app is converted to provider hosted app once you add the RER Sep 2, 2014 at 7:30
  • exactly it gets converted to auto hosted app.
    – Garima
    Sep 2, 2014 at 10:21
  • provider hosted Sep 2, 2014 at 10:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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