3

Environment: SharePoint Server 2010

We have a web application, in which there is only 1 site collection with few subsites in it.

The problem is all the modal dialog forms when opened get error message(refer screen shot). Dialog forms such as check in, approve/reject a page, more options from site actions etc.

There are solutions on the web like placing <WebPartPages:AllowFraming runat="server" />, but that can be used in SP 2013.

Also other Web application in the farm works nicely.

In what direction should I continue investigation? And has anyone come across similar issue.

enter image description here

2
  • Are using any custom master page? Commented Oct 11, 2017 at 8:18
  • Yes we are using custom master pages.
    – Asad Refai
    Commented Oct 11, 2017 at 9:19

1 Answer 1

1

Alright I managed to solve the problem.

Open IIS > Find your site > HTTP Response

If there is X-Frame-Options:Deny, Then just remove it or set value to "SAMEORIGIN".

enter image description here

Removing X-Frame-Options worked wonders for me.

Note: To know more about X-Frame-Options I recommend reading Combating ClickJacking With X-Frame-Options and Mitigating framesniffing with the X-Frame-Options header.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.