Hello all,
Please help .I am getting the below error.Its a provider hosted app
Technology Tips and News
Hello all,
Please help .I am getting the below error.Its a provider hosted app
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.
Hi,
Do you have or your app had permission on site collection level ? Add the permission on your app and check it.
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
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".
Still no use...missing something
Thanks
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,
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
By the way,
I am not publishing it Azure...local machine(in VM) to SharePoint (in same VM)
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
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
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.
You can also host your app in third party hosting service provider and ask for instruction to deal with this.