Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Issue
This scenario starts with the app working perfectly until you change some list definition in the source. Suddenly you get an error.
When you try to revert the definition and deploy it again, it still gives the same error.
http://www.jeremythake.com/wp-content/uploads/2013/10/image6.png
Resolution
Retract the app using visual studio, and check whether the site collection is available in Site Contents. If so, first remove it.
http://lh4.ggpht.com/-Bj4777uoHr8/VNceKeh_zWI/AAAAAAAADsk/kuU7H7EhDy0/image_thumb%25255B1%25255D.png?imgmax=800
Then check the app availability in Apps Packages and Apps on testing lists. If it is there delete it.
http://lh5.ggpht.com/-U6P8a_XAQbw/VNce4xDaSuI/AAAAAAAADs0/cFc0qPTRxZE/image_thumb%25255B3%25255D.png?imgmax=800
Then check the recycle bin and Admin recycle bin and empty any file there.
http://lh3.ggpht.com/-YHCN5oSvzUU/VNce5-mQ7lI/AAAAAAAADtE/XBhhhGN25LI/image_thumb%25255B4%25255D.png?imgmax=800
http://lh4.ggpht.com/-JdM-S1SO-W8/VNce7WdjRcI/AAAAAAAADtU/k5MejpROgaY/image_thumb%25255B5%25255D.png?imgmax=800
Try deploying the app again.
If it is still not working you may have App deployed to other subsites as well - delete everything.
If it is O365, go to Share Point administration
http://lh3.ggpht.com/-R5SCinoFgWI/VNcfpqeZBQI/AAAAAAAADtk/TgwU7FZ9IYs/image_thumb%25255B6%25255D.png?imgmax=800
http://lh3.ggpht.com/-SpKJPuJqhj8/VNcfq488GMI/AAAAAAAADt0/I-Kqd0I-3SU/image_thumb%25255B7%25255D.png?imgmax=800
Go to Apps –> App permissions and delete the items related to the app
http://lh6.ggpht.com/-MmfLeqHhDrs/VNcgZVsBe3I/AAAAAAAADuE/aiP9Lfa1G-Q/image_thumb%25255B8%25255D.png?imgmax=800
If this won't work, try with a new site collection