Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I added the Sharepoint site to the 'Document Management' section in CRM with the List Components checked and it added it with no problem. Also when I navigate to the 'Documents' section under an account it shows up with the format of the List components. However, if i click on 'New' or 'Actions' I get the following error message:

An Error has occured in the script on this page.
Error: Access is denied
URL: https://*serveraddress*/crmgrid/scripts/
Do you want to continue running scripts on this page?

I have ran the power script which added the MIME .htc extention to IIS.

Does anyone know what might be wrong?

share|improve this question

The problem seems to stem from the fact that the SharePoint connection is in an iFrame and it is trying to call the document object of the parent window somewhere. IE will prevent this to protect against cross-site scripting. You can test this by opening the address of the iFrame in a separate browser window. Here, the New and Action menus should work fine.

One solution is to add both sites to your trusted sites zone in Internet Options and enable "Allow script-initiated windows without size or position constraints."

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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