Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsMediaMedia"Given key was not present" error"Given key was not present" error
Previous
 
Next
New Post
8/12/2010 2:39 PM
 
Hello,

I am trying to install Media 3.3 on a remote DNN 5.4.1 site. The install fails with the error given below. Please advise on how I should proceed from here.

Thanks!

ExceptionSystem.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary. at System.ThrowHelper.ThrowKeyNotFoundException() at System.Collections.Generic.Dictionary`2.get_Item(TKey key) at DotNetNuke.Services.EventQueue.EventQueueController.GetSubscribers(String eventName) at DotNetNuke.Services.EventQueue.EventQueueController.SendMessage(EventMessage message, String eventName) at DotNetNuke.Services.Installer.Installers.ModuleInstaller.Commit() at DotNetNuke.Services.Installer.Installers.PackageInstaller.Commit() at DotNetNuke.Services.Installer.Installers.PackageInstaller.Install() at DotNetNuke.Services.Installer.Installer.InstallPackages() at DotNetNuke.Services.Installer.Installer.Install()
 
New Post
8/13/2010 12:02 AM
 
I have to admit that I do not think that we tested the Media Module (03.03.00) in DNN version 05.04.01, so I just did.  I was unable to duplicate the error you received.  In fact, I received no errors whatsoever.  Unfortunately, this means that there was something else getting in the way, or something else missing from your initial description.

I did the following:
  1. Downloaded and installed DNN 05.04.01
  2. Downloaded and installed Media 03.03.00
Your use case is obviously much more complicated than a fresh install of DNN and Media, without other extensions being installed (core and 3rd party).  Can you think of anything else that might be helpful to us to point you in the right direction to get around this problem?

In the meantime, consider uninstalling (if necessary), and reinstalling the Media Module, and perhaps upgrading DNN.  The reinstall of the module might work, but the upgrade of DNN would simply make your instance more stable.

Will Strohl

Upendo Ventures Upendo Ventures
DNN experts since 2003
Official provider of the Hotcakes Commerce Cloud and SLA support
 
New Post
8/13/2010 8:17 AM
 
The issue that you are reporting is not related to the Media module and in fact will show up on the installation of any module (at least any which supports the IUpgradable interface as does Media).

Locate the following file in the intallation's file system (i.e. not using File Manager) and delete it.
 
Portals\_default\EventQueue\EventQueue.config

Apparently the file is either corrupted or more likely missing an new <Event> note which should have been added in a previous DotNetNuke framework version. The next time that the file is needed it will be regenerated automatically.

Because one of the side effects of this error is that the UpgradeModule method of the Media's business controller would not have been able to run, I would recommend that after you have deleted the EventQueue.config file you also uninstall the Media module then re-install it. If you have installed any other modules since first noticing this issue, they may have a similar problem or may falsly not be showing that they support Import/Export and Search capabilities.

Bill, WESNet Designs
Team Lead - DotNetNuke Gallery Module Project (Not Actively Being Developed)
Extensions Forge Projects . . .
Current: UserExport, ContentDeJour, ePrayer, DNN NewsTicker, By Invitation
Coming Soon: FRBO-For Rent By Owner
 
New Post
8/13/2010 8:55 AM
 
Thank you Will and William for your prompt and thorough responses.

I followed William's instructions to the T, and I was able to install the Media module without error.

So again, I appreciate your help.
 
New Post
8/13/2010 10:55 AM
 
Thanks for that answer, William.  I didn't know how to explain that anywhere near as well as you did.  :)

Will Strohl

Upendo Ventures Upendo Ventures
DNN experts since 2003
Official provider of the Hotcakes Commerce Cloud and SLA support
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsMediaMedia"Given key was not present" error"Given key was not present" error


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out