Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Script error when launching Microsoft Dynamics GP 2010: "An error has occurred in the script on this page"


View products that this article applies to.

Symptoms

When attempting to launch Microsoft Dynamics GP, refresh the home page or access a navigation list on the home page, an error shows similar to this:

An error has occurred in the script on this page

Line: XXX

Char: X

Error: Object doesn't support this property or method

Code: X

URL: file: ///C:/Documents%20and%20Settings/xxxxxxx/Local%Settings/Temp/tmpx.tmp



↑ Back to the top


Cause

This type of error can be caused as a result of multiple reasons, listed under Resolution below.

↑ Back to the top


Resolution

A. Permissions, we recommend that all Microsoft Dynamics GP users have at a minimum read/write/modify, if not Full Control permissions, to the following:

 1. The Microsoft Dynamics GP 2010 code folder itself. By default, this will be C:\Program Files\Microsoft Dynamics\GP2010

 2. Any shared network folders that contain modified forms and/or reports dictionary files for Microsoft Dynamics GP.

 3. The user's own TEMP directory.


B. Missing UserData folder

1. On the user's machine, click Start, click Run, type in the following and click Enter: %appdata%\Microsoft\Internet Explorer

2. The UserData folder is a system folder so you may not see it appear. How you can verify whether it exists or not is to attempt to create a new UserData folder, which should give you a message that this folder already exists.

3. If the UserData folder doesn't exist, create it in this location.


C. Users Temporary Internet Files

 1. On the machine that the user is using with Microsoft Dynamics GP, click Start, click Control Panel and then click on Internet Options (you can also access this in Internet Explorer)

2. In the Internet Options window, click on the General tab.

3. Under Browsing History, click the Delete... button.

4. Select Temporary Internet Files, Cookies and History options and then click the Delete button.

5. Also under the Browsing History section, click the Settings button and verify that Every Time I visit the Web Page option is selected.

6. Click OK to close out of all windows after saving any changes.

D. Missing or corrupt Office Web Components.

 Note: If you have already installed the Office Web Components please try to run a repair on the installs. This will resolve any issues with the installs.

If you use the 2007 or 2010 Office programs, you must install the Office Web Components for Office 2003. 

To obtain the Office Web Components for Office 2007, visit the following Microsoft Web site: 

Microsoft Office 2003 Web Components Service Pack 1 (SP1) for the 2007 Microsoft Office System

Note The Office Web Components for Office 2007 are a service pack for the Office Web Components for Office 2003. You must install Office Web Components for Office 2003 before you install this service pack. 

E. UAC

 1. If running Dynamics GP on a newer operating system, such as Windows 7 or Windows Server 2008, click Control Panel, then click User Accounts.

2. Click on Change User Account Control settings.

3. If not already set this way, change the setting to be Never notify and click OK. This will require a reboot of the machine for the changes to take place.

 4. Once the machine is rebooted, launch Microsoft Dynamics GP 2010 again and verify whether the script errors remain.

↑ Back to the top


Keywords: kb, kbsurveynew, kbmbsmigrate, kbmbspartner

↑ Back to the top

Article Info
Article ID : 2702223
Revision : 2
Created on : 4/9/2020
Published on : 4/9/2020
Exists online : False
Views : 231