Platform: Sharepoint on-premise
Requirement: To connect Remote Event Receiver to an existing list in the Host Web
Problem: Error in deploying Remote Event Receiver
Details:
- Created a new Provider Hosted App in Visual Studio By clicking File>New Project
Went to Project Properties by pressing F4> Handle App Installed=True , Handle App Unistalling=True
This automatically created AppEventReceiver.svc in my Project
Right Clicked on the proj>Deploy. Then the error shown under title "Problem" above appears.
AppManifest.xml & Web.Config:
One Solution I tried:
Went to Project Properties by right clicking on "ProvHostedWeb".
Copied the URL under title "Project Url" and pasted it against ~remoteAppUrl in the AppManifest.xml file but it didn't work out. The app is still not getting deployed.