Skip to main content

Install app for SharePoint: The file exists

If you have the below error in Visual Studio when you try and debug a SharePoint App:
Severity Code Description Project File Line Error Error occurred in deployment step 'Install app for SharePoint': The file exists. (Exception from HRESULT: 0x80070050) [AppName]  0
You have properly already tried:
 - Clean the solution
 - Manually uninstall the solution
 - Upgraded the App version number
 - Retracting the solution

If none of the above works and you are pulling your hair for a solution, try and run Visual Studio in Administrative mode.

This have fixed the problem for me many times and i think it was time to share it :-).

Comments

Popular posts from this blog

Azure DevOps - Gantt Chart

It's been a while since my last post - in the past couple of weeks I have played around with some videos of topics I find interesting. One of these topics are a very cool way of displaying a Gantt Chart upon your Azure DevOps board's. Check it out here!

How to integrate MS Planner in MS Roadmap (Gantt chart)

Hi, It is no secret i am exited about the new Roadmap service from Microsoft. Even though only limited features have been released I beleive Roadmap and the new Project home have great potential. Anyway, check out my video on how to connect Planner into Roadmap with Microsoft Flow.

Project Server - Change field name on PDP for standard fields (like the Owner field)

Project Server - Change owner field name on PDP The field names on the PDPs (Project Detail Pages) has been preselected on the standard fields for a project. If you want to change the Owner to something else it is quite difficult. In the following i will explain how we can change this field through the Content Editor webpart. To change the owner field add a Content Editor webpart to the PDP page where the field is inserted. Select the webpart and from the ribbon select HTML->Edit HTML Source. Copy/Paste the following code into the Content Editor webpart. < script type ="text/javascript">     var old_name = "Owner" ;     var new_name = "Ansvarlig" ;     var ttnA = document.getElementsByTagName( "div" );     for ( var j = 0; j < ttnA.length; j++) {         var orig = ttnA[j].innerHTML;      ...