Access Denied Error, After adding the Client Webpart in Site Page


hi all,

i have developed 1 sharepoint hosted app client webpart. when deployed app , deployed app site , functionality working expected.(binding values host url , saving items)

now, have created sharepoint page in host web , added client web part page.but getting access denied error "script5: access denied. xxx.aspx, line 1 character 1"

( checked ie network options - f12).

my app have full control on list , web.

please suggest me how resolve issue.

thanks in advance.

thanks reading...:-)

hi,

please try add following line of code in page.

<webpartpages:allowframing id="allowframing1" runat="server" />

i suggest create sample client webpart reference blog below:

how to: build sharepoint-hosted client web part in sharepoint 2013

http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2012/08/01/how-to-build-a-sharepoint-hosted-client-web-part-in-sharepoint-2013.aspx

then check whether issue still exists or not.

best regards


dennis guo
technet community support



SharePoint  ,  Apps for Office and SharePoint  >  Developing Apps for SharePoint 2013



Comments

Popular posts from this blog

BizTalk Server 2013 Azure VM Log Shipping and HA for hosts

wcf-sql adapter bug for operation on same table

Error connecting to Azure Blob using Shared Access signature