SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. 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

We are facing script error while trying to upload images to one of the News archive web part in the share point site The error says " An error has occurred in the script on this page"

share|improve this question
up vote 0 down vote accepted

Follow these steps to fix this typical browser related issue caused by improper scripting on the web page.

  1. To resolve this issue, follow these steps on remedy side: Close all the open browser windows.
  2. Navigate to the temp folder on the local machine. Generally located at C:\Documents and Settings\USER\Local Settings\Temp Delete all the temp files
  3. Restart the system if needed
  4. Open the browser and try to reproduce the error
share|improve this answer

The error is too generic and require more information to catch the root cause of issue.

First thing is to restart the browser.

Secondly debugging the issue. This can be achieved in many ways.

  1. Enable script debugging option in browser. Then after refresh you will get an option to debug in the IDE that is available in your machine.

  2. If you have Developer Tool bar available in your browser then the Console window will give you more information about the error like line number etc.

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.