0
votes

I'm building a "Hello World" SharePoint app. I followed the following simple steps:

  1. Logged-in with admin permissions to a server which has SharePoint installed on it.
  2. Opened Visual Studio 2013 with admin permissions.
  3. Selected File and then create new project. I selected 'App for SharePoint 2013' template, entered a project name and clicked OK.
  4. I selected SharePoint hosted option and entered the following in the URL: http://ABC/sites/devtest/ (where ABC is the SharePoint server hostname)
  5. I right-clicked the project and selected build and then selected deploy. It deployed successfully.

I opened the SharePoint site and navigated to Site contents. The URL is: http://ABC/sites/devtest/_layouts/15/start.aspx#/_layouts/15/viewlsts.aspx I found the SharePoint app and clicked on it. A new page opened with the following error:

Description: Unable to locate the server named "app-8a64e85b517a50.ABC" --- the server does not have a DNS entry. Perhaps there is a misspelling in the server name, or the server no longer exists. Double-check the name and try again.

I didn't understand the error but I searched for it in google and tried to solve it by following the instruction of some articles but I couldn't resolve it yet. I followed the steps in this article: http://www.tomshardware.com/faq/id-1954305/adding-dns-host-record-windows-server-2012-dns-server.html

Any help is highly appreciated

1

1 Answers

0
votes

It looks like either your DNS zone or sharepoint farm are not configured for addins. This documentation should help you do this technet link