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)
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.
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
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
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
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
Thanks Peter - that solved the problem.
is working on a reply...