2

I've got a fresh install of ArcGIS 10.0, and whenever I try and open a tool from the toolbox (for example, Project Raster) it takes literally 5 minutes to open the dialog, and then at least 30 seconds for any clicks I make in the dialog (for example, to select input files) to register.

Does anyone have any idea why this is? The rest of ArcGIS isn't too slow (at least, no more than normal) but using toolbox tools is just impossible! This doesn't happen on my laptop, and this computer is significantly faster than my laptop (this has 12Gb RAM, quad-core processor etc).

Are there any known problems that might cause this?

  • Are you on Windows 7 (64-bit?) – Mapperz Nov 8 '11 at 16:57
  • 1
    FYI, ArcGIS 10 still isn't multithreaded so it can't take advantage of your quad-core processor except for a few UI-related things. If you open Task Manager while you're running a hefty geoprocessing task you'll see the ArcGIS process is only using 25% of your CPU (1 of the 4 cores). Updating your Arc installation is a good first step but I'd start with SP2 and its associated patches, SP3 just came out a week or two ago and ESRI's track record of releasing bug-free updates isn't that great. – Dan C Nov 8 '11 at 18:52
  • 1
    Has this ever been resolved? I am facing the same dang issue in ArcMap 10.4 - regardless of which computer it is running on. Opening Project Raster takes up to 5 minutes. Even Google has failed to give me any indication as to what is causing that... – Tomm Mar 10 '17 at 3:52
7

Use the latest Service Pack 3

http://resources.arcgis.com/content/patches-and-service-packs?fa=viewPatch&PID=66&MetaID=1807

close arcmap...

delete - normal.mxt (will be recreated when arcmap is restarted.)

The next works if MXD's are networked based (ie not on the local drives)

A registry setting called "OpLocksDisabled", which must be set to 0 (zero). This is called "Opportunistic Locking"

This change affects the Registry - BACKUP first

Administrator privileges required.

1)Go to Start Menu.
2)Choose “Run”.
3)Type “regedit” without quotes and click OK.
4)Navigate to HKEY_LOCAL_MACHINE -> SYSTEM -> ControlSet001 -> Services -> MRxSmb -> Parameters.
5)OplocksDisabled (should equal "0x00000000 (0)", change by typing just “0” without quotes if necessary).
6)Reboot.

*Use at your own risk

2

Do you have access to a compiler?

If so, how long does this take for you. For me opening Project Raster takes 31 msecs.

public static void ListTools()
{
    var t = Type.GetTypeFromProgID("esriGeoprocessing.ToolboxWorkspaceFactory");
    var wsf = Activator.CreateInstance(t) as IWorkspaceFactory;
    var tbxWs = wsf.OpenFromFile(@"C:\Program Files (x86)\ArcGIS\Desktop10.0\ArcToolbox\Toolboxes", 0) as IToolboxWorkspace;
    var enumtbxName = tbxWs.ToolboxNames;
    enumtbxName.Reset();
    IGPToolboxName tbxName = null;
    var ticks = Environment.TickCount;
    while ((tbxName = enumtbxName.Next()) != null)
    {
        var tbx = ((IName)tbxName).Open() as IGPToolbox3;
        Debug.Print(tbx.DisplayName);
        var enumName = tbx.ToolNames;
        enumName.Reset();
        IGPToolName toolName = null;
        while((toolName = enumName.Next())!= null)
        {
            Debug.Print("\t" + toolName.DisplayName);
            if (toolName.DisplayName == "Project Raster")
            {
                var ticks2 = Environment.TickCount;
                var tool = ((IName)toolName).Open() as IGPTool;
                Debug.Print("{0} msecs to open tool", Environment.TickCount - ticks);
            }
        }
        Debug.Print("\t {0} msecs", Environment.TickCount - ticks);
        ticks = Environment.TickCount;
    }
}
1

Have you applied Service Pack 3 after install? There are a lot of bugs fixed there. Also such behavior can be influenced by an old Internet Explorer version, which is used in building toolboxes UI.

  • Yes, I have installed SP3, and IE is at the latest version. – robintw Nov 8 '11 at 17:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.