s
menu menu

Login  |  Register search:   
Search Blog
Enterprise Forms Blog
May9

Written by:EThuongmai Support
5/9/2010 5:40 PM 

In recent weeks, we have had a number of customers reportings errors while installing Enterprise Forms.  The error message is along the lines of the following

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()


This is a particular DNN issue and is generally caused by missing component in the ..\Portals\_default\EventQueue\EventQueue.config file.  To fix the issue simply copy the content between the --- lines to your EventQueue.config.  Make sure to replace the following value to from the value of your original EventQueue.config file

efbcd110-e941-410a-96f9-96c74b794ec9

In addition you will also need to change the PrivateKey (D9E266EF75204BD7A867C6091FF7587D) to your own custom value.

---------------------------COPY HERE-------------------------------------

<?xml version="1.0" encoding="utf-16"?>
<EventQueueConfig>
  <PublishedEvents>
    <Event>
      <EventName>Application_Start</EventName>
      <Subscribers>efbcd110-e941-410a-96f9-96c74b794ec9</Subscribers>
    </Event>
    <Event>
      <EventName>Application_Start_FirstRequest</EventName>
      <Subscribers>efbcd110-e941-410a-96f9-96c74b794ec9</Subscribers>
    </Event>
  </PublishedEvents>
  <EventQueueSubscribers>
    <Subscriber>
      <ID>efbcd110-e941-410a-96f9-96c74b794ec9</ID>
      <Name>DNN Core</Name>
      <Address />
      <Description />
      <PrivateKey>D9E266EF75204BD7A867C6091FF7587D</PrivateKey>
    </Subscriber>
  </EventQueueSubscribers>
</EventQueueConfig>

----------------------------COPY END--------------------------------------

Tags:

1 comment(s) so far...

Re: Error installing module on DNN5.3.1/5.4.1

Indeed you should. The file should just be a standard XML file similar to what shown here.

By EThuongmai Support on  5/11/2010 4:37 PM
footer
Update :: February 11, 2012