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

HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Error in parsing template fileError in parsing template file
Previous
 
Next
New Post
6/10/2010 2:59 PM
 
Hi all,

i am getting following error during portal template import process:

Error :Error parsing Portal TemplateThe 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..................


Have anyone idea about this type of error?
Any help would be greatly appriciated?


Thanks
vyom dixit
 
New Post
6/10/2010 8:22 PM
 
What version of DNN are you using? What version of DNN was the template created in?

Chris Hammond
Former DNN Corp Employee, MVP, Core Team Member, Trustee
Christoc.com Software Solutions DotNetNuke Module Development, Upgrades and consulting.
dnnCHAT.com a chat room for DotNetNuke discussions
 
New Post
6/13/2010 2:58 AM
 
Hi Chris,

                     I am using dnn version 5.04.01. I recetly upgraded my application from dnn version 4.09.01 to 5.04.01. I have exported a template with the existing child portal of my web portal with including content. Then i have added some more tabs with the same copy of another tab via program(  edited template file with adding more new tabs with same copy of another existing tab in the template file) . Then i gone for import it with my existing web portal for new child portal creation, then i got this error continously. I tried with other child portal's template file also , but i found same error during import process.

I examined that this error is only coming in the case , if i used a template that had been exported with content.
If i not include content during export process then i have no issue in the importing process after editing in the template file.
Have you any idea , what can have the issues  with it?

Thanks for your response.
Vyom Dixit
 
New Post
7/15/2010 2:27 PM
 
Hi

I had the same at it was somethign with eventqueue.config file

see if it is present and has content in portals/_default/EventQueue

this is the content of mine that solved the problem

<?xml version="1.0" encoding="utf-16"?>
<EventQueueConfig>
  <PublishedEvents>
    <Event>
      <EventName>Application_Start</EventName>
      <Subscribers>cc35a386-9cdb-4900-934d-31888a1e875c</Subscribers>
    </Event>
    <Event>
      <EventName>Application_Start_FirstRequest</EventName>
      <Subscribers>cc35a386-9cdb-4900-934d-31888a1e875c</Subscribers>
    </Event>
  </PublishedEvents>
  <EventQueueSubscribers>
    <Subscriber>
      <ID>cc35a386-9cdb-4900-934d-31888a1e875c</ID>
      <Name>DNN Core</Name>
      <Address />
      <Description />
      <PrivateKey>F35224BD59A4F6114962ED29D4EDDBAB</PrivateKey>
    </Subscriber>
  </EventQueueSubscribers>
</EventQueueConfig>
 
New Post
7/23/2010 8:12 AM
 
Hi Armand,
                        thanks for your response. I will go through again the whole process and let you know, Is this was the problem?
thanks again.


Vyom Dixit
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Error in parsing template fileError in parsing template file


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