SharePoint App Deployment error : 'Failed to install app for SharePoint'

前端 未结 10 2626
遥遥无期
遥遥无期 2021-02-19 10:03

When I tried to add a SharePoint mvc app I am getting following error:

Error occurred in deployment step \'Install app for SharePoint\': 
Failed to install app f         


        
相关标签:
10条回答
  • 2021-02-19 10:26

    Have you configured following service applications?

    1. App Management Service Application.
    2. Microsoft SharePoint Foundation Subscription Settings Service Application.

    Try configuring following these along with the following

     3. Managed Metadata Service Application.
    

    Refer: http://www.sharepoint-journey.com/app-development-in-sharepoint.html#sthash.00z9jnjB.dpuf

    0 讨论(0)
  • 2021-02-19 10:30

    In my sharepoint-hosted add-in, I face this issue when have some *.json files(.bower.json, bower.json) inside my sharepoint project folder, after I delete them and run again my app works!

    0 讨论(0)
  • 2021-02-19 10:31

    I have had the same problem. Problem was that the app.config file of the SharePoint App project has Deployment Type: 'ElementFile' and was going to be deployed to the host web. This should not happen and generated the error.

    Solution: Change Deployment Type of the app.config to 'NoDeployment' and redeploy.

    0 讨论(0)
  • 2021-02-19 10:34

    I just changed the hosting type in AppManifest.xml from Provider-hosted to SharePoint-hosted and voilá. I don't know if this was modified by itself when I added an Event Receiver in my project, cause before not fails.

    0 讨论(0)
提交回复
热议问题