YOUR STORY PLAYS HERE
Home » Categories » Carousel

I get an error related to "aspnet:MaxHttpCollectionKeys"

Applies to

  • Carousel 6.0+

Symptoms

  • When creating or editing a bulletin, an error is passed that states:

Cause

This error results from the default limit for HTML elements that are requested from the web server.

Resolution

To fix this issue, we need to edit the web.config files for Carousel and Cablecast. 

-Open D:\TRMS\Web\Carousel\web.config and D:\TRMS\Web\Cablecast\web.config with a text editor such as Notepad.

Add the line below to the appConfig section of the file. 

<add key="aspnet:MaxHttpCollectionKeys" value="9999" />

Once added, your appConfig section should look similar to this: 

<appSettings>
<add key="aspnet:MaxHttpCollectionKeys" value="9999" />
<add key="FrontDoorUrl" value="/FrontDoor/" />
<add key="ImageCropper Registration Name" value="TRMS"/>
<add key="ImageCropper License Type" value="Enterprise"/>
<add key="ImageCropper Registration Code" value="--1061267-6918293--"/>
<add key="WeatherbugApiKey" value="a4672172786"/>
<add key="WeatherbugServiceUrl" value="http://api.wxbug.net/webservice-v1.asmx"/>
<!--<add key="MediaPath" value="D:\Some\Other\Path\To\Media\Folder

<!--<add key="MediaPath" value="D:\Some\Other\Path\To\Media\Folder\"/>-->

quot;/>-->
</appSettings>

This change will take effect immediately the next time a web page is loaded. 

Additional Information

There are two files for web.config that have similar names: a web.config, and web.config.latest  The correct file to edit is the web.config file, which could be confused for the .latest file is Windows is hiding extensions.  If after editing the config file, the error presents itself again showing 2001 keys, double check to verify you have modified the correct config file.

0 (0)
Article Rating (No Votes)
Rate this article
  • Icon PDFExport to PDF
  • Icon MS-WordExport to MS Word
Attachments Attachments
There are no attachments for this article.
Related Articles RSS Feed
Video does not display properly on Carousel
Viewed 1605 times since Mon, Jan 4, 2016
I get an error that "There is insufficient memory in resource pool "internal" to run this query."
Viewed 1176 times since Fri, Sep 11, 2015
Internet Explorer cannot crop a web picture block.
Viewed 993 times since Mon, Oct 20, 2014
Channel Showing Black When Switching To Carousel
Viewed 1819 times since Mon, Jun 29, 2015
Carousel software version release history
Viewed 1185 times since Tue, Jul 28, 2015
Carousel operating system compatibility
Viewed 1924 times since Tue, Nov 10, 2015
What is a Carousel "DSS"?
Viewed 217 times since Wed, Aug 16, 2017
What version of Internet Explorer does Carousel use for interactive bulletins?
Viewed 1304 times since Mon, Apr 13, 2015
How do I combine two Carousels into one?
Viewed 624 times since Thu, Oct 13, 2016