For the error, “An error has occurred in the script on this page” URL: “https://online.dynamics.com/us/WebResource.axd?d=2eiL_4UDyPKUYbDwJbaFejBYJ44y52hSWZGz5-A7NDC2pVxbl2HB1Ni-” the solution is not within the GP software. The first time I came across this error and attempted to resolve it, I followed https://support.microsoft.com/en-us/kb/2702223. None of these solutions fixed the error. Steps I had taken was to proceed to clear the temp folder from the user directory and then verified the permissions for GP. Most directions that I find online refer to these steps.
In the end, the solution was within Internet Explorer. The error was typically occurring for our hosted Terminal Servers. This is because security is typically stronger on the server due to group policies and security. One of the resources I had referenced clearing cookies. This prompted me to look at compatibility settings and trusted sites.
In Internet Explorer, Go to Tools- Compatibility View Settings
In Internet Explorer, Go to Tools-Internet options
Select the security tab
Select Trusted Sites
Then select Sites
Uncheck “Require server verification (https:) for all sites in this zone
Restart Internet explorer