I am trying to create a provider hosted app in
SharePoint Online trial tenant with the remote web of the app hosted in IIS of an on premise server.
It is a simple Hello World app, with the remote web as simple ASP.net Form web project.
The App is registered in the tenant using the
appregnew.aspx. After this the client id and secret are used to publish the web project and the App project.
The web project is now deployed on an on-premises server IIS(internet access open) and the APP is published in App catalog and installed in the site collection.
Post APP installation, when I open the app, its redirecting to the remote web but there it fails with an error
"An error occurred while processing your request."
The same app works like a charm, when I point it to a developer site in the same tenant.
Am I missing any steps to get the provider hosted apps working?