Access denied when upgrade SharePoint app in on premise deployment while it succeeds in fresh deployment

We deployed a SharePoint hosted app then used it for a while then we needed to upgrade it to be provider hosted app.
we used the same AppID and name with the new package then uploaded the package to the app catalog.
the old app in the site contents now has a note that there is a newer version and prompts to upgrade.
the upgrade fails with access denied even for site collection administrator.
is there really some permission issue or the upgrade can't be done?
We are volunteers, if the reply help you mark it as your answer. thanks!!

Hi,
According to your post, my understanding is that you got access denied error when upgrade the SharePoint hosted app to provider hosted app.
How did you upgrade a SharePoint hosted app to a provider hosted app?
They are two different type apps, why not just create a new provider hosted app?
To create a provider hosted app, we should create a certificate that is used as “security token issuer”.
There are two articles about creating provider hosted  high trust app, you can have a look at them.
http://blog.karstein-consulting.com/2013/01/08/create-provider-hosted-high-trust-app-for-sharepoint-2013-short-guide/
http://msdn.microsoft.com/en-us/library/fp179901.aspx
What’s more, there is an topic about the troubleshooting tips for SharePoint high trust app, you can refer to it.
http://blogs.technet.com/b/speschka/archive/2012/11/01/more-troubleshooting-tips-for-high-trust-apps-on-sharepoint-2013.aspx
Thanks & Regards,
Jason
Jason Guo
TechNet Community Support

