Home
Products
Downloads
Support
Buy
What do the errors "Max groups created", "Max items created" and "Max depth created" mean?
Product Name: WebMenu for ASP
Product Version: 7.0
Document Type: Question
Last Updated: 9/5/2016
Document ID: 31
Answer

The WebMenu for ASP control has a security feature that limits the number of Group, Item and Nested Item objects that can be created in a single instance. By default, this is set to 30 Group, 100 Item and a depth of 10 Item objects. This is designed to protect against any scripting mistakes that could cause excessive resource usage.

If you need more Group or Item objects for your control instance, you can change these settings in the Windows System Registry:

1. For Group objects:

HKEY_LOCAL_MACHINE\SOFTWARE\Coalesys\CSWebMenu.ASP\7.0\MaxGroups

2. For Item objects (overall):

HKEY_LOCAL_MACHINE\SOFTWARE\Coalesys\CSWebMenu.ASP\7.0\MaxItems

3. For Item objects (nested):

HKEY_LOCAL_MACHINE\SOFTWARE\Coalesys\CSWebMenu.ASP\7.0\MaxDepth

If you are using an x64 version of Windows with the 32-bit version of WebMenu, then these registry values are located under the Wow6432Node:

HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Coalesys\CSWebMenu.ASP\7.0

Copyright © 2024 Coalesys, Inc. All Rights Reserved.