Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Marianne Hammer 7 posts 27 karma points
    Nov 24, 2011 @ 14:32
    Marianne Hammer
    0

    Error parsing XSLT file: \xslt\PDCalendar.xslt

    Hi,

    I'm trying to set up PDCalendar and haven't got it work yet. For now i'm stuck with this error:

    An item with the same key has already been added.
    An item with the same key has already been added.
      at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
      at umbraco.macro.GetXsltExtensionsImpl()
      at umbraco.cms.businesslogic.cache.Cache.GetCacheItem[TT](String cacheKey, Object syncLock, CacheItemPriority priority, CacheItemRemovedCallback refreshAction, CacheDependency cacheDependency, TimeSpan timeout, GetCacheItemDelegate`1 getCacheItem)
      at umbraco.macro.GetXsltExtensions()
      at umbraco.macro.AddMacroXsltExtensions()
      at umbraco.macro.GetXsltTransformResult(XmlDocument macroXML, XslCompiledTransform xslt, Dictionary`2 parameters)
      at umbraco.macro.loadMacroXSLT(macro macro, MacroModel model, Hashtable pageElements)

    Some help please...

    Thanks
    Marianne

     

  • Peter Dijksterhuis 1442 posts 1722 karma points
    Nov 24, 2011 @ 15:18
    Peter Dijksterhuis
    0

    Hi,

    Could you tell what version of umbraco you're using and which version of PDCalendar?

    Did anything go wrong which made you install the package for the second time by any chance?

    HTH,

    Peter

  • Marianne Hammer 7 posts 27 karma points
    Nov 24, 2011 @ 15:31
    Marianne Hammer
    0

    Thanks for your quick reply.

    I'm using Umbraco v. 4.7.1 and PDCalendar-version-2.0.1.0-for-.NET4.zip.
    Actually i tried to install PDCalendar.umb first but that didn't work for me so i uninstalled it and gave the other download a try.

    /Marianne

  • Peter Dijksterhuis 1442 posts 1722 karma points
    Nov 24, 2011 @ 16:38
    Peter Dijksterhuis
    0

    I think there's the problem. I think there's allready some stuff installed when you used the umb-file.

    Try uninstalling through umbraco and then cleaning up stuff manually afterwards.

    Things to check for manually:

    - if present, remove the pdcalendar.dll from the bin-folder

    - open xsltextensions.config (in config-folder) and remove the line with 'ext assembly="PDCalendar"' if present

    - check the xslt-folder and remove any file there that starts with PDC (unless it's one of your own, which I doubt)

    After that, please try to install the correct package again.

    HTH,

    Peter

  • Marianne Hammer 7 posts 27 karma points
    Nov 25, 2011 @ 09:04
    Marianne Hammer
    0

    Thanks Peter - that solved the problem.

Please Sign in or register to post replies

Write your reply to:

Draft