Similar Messages

  • Get "Access Denied" when click open a PDF file

    Hi Friends,
    Get "Access Denied" when click open a PDF file linked from SharePoint 2013 page.
    What are the route causes any one is remove the permissions are stopped the inheritance permissions of the library.
    Can anyone face the same issue please help me.
    Thanks,
    Tiru
    tirupal

    Hi,
    If you are able to open the same document earlier,then  anonymous access enabled on your doc library then.
    If you are facing this problem in first time,then you do not have required permission (may be custom permission level has been set ) on it.
    Murugesa Pandian.,MCTS|App.Development|Configure

  • Photoshop cs4 access denied when trying to install from disc in Windows 7 64bit.

    Photoshop cs4 access denied when trying to install from disc in Windows 7 64bit. I tried it in
    safe mode and it starts to install but get an error there as well.
    What do I do?

    So when you put the disk in it won't run correctly? When the disk is inserted you should have a window pop up with 2 options. 1 to install and the other to see what is on the disk. Choose to explore or open the disk. Go to the CS4 folder where the photoshop .exe file is (that will run the setup), right click on the .exe file and choose run as Admin and it should start. See if it will install. If not then read below.
    I am not sure how far you got in the install before so chances are you will have to run the CS4 cleanup utility. 2 levels to run at but don't use 1 or 2 just type in the number 3.
    http://www.adobe.com/support/contact/cs4clean.html
    You may need to run the windows installer cleanup utility too
    http://support.microsoft.com/kb/290301
    Before you try to reinstall the software ensure that adobe reader is not installed. If it is remove it. It has caused issues in the past with vista and CS4 installs.
    Also turn off windows Defender and any anti-virus software. You can keep UAC on in Windows 7.
    During the CS4 install at 90 percent it will almost stop and may take 5 to 10 mins to finish. This is normal. What a pain huh......
    After install is finished, reboot
    After reboot, go to the CS4 64 bit or 32 bit icon (depends on 32 or 64 bit Windows 7) in start area, right click on CS4 64 bit (if you have windows 7 64 bit) and choose properties, compatibility tab and then check run as Admin at the bottom area. Hit apply, ok to close out.
    Now start CS4 and run the updater.

  • Access Denied when Student Uploads Course in Drop Box

    All of a sudden we are getting access denied when a student tries to upload a course. We have not changed anything on our end. The tabs on the course page are set to drop box for student. The credentials sent over are:
    StudentBody@urn:mace:itunesu.com:sites:school.edu;Student@urn:mace:itunesu.com:s ites:school.edu:SPC16001002134
    The SPC16001002134 is the course identifier.
    Access to the course for student is set to download:
    Access Level: Download
    Credential Definition: Student@urn:mace:itunesu.com:sites:school.edu:${IDENTIFIER}
    Group Access Label: Student

    Hi,
    I need a bit more information. Can you please post your site's domain so that I can inspect it? It appears you have replaced this with school.edu.
    Thanks.

  • ORA-31050: Access denied when try to register XMLSchema

    Dear All
    I got ORA-31050: Access denied
    when tried to run to load XML schema with DBMS_XMLSCHEMA.registerSchema
    Can you advise me what privilege should I grant to the user?
    I tried grant XDBADMIN role but it does nto help
    Thank you in advance
    Artem Rodin

    Dear Mark!
    I realy need you help!
    I can successfully register schema which has complexType declaration as root element, like
    <schema targetNamespace="http://www.oracle.com/PO.xsd"
         xmlns:po="http://www.oracle.com/PO.xsd"
         xmlns="http://www.w3.org/2001/XMLSchema">
    <complexType name="PurchaseOrderType">
         <sequence>
              <element name="PONum" type="decimal"/>
              <element name="Company">
                   <simpleType>
                        <restriction base="string">
                             <maxLength value="100"/>
                        </restriction>
                   </simpleType>
              </element>
              <element name="Item" maxOccurs="1000">
                   <complexType>
                        <sequence>
                             <element name="Part">
                                  <simpleType>
                                       <restriction base="string">
                                            <maxLength value="1000"/>
                                       </restriction>
                                  </simpleType>
                             </element>
                             <element name="Price" type="float"/>
                        </sequence>
                   </complexType>
              </element>
         </sequence>
    </complexType>
    <!--element name="PurchaseOrder" type="po:PurchaseOrderType"/-->
    </schema>
    But I failed if in the root there is element like
    <schema targetNamespace="http://www.oracle.com/PO.xsd"
         xmlns:po="http://www.oracle.com/PO.xsd"
         xmlns="http://www.w3.org/2001/XMLSchema">
    <complexType name="PurchaseOrderType">
         <sequence>
              <element name="PONum" type="decimal"/>
              <element name="Company">
                   <simpleType>
                        <restriction base="string">
                             <maxLength value="100"/>
                        </restriction>
                   </simpleType>
              </element>
              <element name="Item" maxOccurs="1000">
                   <complexType>
                        <sequence>
                             <element name="Part">
                                  <simpleType>
                                       <restriction base="string">
                                            <maxLength value="1000"/>
                                       </restriction>
                                  </simpleType>
                             </element>
                             <element name="Price" type="float"/>
                        </sequence>
                   </complexType>
              </element>
         </sequence>
    </complexType>
    <element name="PurchaseOrder" type="po:PurchaseOrderType"/>
    </schema>
    I got the following error stack
    ORA-01031: insufficient privileges
    ORA-06512: at “XDB.DBMS_XDBZ0”, line 218
    ORA-06512: at “XDB.DBMS_XDBZ”, line 6
    ORA-06512: at line 1
    ORA-06512: at “XDB.DBMS_XMLSCHEMA_INT”, line 0
    ORA-06512: at “XDB.DBMS_XMLSCHEMA”, line 26
    ORA-06512: at “XDB.DBMS_XMLSCHEMA”, line 131
    ORA-06512: at “DVLP.PRIME_BRIDGE”, line 73
    ORA-06512: at line 7
    I guess you can reproduce this in-house,
    It's not my schema it is taken from
    XML Database Developer’s Guide - Oracle XML DB
    Structured Mapping of XMLType 5-3
    Example 5–1 XML Schema Definition, po.xsd
    As far as I understand in the second case Oracle tries to create a table to store XML content and fails to do it.
    User that I used has DBA role. What other privileges should I grant to the user? And/or I should grant some additional privileges to "XDB" user?
    This issue has become critical for me, so I am highly appreciate any assistance
    Many thanks in advance
    Best regards
    Artem Rodin

  • I receive "Database access denied" when trying to add component 4543BD

    I receive "Database access denied" when trying to add component 4543BD to my schematic. This component was added from a previous version. I'm using Multisim version 12.0.0  Student edition.
    Solved!
    Go to Solution.

    Hi Diarra,
    I checked my database and  the  4543 is not in the Student Edition. If you opened a schematic that was created in a higher version such as the Educaiton Edition and copied the part to your database, when you place this part you will get the access denied message. 
    Attached is a schematic with the part, you can open it and build you circuit around it.
    Tien P.
    National Instruments
    Attachments:
    4543.ms12 ‏62 KB

  • I get access denied when I try to search on your site.

    Please help me. I get access denied when I try to search on your site. I have emptied cache. I tried Safe Mode the way you suggested. Still access denied (though my printer then would not respond to me and I spent $85 to have my It consultant fix that problem.

    Hi,
    You've opened 3 different threads for the same issue. Please only open '''ONE''' thread per support request.
    Continue here [https://support.mozilla.org/en-US/questions/995124?esab=a&s=&r=3&as=s /questions/995124]
    Closing thread

  • I get access denied when I add a page to a workset in EP 7

    I get access denied when I add a page to a workset in EP 7.
    Please advice.

    Hello,
    This seems to be a permission issue. Assign the user id proper permission, say system_admin_role and then try.
    Regards
    Deb

  • Access denied when adding people to SharePoint group

    Hi all,
         I've been having problems with my SharePoint 2010 deployment that wasn't deployed by me. Sound familiar? Anyways, here is my problem: I try to add people to a SharePoint group and I'm getting:
    Access Denied.
    You do not have permission to perform this action or access this resource.
    Troubleshoot issues with Microsoft SharePoint Foundation.
    Correlation ID: 930333d7-64dc-4135-8f51-686303a9847c
    Date and Time: 7/29/2014 2:21:11 PM
    I've been having problems with pulling AD members in one of my site collections for awhile now. Been troubleshooting with what information I can find online. One step I took was to blank out the LDAP search string for each site collection so that it's not
    limited to certain OUs. 
    Also I am getting security log entries that my farm account is trying to authenticate as a privileged [administrative permissioned] account for an employee that is no longer with us. Coincidentally enough he's the one that deployed this SharePoint solution
    originally.
    I need help in tracking down why I cannot add users to groups in this one site collection; but my root site collection I can add people no problem.
    Environment:
    Server1: SQL 2008 R2 on Windows Server 2008 R2
    Server2: SharePoint 2010 with Enterprise CALs on Server 2008 R2
    Current event viewer entries of note:
    Load control template file /_controltemplates/TaxonomyPicker.ascx failed: Could not load the assembly ';Microsoft.SharePoint.Portal, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c'. Make sure that it is compiled before accessing the page.
    Object Cache: The super user account utilized by the cache is not configured. This can increase the number of cache misses, which causes the page requests to consume unneccesary system resources.
    To configure the account use the following command 'stsadm -o setproperty -propertyname portalsuperuseraccount -propertyvalue account -url webappurl'. The account should be any account that has Full Control access to the SharePoint databases but is not an application pool account.
    Additional Data:
    Current default super user account: SHAREPOINT\system
    A logon was attempted using explicit credentials.
    Subject:
    Security ID: domain\farm_account
    Account Name: farm_account
    Account Domain: domain
    Logon ID: 0x79c13
    Logon GUID: {e25efc28-8db1-ea76-9a8e-6d0143a681d9}
    Account Whose Credentials Were Used:
    Account Name: former_admin_employee
    Account Domain: domain
    Logon GUID: {00000000-0000-0000-0000-000000000000}
    Target Server:
    Target Server Name: domain_controller.domain.net
    Additional Information: domain_controller.domain.net
    Process Information:
    Process ID: 0x13b0
    Process Name: C:\Windows\System32\inetsrv\w3wp.exe
    Network Information:
    Network Address: -
    Port: -
    This event is generated when a process attempts to log on an account by explicitly specifying that account’s credentials. This most commonly occurs in batch-type configurations such as scheduled tasks, or when using the RUNAS command.

    Hello,
    > he's the one that deployed this SharePoint solution originally.
    Are you trying to add user by custom solution? If so then it seems your code is using the impersonate method to run code with admin privileged (i.e. RunWithElevatedPrivileges or User token).
    If this is the case then you have to first add new account as site collection in site then change that web application pool identity on IIS. Go to IIS-->select your web app pool-->then  go to properties and  verify which account is been used
    there. If it is old then replace with your account.
    Let us know your result
    Hemendra:Yesterday is just a memory,Tomorrow we may never see
    Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • Getting access denied when trying to loging to sharepoint 2010 site collection.

    only Site Collection Administrators  are able to logging in to the site,other than that
    If i give any View or read or contribute permission to any user then he is not able to logging in to the site getting Access Denied ERROR.
    Below is the error generated in the LOG folder & attached here with screen shot.
    Request (GET:http://sharepoint-app:2525/_layouts/accessdenied.aspx?closeConnection=01
    vijay kumar designer 2010

    Tanq it solved my problem Fadi
    Abdulwahab
    vijay kumar designer 2010

  • ClientContext.ExecuteQuery(); gives access denied error in sharepoint provider hosted app

    Hi Team,
    I am using the sharepoint office 365  to build the provider hosted app.
    Please find the below code to access the data from sharepoint
    var siteUri1 = new Uri("https://site.sharepoint.com/sites/site1/");
    var realm = TokenHelper.GetRealmFromTargetUrl(siteUri1);
    var accessToken1 = TokenHelper.GetAppOnlyAccessToken(TokenHelper.SharePointPrincipal, siteUri1.Authority, realm).AccessToken;
    using (var clientContext = TokenHelper.GetClientContextWithAccessToken(siteUri1.ToString(), accessToken1))
        Web web = clientContext.Web;
        clientContext.Load(web.Webs);
        clientContext.ExecuteQuery();
        var webdetails = web;
       clientContext.ExecuteQuery(); this line gives the below error
    An exception of type 'Microsoft.SharePoint.Client.ServerUnauthorizedAccessException' occurred in Microsoft.SharePoint.Client.Runtime.dll but was not handled in user code
    Additional information: Access denied. You do not have permission to perform this action or access this resource.
    Please help me on this.

    Thanks for your reply
    I already included AllowAppOnlyPolicy="true" in the
    AppManifest.xml file.
    Below line always gives the null value.
    string contextTokenString = TokenHelper.GetContextTokenFromRequest(Request);Please help me on this. I am new the the apps.

  • Access denied when jsp writes to a`network  file system

    Hi
    Can anyone help. Im having big problems with my web application which was working fine when it was hosted on a tomcat windows NT machine. The application was recently upgraded to a Windows 2000 machine. My jsp page which has to write to a network drive can no longer do so. I keep getting ACCESS DENIED.
    My jsp page is as follows:
    <html>
    <head><title>test</title></head>
    <body>This is a test page
    <jsp:useBean
    id="sendSMS"
    scope="page"
    class="podsystembeans.phonetrackbeans.FileWrite"
    />
    <%
    String sms = sendSMS.testIO();
    out.println(sms);
    %>
    </body></html>My javabean is as follows:
    package podsystembeans.phonetrackbeans;
    import java.io.*;
    public class FileWrite
         public String testIO(){
              try{
                       // Create file
                  FileWriter fstream = new FileWriter("R:/outt.txt");
                 BufferedWriter out = new BufferedWriter(fstream);
                  out.write("Hello Java");
                  //Close the output stream
                  out.close();
              }catch (Exception e){//Catch exception if any
                System.out.println("Error testing : " + e.getMessage());
         return "success";
    }OBSERVATION
    If i try and write the file to the local machine for example C and D drives then it works. If i try and write the file to R drive which is another windows 2000 machine then i get access denied. Also if i try and write to a L drive which is a windows NT machine then i get the same message too.
    If i run the above bean as a stand alone application with
    public static void main
    and I run it then it will work and write to any drive on the network.
    Everytime my application fails to write to the network drive my windows machine shows the mapped drives with a red cross on it. I have applied the latest service packs and i have followed microsofts suggestions editing the registry autodisconnect keys. But i am still having problems and it is my java app which is causing it.
    SETTINGS
    Windows 2000 service pack 4
    Tomcat 5 installed on d drive
    java 5 installed on c drive
    mapped network drives to other machines , the network is a 192.168.1.x network
    regards
    antek

    Hi
    Thanks for the pointer, I am trying to follow the suggestion and I want to know is the server.policy same as catalina.policy in tomcat under the conf folder. Also in this policy do i write the ip addresses of the machines i want to access?
    Thanks
    Antek

  • "Access denied" when opening the timeline

    I have FCP 6.0.6.  I dragged a picture into the timeline, and the browser shut down.  When I tried to reopen the timeline, it said "access denied."  How can I reopen the timeline?  I really don't want to have to start over.

    What app are you running - Final Cut Pro or Final Cut Server?
    x

  • 'access denied' when opening from Office

    Hello,
    I've experienced this 'access denied' message too. Now I realized that when opening AdobeReader manually all works fine.
    But when Reader is closed and is opened by Office after saving as PDF file - it still shows this error message.
    There's nothing wrong with the file - when opening manually from inside of Reader.
    Is it a problem with commandline execution?
    I'm sorry for any problems you got - especially from reading my english...

    What app are you running - Final Cut Pro or Final Cut Server?
    x

  • Access Denied when report is opened

    Adobe Acrobat Reader v 10.0 release 1. We have an app that creates PDF reports. The PDF is throwing "Access Denied" message when the report is opened. Sometimes it works, other times the message is generated. 
    Any ideas? 

    Al
    I hope that the person from another division finds something to explain what is going on. In the mean time I have re-read the thread and would like some clarification about your environment. Are you doing the SSH from some device outside that comes through the Ethernet 0 10.1.1.190 interface? Is the SSH attempt destination address specifying the 10.1.3.x address? Or is the SSH attempt using destination address of 10.1.1.190 and using the router to translate and forward to the SSH destination?
    I am wondering if the SSH attempt is getting SSH on the router instead of on the intended inside device. That would explain the error message about Protocol major versions differ: 2 vs. 1
    One way to check this would be to run debug for SSH on the router and see if the router is processing the SSH request locally instead of forwarding as you intend. Or an easier way to test would be to try the SSH and login using a user name and password that are valid on the router.
    HTH
    Rick

Maybe you are looking for

  • Working with Flat files in OWB

    I am getting flat files from mainframe tables and I created external tables in OWB for mapping. I get data from flat files sometimes and I dont get data even though the file exists and there is no way to debug where the problem is in the files. When

  • Arial Unicode MS font not viewable in Adobe Reader 9

    I have created a form in Acrobat Acrobat X Pro which has some labels in Arial Unicode MS font and when i view the form in Reader 9, I'm not able to view the labels. I have Arial Unicode MS font installed on my machine. What could be the problem?     

  • Macbook Retina screen black coating issue

    My MBP Retina 13" -Oct '13 has developed a discolouration of the black screen coating on the top left and bottom left sides. It is visible in bright light/sunlight and seems that the black colour is wearing off. I have been extremely careful about pe

  • Calc Scripts in sequence

    Hi All, We have requirment to run some calc scripts in sequence as they are dependent. If we merge all the scripts in one script then due to dependency calculations are not done or not giving proper result. Is there any way so that calculation script

  • Iphone 4 : iOS 7 or iOS 6 (6.1.3)

    Just want to know, should i update my old iPhone 4 to iOS 7 or leave it with iOS 6 (6.1.3)? Any detailed information would be appreciated