samedi 14 février 2015

X-Frame-Options Issue with different farms

I am developing an on premise sharepoint hosted app which among other things creates a custom ribbon action that opens a dialog page where a javascript code is executed.


In my test environment and where I started developing the app everything worked well .


When I deploy into production app fails when opening the dialog page the following message in browser debugger:



Refused to display 'http://ift.tt/1Ecgurf' in a frame because it set 'X-Frame-Options' to 'SAMEORIGIN'.


I already have the tag <WebPartPages : AllowFraming runat = " server" /> embedded in the .aspx page.


I can´t understand why the app worked well in testing environment but not in production.


Any ideas?


Thank you in advance!


Aucun commentaire:

Enregistrer un commentaire