Friday 18 December 2015

SharePoint 2013 Apps Issue: Server Error in ‘/’ Application - The resource cannot be found - HTTP 404.

Hello Friends,


I am Sandeep. I had setup the SharePoint 2013 server farm and created App Catalog site, App Domain and App prefix in the "Apps" section in SharePoint 2013 Central Administration.
Then I added the App into App Catalog site and tried to open the App link, hence I got the below error message.


Server Error in ‘/’ Application.
The resource cannot be found.

Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.
Requested URL:


Reference Screenshot for the Error Message:



Solution:

I found the good article from one of the SharePoint guy and it is really a simple solution to fix this issue.
  1. Create a new Web-Application with the SharePoint server name on port 80 without host-header name.
  2. Create a Root Level Site collection for the above Web-Application without mentioning any Managed paths as: /sites/apps/.
Then it will START working without the below error message.


Note: You can delete the Server named Web-Application after few days when the App's are started working.


Please find the below link for your reference.
http://absolute-sharepoint.com/2013/02/troubleshooting-setting-up-an-environment-for-apps-for-sharepoint-2013.html