I'm running a umbraco (v6.1.6 (Assembly version: 1.0.5021.24867)) website with contour (version 3.0.23-Build.20). Everything works perfectly except when checking the entries of created forms.
Seems like it has something todo with loading xslt extensions but I can't reproduce atm, would you be up for sending a backup of your site to tg at umbraco dot com
This existing solution was migrated from an old v4.x to a v6.x. An unnecessary assembly was being loaded in the config/xsltextensions.config and causing this issue.
500 error when retrieving data
Hi all,
I'm running a umbraco (v6.1.6 (Assembly version: 1.0.5021.24867)) website with contour (version 3.0.23-Build.20). Everything works perfectly except when checking the entries of created forms.
A post is performed to this URL ("NetworkError: 500 Internal Server Error - http://domain/umbraco/plugins/umbracoContour/webservices/records.aspx?guid=19d117f4-cd87-4c13-bb4f-f32216a4b0d9") and I get this exception:
[ArgumentException: An item with the same key has already been added.] System.Collections.Generic.Dictionary
2.Insert(TKey key, TValue value, Boolean add) +14493519 umbraco.macro.GetXsltExtensionsImpl() +1328 Umbraco.Core.Cache.HttpRuntimeCacheProvider.GetCacheItem(String cacheKey, CacheItemPriority priority, CacheItemRemovedCallback refreshAction, CacheDependency cacheDependency, Nullable
1 timeout, Func1 getCacheItem, Object syncLock) +218 Umbraco.Core.Cache.HttpRuntimeCacheProvider.GetCacheItem(String cacheKey, CacheItemPriority priority, CacheItemRemovedCallback refreshAction, CacheDependency cacheDependency, Nullable
1 timeout, Func1 getCacheItem) +176 Umbraco.Core.CacheHelper.GetCacheItem(String cacheKey, CacheItemPriority priority, CacheItemRemovedCallback refreshAction, CacheDependency cacheDependency, TimeSpan timeout, Func
1 getCacheItem) +403 umbraco.macro.AddMacroXsltExtensions() +304 umbraco.macro.GetXsltTransformResult(XmlDocument macroXml, XslCompiledTransform xslt, Dictionary2 parameters) +188 Umbraco.Forms.Data.XsltHelper.TransformXML(XmlNode xml, String XsltFile, Dictionary
2 settings) in f:\TeamCity\buildAgent\work\3b0e3c3a4846294b\Umbraco.Forms.Core\Data\XsltHelper.cs:46 Umbraco.Forms.UI.Webservices.Records.ReturnRecords(Guid id, DateTime date, FormState state, Int32 startIndex, Int32 lenght, Sorting sortOrder) in f:\TeamCity\buildAgent\work\3b0e3c3a4846294b\Umbraco.Forms.UI\Webservices\Records.aspx.cs:97 Umbraco.Forms.UI.Webservices.Records.Page_Load(Object sender, EventArgs e) in f:\TeamCity\buildAgent\work\3b0e3c3a4846294b\Umbraco.Forms.UI\Webservices\Records.aspx.cs:75 System.EventHandler.Invoke(Object sender, EventArgs e) +0 umbraco.BasePages.BasePage.OnLoad(EventArgs e) +19 System.Web.UI.Control.LoadRecursive() +71 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3178Anyone facing the same issues? Thanks in advance.
Comment author was deleted
Does this happen for all forms?
Comment author was deleted
Seems like it has something todo with loading xslt extensions but I can't reproduce atm, would you be up for sending a backup of your site to tg at umbraco dot com
Thanks,
Tim
Hi Tim,
Yes, it happen's in all the forms. I will talk with management within' my company regarding that ok? Thanks.
Comment author was deleted
Yup perfect :)
Comment author was deleted
Seems this has todo with an upgraded installation that also has other xslt errors , so something didn't go right during the upgrade
This existing solution was migrated from an old v4.x to a v6.x. An unnecessary assembly was being loaded in the config/xsltextensions.config and causing this issue.
(
<ext assembly="Umbraco.Forms.Core" type="Umbraco.Forms.Library" alias="umbraco.contour"></ext>
)Thanks for the fast help Tim.
is working on a reply...