I am using SharePoint 2013 and I am having the problem of displaying the PDF document in the embedded tag.
Connection to SharePoint site in embedding rejected.
The display of & # 39; http: //SITE/HR/EmployeeDoc/Passport.pdf' in a frame was rejected because multiple 'X-Frame Options' headers were set with conflicting values ('SAMEORIGIN, Allow-From'). Falling back to deny. IN console log.
It has been working perfectly for 3 years continuously and I receive this error only from 3 days,
I have changed nothing in the process within the past 5 months, within the SharePoint Master Page OR permission.
Only PDF document is not displayed, images are displayed correctly. and if I access the PDF URL directly in the address bar, there is no problem whatsoever.
Can a buddy suggest me why he refuses, and please state the solution.
Please help me to solve this problem.
Thank you very much.