+ Reply to Thread
Results 1 to 4 of 4

Thread: Model Builder: An error has occurred in the script on this page. MdDlgContent.htm

  1. #1
    Kristen Grady
    Join Date
    Oct 2010
    Posts
    3
    Points
    0
    Answers Provided
    0


    0

    Default Model Builder: An error has occurred in the script on this page. MdDlgContent.htm

    I've been creating a model in Arc 10.0 for a few days now without problems. Then I added the Calculate Field Tool. I selected Make Variable --> From Parameter --> Expression. When I check off "Model Parameter" on the expression variable once it's been added to the model, save and close the model, then try to open it in Toolbox, I receive two popup errors, both saying "An error has occurred in the script on this page."

    The first error says Error: Expected ')' in Line 79 Character 70 (Code 0):
    Click image for larger version

Name:	Script Error 1.jpg
Views:	54
Size:	108.7 KB
ID:	22478

    The second says The value of the property 'IntForm' is null or undefined, not a Function object in Line 465 Character 1 (Code 0):
    Click image for larger version

Name:	Script Error 2.jpg
Views:	48
Size:	114.6 KB
ID:	22479

    Both messages are referencing the following URL: file:///C:/Users/MYUSERNAME/AppData/Roaming/ESRI/Desktop10.0/ArcToolbox/Dlg/MdDlgContent.htm.

    I located this article in ESRI support and followed the instructions, to no avail. (It must not be the exact same issue, as my message box doesn't reference Internet Explorer in the title). I also tried downloading SP5.

    I opened the MdDlgContent.htm to take a look but that wasn't much help either because, despite some familiarity with Python and JavaScript, I am hardly a programmer.

    Any help troubleshooting or resolving this issue would be greatly appreciated!!
    Last edited by kgrady; 03-08-2013 at 12:54 PM.

  2. #2
    Ray Dominic Maldonado
    Join Date
    Mar 2011
    Posts
    9
    Points
    0
    Answers Provided
    0


    0

    Thumbs down Re: Model Builder: An error has occurred in the script on this page. MdDlgContent.htm

    Same thing just started happening to me today after editing "syntax descriptions" just so I can publish a tool (.gpk) ... Now I can't even open it w/o error, let alone edit whatever ails it... Haven't tried the help link you referenced yet, mostly b/c I'm a bit wary since I'm on 10.1 and it's made for 9.x & 10.0

    This would happen while working on my final project,
    RDM

  3. #3
    Curtis Price

    Join Date
    Oct 2009
    Posts
    1,798
    Points
    875
    Answers Provided
    127


    0

    Default Re: Model Builder: An error has occurred in the script on this page. MdDlgContent.htm

    Quote Originally Posted by kgrady View Post
    Both messages are referencing the following URL: file:///C:/Users/MYUSERNAME/AppData/Roaming/ESRI/Desktop10.0/ArcToolbox/Dlg/MdDlgContent.htm.
    Since this file in in your user profile area, you may want to try regenerating your ArcGIS app profile:

    1. Close all ArcGIS apps
    2. go to your %APPDATA% folder
    3. rename Esri to Esri_ld
    4. restart ArcMap

    You will lose your set up ArcCatalog Connections, but you'll get a nice new clean user profile.

  4. #4

    Join Date
    Mar 2014
    Posts
    1
    Points
    0
    Answers Provided
    0


    0

    Default Re: Model Builder: An error has occurred in the script on this page. MdDlgContent.htm

    Hello,

    The product uses HTML documents served locally. I fixed this error by adding the local domain (Literally 'Local') to the trusted sites list in the Internet Explorer settings.

    Add this key:
    HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains\localhost

    Add a "D-Word (32-bit) Value"

    Name: http
    Value: 1

    This works for my installation. All functions work as expected now.
    Windows 7 x64, IE9, Novell, ArcGIS Desktop 10, v10.0.4400 (SP5).

    I hope this helps.

+ Reply to Thread

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts