none
Apps in SharePoint 2013

    Question

  • Hello Forum 

    Followed this guide to setup the App for SharePoint: 

    https://technet.microsoft.com/en-us/library/fp161236.aspx (can't create the link as the point)

    When I try to PING ContosoApps.com it responds fine.  

    Then I added the free Corporate news app from the SP online store.

    When I try to use the App it fails: "The webpage cannot be found"   

    http://Apps-12345678ABCDEF.ContosoApps.com/sites/appsite/App1Name/

    So it can't resolve the: Apps-12345678ABCDEF part

    The Subscription Settings and App Management service applications are created and the services are running.

     What am I missing?  - IIS binding or?

    Thanks in advance :)


    • Edited by Mike2017 Friday, March 03, 2017 8:34 AM
    Friday, March 03, 2017 5:56 AM

All replies

  • Hi Mike,

    I believe "ContosoApps.com" is the app domain that you have configured pointing to your SharePoint server(in case of On-Premises Apps configuration).

    Try to ping 123.ContosoApps.com, wherein 123 would indicate unique ID for apps.

    If you do not receive ping response for above then it seems to be issue with App domain configuration.

    Check: https://swapnilkh.wordpress.com/configure-on-premises-apps-store/

    Mark as answer if above is helpful.

    • Marked as answer by Mike2017 Friday, March 03, 2017 10:28 AM
    • Unmarked as answer by Mike2017 Friday, March 03, 2017 12:35 PM
    • Proposed as answer by JmATK Monday, March 06, 2017 10:07 AM
    Friday, March 03, 2017 9:31 AM
  • Hi SharePoint-Sunny

    Yes I get a reply from the SP server when pinging the 123.contoso.com

    Thanks for the link.

    I don't have a seperate WebApp for these App to use - I'll do this and return if it still not working :)

    Friday, March 03, 2017 10:25 AM
  • Hi SharePoint Sunny

    I've now created a new WebApp: spapps.contoso.com - and from CA created a App catalog site - and then I've added the free Corporate News .wsp to the app store... but from the other WebApp http://portal - I can't add the Corporate news App....If I add it on the site that on the WebApp spapps.contoso.com it fails - not resolving the app.123245678.spapps.contoso.com   

    Friday, March 03, 2017 12:50 PM
  • Hi Mike,

     Please check the Trust Level settings for App configuration. 

     You need to provide full trust to use the app.

    Thanks,

     

    Friday, March 03, 2017 12:59 PM
  • I'm facing similar issues

    Created a New zone 'JMApps.contoso.com' - it also works on PING and reply's from the SP WFE Server

    Then I've created a New SP WebApp with host 'JMApps.contoso.com' and configured the App URLS to this App Domain:  JMApps.contoso.com  App prefix: apps  

    The App Catalog has created a Site in the WebApp 'JMApps.contoso.com'  

    So adding a free News App from the SP store to the App Catalog that's in the 'JMApps.contoso.com' WebApp

    From another WebApplication: http://Portal  - I can't see the added App nor can I add it - if I then add the "News" App to the Site that in the "JMApps.contoso.com" its added - but when I try to click on it, its URL fails:  

    http://apps-3aec80cef36af5.JMApps.contoso.com/CorporateNewsApp/Pages/Default.aspx?SPHostUrl=http%3A%2F%2Fportal&SPLanguage=en%2DUS&SPClientTag=0&SPProductNumber=16%2E0%2E4483%2E1000&SPAppWebUrl=http%3A%2F%2FApps%2D3aec80cef36af5%2EJMApps%2Ecom%2FCorporateNewsApp

    Shouldn't I from the Portal see the Apps that are Added in the JMApps.contoso.com so the Portal utilize the JMApps portal instead of the Online store? 


    • Edited by JmATK Monday, March 06, 2017 6:15 AM
    Monday, March 06, 2017 6:15 AM
  • found this one: 

    https://technet.microsoft.com/en-us/library/dn144963.aspx

    hmmm....

    "We can't set this app domain because no wildcard binding exists for the default port of this web application. We need a port specified for the app domain in order to create a new wildcard"

    Update - don't set host in creating the New WebApp HostApp

    I now got it working - only issue is that I'm prompted for login when accessing the http://portal (calling the App) after credentials are input the app shows fine    




    • Edited by JmATK Monday, March 06, 2017 9:09 AM
    Monday, March 06, 2017 6:53 AM
  • Hi Mike,

    You need to ping “123.ContosoApps.com” instead of “123.contoso.com” to see if the IP address returned is the SharePoint server.

    Did you configure the app URLs in Central Administration? If not, please check the Configure the app URLs to use part in the link below:

    https://technet.microsoft.com/en-us/library/fp161236.aspx

    If you have modified the app prefix, please do the steps below to make the changes work:

      1. Stop the SharePoint Timer service.
      2. Restart the World Wide Web Publishing Service that hosts the apps.
      3. Start the SharePoint Timer service.

    If above setting is right, please check ULS log for more detailed error message for further research. You can also test another app for narrowing down the issue scope.

    Best Regards,

    Victoria

    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com


    Monday, March 13, 2017 6:19 AM
    Moderator
  • Hi Mike,

    I am checking to see how things are going there on this issue. Please let us know if you would like further assistance.

    Best Regards,

    Victoria


    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com

    Thursday, March 23, 2017 4:26 AM
    Moderator