none
Error Deploying an Access 2013 web app to a team site RRS feed

  • Question

  • I created an access 2013 web app and it is running fine.  I now want to deploy a version of it with no data.  I have used the "Create Deployment Package";  selected a new name and version number for the app.  When I try to deploy this app using the "Add an app" it gives an this error:

    "An instance of this app already exist at the specified location."


    I know another "practice" app with  "practice" data exits; that is why I used the "Create Deployment Package".


    What I am not seeing?


    Thanks in advance.
    Saturday, December 12, 2015 1:28 PM

Answers

  • Hi loistiny,

    Thanks for the detail information for this issue.

    If we save the package via "Save for deployment" then the identify of package is same so we can upgrade this app after.

    As a workaround, we can rename the package with zip and modify the appmanifest.xml with ProductID like XML below:

    <?xml version="1.0" encoding="utf-8"?>
    <App
      ProductID="7e39cdac-1705-4961-a16f-69db96e0bcef"
      Type="AccessLocked"
      Version="1.0.0.1"
      SharePointMinVersion="16.0.0.0"
      Name="FeiWebApp1_0_0_1" xmlns="http://schemas.microsoft.com/sharepoint/2012/app/manifest">
    

    Hope it is helpful.

    Regards & Fei


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Thursday, December 17, 2015 10:04 AM
    Moderator

All replies

  • Hi Loistiny,

    I am try to reproduce this issue with SharePoint online, however failed. I am deploying the Access 2013 web app from Site Content->Add an app.

    What's version of SharePoint were you developing? If you were using SharePoint on premise, I suggest that you update the SharePoint to the latest version.

    If you were not using Site Content-> add an app to deploy the app, you can try deploy the app from this location.

    Regards & Fei


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.


    Monday, December 14, 2015 6:52 AM
    Moderator
  • Thanks for responding.

    I am using Office 365 with Sharepoint 2013 online. I did it exactly as you did from my team site.

    Site Content->Add an app.

    Thanks

    Monday, December 14, 2015 11:31 AM
  • Maybe the error message will shed some light on the problem.

      I renamed the app from V1 to District and District has a different version number,  Also i do not want to delete v1 (permanently) as something may go wrong.
     
      Error Message:
      A different version of this App is already installed with the same version number. You need to delete this app from the site and the site recycle bin to install this version.
      Techcical Details
      Correlation ID:  21314b9d-b0e4-2000-2151-260427f898e8
      Date and time 12/a4/2048 ....
     
    End of Error Message

    As I said I do not want to delete the app for safety reasons.  Am I getting this error because it will be using the same SQL dB with the same tables?
    Thanks
    Monday, December 14, 2015 4:21 PM
  • Hi Loistiny,

    >>I renamed the app from V1 to District and District has a different version number,  Also i do not want to delete v1 (permanently) as something may go wrong.<<

    How did you change the version number? Based on my understanding, when we create a new Access web app, it is not able to change the version number. Here is the steps to create a new Access web app without data:

    Regards & Fei


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Tuesday, December 15, 2015 9:30 AM
    Moderator
  • Either I am not explaining this correctly or you are misunderstanding.  I am NOT trying to create a new app.  I have a Practice app that i have been using for some time.  I now want to DEPLOY the practice app by Locking it and deleting the data.  That is where the I explained that I had the app already created and I wanted to ----"Create Deployment Package"

    The practice app is named "V1" and I want to "Create Deployment Package" and name the app "District".  At that point I can Lock the app so it can not be changed and also set the version number.  The Deployment app creation takes place as it should but when I try to add "District" to my Team Site I get the error saying

    "An instance of this app already exists at the specified location."

    If I were to delete the practice app I may be able to add "District" to my Team Site, but I do not want to delete the practice app.
    Thanks
    Tuesday, December 15, 2015 12:56 PM
  • Hi loistiny,

    Thanks for the detail information for this issue.

    If we save the package via "Save for deployment" then the identify of package is same so we can upgrade this app after.

    As a workaround, we can rename the package with zip and modify the appmanifest.xml with ProductID like XML below:

    <?xml version="1.0" encoding="utf-8"?>
    <App
      ProductID="7e39cdac-1705-4961-a16f-69db96e0bcef"
      Type="AccessLocked"
      Version="1.0.0.1"
      SharePointMinVersion="16.0.0.0"
      Name="FeiWebApp1_0_0_1" xmlns="http://schemas.microsoft.com/sharepoint/2012/app/manifest">
    

    Hope it is helpful.

    Regards & Fei


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Thursday, December 17, 2015 10:04 AM
    Moderator
  • I do not know what to do with the XML file.  Also If District1_0_0_1 is the name of the file is the XML file below correct?
    Is the ProductID correct?

    <?xml version="1.0" encoding="utf-8"?>
    <App
      ProductID="7e39cdac-1705-4961-a16f-69db96e0bcef"
      Type="AccessLocked"
      Version="1.0.0.1"
      SharePointMinVersion="16.0.0.0"
      Name="District1_0_0_1" xmlns="http://schemas.microsoft.com/sharepoint/2012/app/manifest">
     
    Just as aside I deleted a different app from the site and the recycle bin as it stated I should do in the error message.  When trying to add a deployed version of the app it yields the same error.

    Thanks for your help.
    Friday, December 18, 2015 6:30 PM
  • Hi loistiny,

    >>Is the ProductID correct?<<

    The prodcutID is just an identity for the Access 2013 web app. There is meanness to say it is correct or wrong. You can use GUID generate tools to create a new GUID to replace the old one before you publish this package on the same SharePoint site.

    For example, there is the new GUID that generate from Visual Studio for your reference:

    CC78B394-0902-445E-8115-5C24D27E802B
    Regards & Fei


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Tuesday, December 22, 2015 6:52 AM
    Moderator
  • @ Fei Xue

    The link in your signature does not work!  It returns

    "😐        

    Try searching for what you need
    This page doesn’t exist."

    Daniel Pineault, 2010-2016 Microsoft MVP Professional Support: http://www.cardaconsultants.com MS Access Tips and Code Samples: http://www.devhut.net

    Monday, February 6, 2017 5:41 PM