Hello Team,
I am trying to create Apps , when i am deploying it shows the fallowing error ,please check that and solve my error.
App failed to install, cleaning up...
2> Successfully uninstalled the app for SharePoint.
2> App installation encountered the following errors:
2>
2> @"Error 1
2> CorrelationId: d2e66e18-2823-42fc-9acd-f28bf3001354
2> ErrorDetail: The remote event reciever callout URL is invalid.
2> ErrorType: App
2> ErrorTypeName: App Related
2> ExceptionMessage: System.IO.InvalidDataException: Failed to create an absolute Url from the string '~remoteAppUrl/AppEventReceiver.svc'. The string may contain invalid tokens.
2> at Microsoft.SharePoint.Administration.SPAppInstance.CreateUriFromString(String combinedUrl)
2> at Microsoft.SharePoint.Administration.SPAppInstance.ResolveUrl(Uri url)
2> at Microsoft.SharePoint.Lifecycle.SPAppLifecycleEventCalloutTask.CallRemoteEventReceiver(SPAppInstance instance)
2> at Microsoft.SharePoint.Lifecycle.SPAppLifecycleEventCalloutTask.Deploy()
2> at Microsoft.SharePoint.Administration.SPAppTask.DeployOperation()
2> at Microsoft.SharePoint.Lifecycle.MonitoredTaskExecution.DoTask()
2> Source: Common
2> SourceName: Common App Deployment
2>Error occurred in deployment step 'Install app for SharePoint': Failed to install app for SharePoint. Please see the output window for details.
========== Build: 1 succeeded, 0 failed, 1 up-to-date, 0 skipped ==========
========== Deploy: 0 succeeded, 1 failed, 0 skipped ==========