error

Hello all,

Please help .I am getting the below error.Its a provider hosted app

&#

June 19th, 2015 12:47pm

For your error, try adding ASP.NET to the folder permissions. You find the folder, right click and select Properties. Then...
  1. Click the Security tab
  2. Click the Add button
  3. Click the Locations button
  4. Find your computer in that list which is normally the top one, Click it and then, Click OK
  5. Click the Advanced button
  6. Click the Find Now button
  7. Locate ASPNET in the list that shows up, Click on it and Click OK
  8. Click OK again
  9. Find ASPNet in the list (should already be highlighted) and Click Full Control checkbox and Click OK

or

Use the ASP.NET IIS Registration Tool (Aspnet_regiis.exe) to reset the ASP.NET ACLs. To run Aspnet_regiis.exe, follow these steps:1. On the domain controller, click Start, and then click Run. 

2. In the Open box, type cmd, and then click OK. 
3. Type cd drive:\Windows\Microsoft.NET\Framework, where drive is the drive that Windows is installed on, and then press ENTER. 
4. Type dir, and then press ENTER. 
5. Note the folder names that are listed, and then locate the folder name that begins with the letter v. 

This folder indicates the version of .NET Framework that is installed on your computer. 
6. Type cd VersionFolderName, where VersionFolderName is the folder that you noted in step 5, and then press ENTER. 
7. Type aspnet_regiis.exe -i, and then press ENTER.

Free Windows Admin Tool Kit Click here and download it now
June 20th, 2015 4:14am

Hi,

Do you have or your app had permission on site collection level ? Add the permission on your app and check it.

June 20th, 2015 6:42am

Thank you for all replies...

I am not getting "Access Denied" error after setting app permissions. However after deploying it to SharePoint ,its still redirecting to the localhost instead of SharePoint...please help

Free Windows Admin Tool Kit Click here and download it now
June 22nd, 2015 2:17am

Hi,

If it is "Provider Hosted App" then you need to register this app in your Office 365 site.Upon registering there you need to give the Client ID,Client Secret and Redirection URL.

Please check this link  New"App Registration".

June 22nd, 2015 3:57am

Still no use...missing something

Thanks

Free Windows Admin Tool Kit Click here and download it now
June 22nd, 2015 5:41am

Hi spguy2012,

what you mean no use...missing something

missing something from your side, or you are not getting the right answer from this forum ?

Can you please elaborate ?

What App model you are developing

Where you wanted to host it ? I mean on on-premise site or Office 365 ?

Do you have your own environment configured correctly to test and develop the "App Model" ?

Please be precise on your question and get answered quickly.

Thanks,

June 22nd, 2015 6:03am

Hi Murugesa,

Cool. The app is working fine on my localhost ...but I want to see the same output on SP...I am missing something to get the output on SP

Free Windows Admin Tool Kit Click here and download it now
June 22nd, 2015 6:12am

By the way,

I am not publishing it Azure...local machine(in VM) to SharePoint (in same VM)

June 22nd, 2015 7:23am

Hi,

I assume that you are trying to deploy your "Provider hosted app" on your Local VM.

And you followed all the steps you find in the link

Provider hosted app Trust certificates on local IIS

You selected the developer site URL for app deployment from your Visual Studio.
You deployed the app successfully on the site , and logged into the site and clicked on the your app link.Now it will redirect to your localhost from the SharePoint site.

If yes, this is the correct method.

So the bottom line is, You are able to call the SharePoint related stuff in the localhost (Remote web).

This is the way Provider hosted app works on your local S

Free Windows Admin Tool Kit Click here and download it now
June 22nd, 2015 10:50am

I totally agree with you.

Thank you for guiding me in right direction...

If I want to see the output in my other SharePoint server(which is not in my local vm).....How can I do that?

thanks


June 23rd, 2015 12:52am

Hi,

I assume, that you wanted to test and learn  the "Provider Hosted app" how its functioning  in real time,

Please check my TechNet article, there I explained how to host your provider hosted app in Azure site.

http://social.technet.microsoft.com/wiki/contents/articles/30201.simple-explanation-of-sharepoint-provider-hosted-app-model.aspx

You can also host your app in third party hosting service provider and ask for instruction to deal with this.

Free Windows Admin Tool Kit Click here and download it now
June 23rd, 2015 3:33am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics