Okay, so I have been running into this issue way too often now and it's starting to really irritate me and I have no idea what triggers these errors.
I have made a custom masterpage for my SharePoint site. When I add a CEWP and want to select a markup for some selected text, the markup dropdown doesn't show. I use my Developertool to debug and it throws me an Access Denied error on the javascript for the Markup.
I tried googling the issue, and I tried the various solutions presented for me.
- Set site as trusted site Failed
- Remove jQuery definitions and use SharePoint's own Failed
- Remove empty javascript files referenced in the masterpage/pagelayouts Failed
- Set jQuery.NoConflict(); Failed
- Remove SecurityTrimmedControl from Ribbon (if there are any) Failed
- Remove all references to custom javascript files Failed
So now I'm kicked back to square one...
Everything of course works if I try using the default.master or v4.master. No issues there. But as soon as I use my custom masterpage, some of the core Ribbon functions are disabled because of this "Access Denied" error I get in the javascript code.
A lot of people on the answers I found on google talked about this issue coming from a "cross domain" problem on the site, which I highly doubt is the problem as there is only one domain present on the entire server (no cluster).
Has anyone else encountered this issue, and how did you solve it?
Thank you
<script>
tags due to my customization. But I tried stripping those but still with the same error in the Ribbon.$v_2.open('GET', $p0, true)
in this javascript functionRTE.StyleRuleUtility.$El_0 = function($p0)
in sp.ui.rte.debug.js file which causes the error.