Monday 28 November 2016

A different version of this App is already installed with the same version number

I am writing about an issue, which comes frequently for installing any of APP file SharePoint online or On premises.
When we are trying to add any App file on SharePoint solution site, some time we use to get below error:
“Sorry, something went wrong
A different version of this App is already installed with the same version number.  You need to delete the app from the site and the site recycle bin to install this version.”

Solution: Below are the steps, which we need to follow to short out this issue.
SharePoint Online:
If you have hard coded file then you can use below steps using Visual studio in easy way, if you don’t have any idea about coding and if you are from admin team, below is the steps to come out from the issue.
  • Login to the office 365 SharePoint and delete the installed app on SharePoint site collection, after deleting it will move to Recycle bin, delete from recycle bin.
To do this: Go to site collection>PWA setting> Recycle Bin from Site collection Administrator.
  • Next once it will delete from recycle, this file must be available on second stage of Recycle bin.
To do this: same as above>down of the page, Click on second stage Recycle Bin
  • Delete From here also, now we need to go back to the SharePoint online Admin center.
  • Go to Admin center and select SharePoint under Admin Center page

  • Once click on SharePoint, it will take us to SharePoint online site. May be you need to re-enter Password here.
  • Now select Apps, under the SharePoint Admin center page

  • Select App catalog from the apps page.
  • Her we need to select Apps for SharePoint, to select hosted App on SharePoint site collection.
  • Download the apps which is getting an error while installing or adding that apps, just click on App file it’s will download automatically.
  • Save that file to directory on local system, now open folder where save .app file.
  • Rename the file App to .zip to change version number.
  • Once click on yes to change name extension, it will be showing you in zip format.
  • Double click on the same file will navigate an open in the directory.
  • Here we need to open App Manfiest.xml file to change version number.

  • Change version number and save this file and close zip navigated file
  • Now rename the .zip file to .app file and re-upload the same after deleting from SharePoint online and then try to create hosted app on the site collection.
  • You will not getting any error from creating respective app.
Comment if finding any issue following the above.


No comments:

Post a Comment