FIX: Microsoft Teams an error has occurred in this page script

Tashreef Shareef
by Tashreef Shareef
Windows & Software Expert
0 Comments
Download PDF
Affiliate Disclosure

Microsoft Teams an error has occurred in the script on this page

The Windows OS comes pre-installed with a number of Microsoft apps like Microsoft Edge, Internet Explorer, Windows Store, etc. Sometimes, while accessing one of these apps like the Microsoft Teams or the web browser, you may encounter the Microsoft Teams an error has occurred in the script on this page error.

Similar issues have been reported in the Microsoft forums as well.

Ad

My company migrated to Office 365 last week. I have updated my OneDrive for Business for the version of Office 2016.
But since then, I am not able anymore to sign in to synchronize some sharepoints.

If you are also troubled by this error, here are a couple of troubleshooting tips to helps you resolve it in Windows.

How to fix Microsoft Teams page script errors

1. Disable the Script Error Notification

  1. If the error message does not hint at any other service interfering with the script or the app, try disabling the scripting error notification in Internet Explorer.
  2. Press Windows Key + R to open Run.
  3. Type control and click OK to open the Control Panel.
  4. In the Control Panel, click on Network and Internet.
    Microsoft teams an error has occurred in the script on this page
  5. Click on Internet Options.
  6. In the Internet Properties window, click Advanced tab.
    Microsoft teams an error has occurred in the script on this page
  7. Uncheck the Display a notification about every script error option.
    Microsoft teams an error has occurred in the script on this page
  8. Make sure Disable script debugging (other) and Disable script debugging (Internet Explorer options are checked.
  9. Click Apply to save the changes. Click OK to close the window.

USEFUL TIP: How to blur backgrounds in Microsoft Teams


2. Disable Third-party services

  1. If the issue persists and you are still seeing the script error, try disabling the non-Microsoft service that might be causing the errors.
  2. Press Windows Key + R to open Run.
  3. Type msconfig and click OK to open System Configuration.

  4. In the System Configuration window, click the Services tab.
  5. At the bottom, check the box for Hide all Microsoft Services.
    Microsoft teams an error has occurred in the script on this page
  6. After that, click the Disable all button. This will disable all the non-Microsoft services.
  7. Click the Startup tab.
  8. Click on Open Task Manager.

  9. In the Task Manager, select all the apps one by one and Disable them in the Startup tab.
  10. Close the Task Manager and go back to System Configuration.
  11. Click Apply and click OK.
  12. Restart the computer if prompted to restart.
  13. After the restart, try to open Microsoft Teams client and check if the Microsoft teams an error has occurred in the script on this page error still occurs.
  14. If the error is resolved, it could be one of the third-party apps that are causing the issues.
  15. Open System Configuration and go to Service tab and enable all the services again. Now you need to figure out the third-party app that is creating conflict with Microsoft Teams and remove it.

If the issue persists, try to perform a System Restore. This will help you to fix your system without deleting any files.

FAQ: Learn more about Microsoft Teams

  • What does it mean when an error has occurred in the script on this page?

This error indicates that Microsoft Teams is trying to run a script that is not supported or is not compatible with the browser you’re currently using.

  • How do Microsoft Teams share control?

Microsoft Teams allows users to give or take control of the shared content. The steps to follow are simple:

  1. Navigate to the sharing toolbar
  2. Click on the Give control button
  3. Select the person you want to give control of shared content
  4. If you want to take control back, simply click on the Take back control button.
  • Does Microsoft Teams allow remote control?

Microsoft Teams supports remote control for both internal and external users and guests during meetings. Here are the steps to follow:

  1. Navigate to the Microsoft Teams admin center > Meetings > Meeting policies
  2. Click on the New policy button > go to Content sharing
  3. Now, use the drop-down menu to select the Screen sharing mode you want
  4. Turn the following settings on to allow participants to request control over the presenter’s desktop:
    • Allow a participant to give or request control
    • Allow an external participant to give or request control
  5. Save your new settings.

Editor’s Note: This post was originally published in September 2019 and has been since updated for freshness and accuracy.

Ad