A different version of this app is already installed with the same version number
1. A differentversionofthis App is alreadyinstalledwith the same versionnumber.
I am writingaboutan issue,whichcomesfrequentlyforinstallinganyof APPfile SharePointonlineorOn
premises.
Whenwe are tryingto add anyApp file onSharePoint solutionsite,sometime we use togetbelow
error:
“Sorry,somethingwentwrong
A differentversionof thisAppisalreadyinstalledwiththe same versionnumber. Youneedtodelete
the app fromthe site andthe site recycle bintoinstall thisversion.”
Solution:Below are the steps,whichwe needtofollow toshortoutthisissue.
SharePointOnline:
If you have hard coded file thenyou can use belowstepsusing Visual studioin easy way, if you don’t
have any idea about coding and ifyou are from adminteam, belowis the stepsto come out from the
issue.
Loginto the office 365 SharePointanddeletethe installedapponSharePointsite collection,
afterdeletingitwill movetoRecycle bin,delete fromrecyclebin.
To do this:Go to site collection>PWAsetting>Recycle Bin from Site collectionAdministrator.
Nextonce itwill deletefromrecycle,thisfile mustbe available onsecondstage of Recycle bin.
To do this:same as above>down of the page,Click on secondstage Recycle Bin
Delete Fromhere also,nowwe needtogoback to the SharePointonline Admincenter.
2. Go to AdmincenterandselectSharePointunderAdminCenterpage
Once clickon SharePoint,itwill take ustoSharePointonline site.Maybe youneedto re-enter
Passwordhere.
Now selectApps,underthe SharePointAdmincenterpage
3. SelectAppcatalogfromthe apps page.
Her we needtoselectAppsforSharePoint,toselecthostedApponSharePointsite collection.
Downloadthe appswhichis gettinganerror while installingor addingthatapps, justclickon
Appfile it’swill downloadautomatically.
Save that file todirectoryonlocal system, now openfolderwheresave .appfile.
Rename the file Appto.ziptochange versionnumber.
Once clickon yesto change name extension,itwill be showingyouinzipformat.
4. Double clickonthe same file will navigateanopeninthe directory.
Here we needto openAppManfiest.xml file tochange versionnumber.
Change versionnumberandsave thisfile andclose zipnavigatedfile
Nowrename the .zipfile to.appfile andre-uploadthe same afterdeletingfromSharePoint
online andthentryto create hostedapp onthe site collection.
You will notgettinganyerrorfrom creatingrespectiveapp.
Commentif findinganyissue followingthe above.