Issue

 When you open a SharePoint 2013 or SharePoint 2010 site with IE 11 you get an error message:

"Object doesn't support property or method 'addEventListener'".  Or

Object doesn't support property or method 'getAttribute'.....AT

 


Background

User had recently been upgraded to new versions of Windows 8 and got IE 11 by default. However, while opening the SharePoint site user gets error message and when they close the error dialog box they hardly can do anything. Refreshing the page doesn't work.

 


Troubleshooting

After doing all the basic checks,  it appears that this is very common and wide spread issue people are facing. A simple solution to this is to run the site in IE compatibility mode.

 


Resolution

  1. Click the Close button to close the error message. Find Internet Explorer Tools. Choose Compatibility View Settings. Add URL of site, accept changes and Close. Refresh the page and try to open the site now.
  2. If the issue is still existing, you can try to change the settings in Internet Explorer and check.

    Open Internet Explorer, click on Tools. Click on Internet Options, click Advanced tab. Make sure there is a check mark for these options:

    • Disable script debugging (Internet Explorer)
    • Disable script debugging (Other)
    Uncheck Display notification about every script error. Click Apply and OK. Restart the Internet Explorer and check the issue.
  3. Try to disable enhanced protected mode and check.

    Click the Tools icon in Internet Explorer. Go to Internet Options, click Advanced tab and select the Security section and uncheck the check box beside Enable Enhanced Protected Mode (requires restarting Internet Explorer). Click on Apply and then click OK.

  4. Also try to add the websites to trusted sites list and check.

    Open Internet Explorer, click on Tools and then click on Internet Options. Click on the Security tab. Now click on Trusted sites and then click on sites button. Type the URL of the website in the text box and click on the Add button . When you’re done, click on Close.


Applies to

 SharePoint Server 2013, Internet Explorer 11.