Trying to run a simple Sharepoint 2013 App in Visual Studio (however, the same thing happens with all Sharepoint-store installed apps). I have set a url http://sharepointsrv/sites/devtest/ as the site to be used for debugging, (where devtest is a Developer Site) and to be SharePoint-hosted. Also in central administration, I have set apps.sharepoint.demo.local as App domain and app as App prefix in Configure App URLs page.

When pressing debug, my app opens in the browser but seems (see pic) like several images and styles are missing. Also the app url is quite big and strange:


enter image description here

  • 1
    This explains the "weird" url a bit. The domain, app-weirdstuff.apps.sharepoint.demo.local, gets generated each time the app is deployed.
    – wjervis
    Commented Feb 24, 2016 at 14:21
  • I had similar problem and I created a blank web application on port 80 without any host headers and also added a blank port 80 binding to the web application I deployed the apps to.
    – ova
    Commented Mar 2, 2016 at 14:07

1 Answer 1


Try to view the HTML source of the app's page through your browser. Find the paths for your CSS, images etc and check that they are correct (such as by opening them in new browser tabs).

If you are using paths such as ../images/file.png then I suspect your folder structure and path levels are different between when you are debugging locally versus when you have deployed the app.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.