Copied to clipboard

Flag this post as spam?

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


  • Ove Andersen 435 posts 1541 karma points c-trib
    Aug 26, 2013 @ 09:39
    Ove Andersen
    0

    Error when trying to view entries for a form

    Getting the following message in the Umbraco log when opening the entries view:

    2013-08-26 09:35:37,131 [10] ERROR Umbraco.Core.UmbracoApplicationBase - [Thread 37] An unhandled exception occurred
    System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.Xml.XmlException: The 'ext' start tag on line 11 position 3 does not match the end tag of 'XsltExtensions'. Line 13, position 3.
       at System.Xml.XmlTextReaderImpl.Throw(Exception e)
       at System.Xml.XmlTextReaderImpl.Throw(String res, String[] args)
       at System.Xml.XmlTextReaderImpl.ThrowTagMismatch(NodeData startTag)
       at System.Xml.XmlTextReaderImpl.ParseEndElement()
       at System.Xml.XmlTextReaderImpl.ParseElementContent()
       at System.Xml.XmlTextReaderImpl.Read()
       at System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace)
       at System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc)
       at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
       at System.Xml.XmlDocument.Load(XmlReader reader)
       at System.Xml.XmlDocument.Load(String filename)
       at umbraco.macro.GetXsltExtensionsImpl()
       at Umbraco.Core.Cache.HttpRuntimeCacheProvider.GetCacheItem[TT](String cacheKey, CacheItemPriority priority, CacheItemRemovedCallback refreshAction, CacheDependency cacheDependency, Nullable`1 timeout, Func`1 getCacheItem, Object syncLock)
       at Umbraco.Core.Cache.HttpRuntimeCacheProvider.GetCacheItem[TT](String cacheKey, CacheItemPriority priority, CacheItemRemovedCallback refreshAction, CacheDependency cacheDependency, Nullable`1 timeout, Func`1 getCacheItem)
       at Umbraco.Core.CacheHelper.GetCacheItem[TT](String cacheKey, CacheItemPriority priority, CacheItemRemovedCallback refreshAction, CacheDependency cacheDependency, TimeSpan timeout, Func`1 getCacheItem)
       at umbraco.macro.GetXsltExtensions()
       at umbraco.macro.AddMacroXsltExtensions()
       at umbraco.macro.GetXsltTransformResult(XmlDocument macroXml, XslCompiledTransform xslt, Dictionary`2 parameters)
       at Umbraco.Forms.Data.XsltHelper.TransformXML(XmlNode xml, String XsltFile, Dictionary`2 settings)
       at Umbraco.Forms.UI.Webservices.Records.ReturnRecords(Guid id, DateTime date, FormState state, Int32 startIndex, Int32 lenght, Sorting sortOrder)
       at Umbraco.Forms.UI.Webservices.Records.Page_Load(Object sender, EventArgs e)
       at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
       at System.Web.UI.Control.OnLoad(EventArgs e)
       at umbraco.BasePages.BasePage.OnLoad(EventArgs e)
       at System.Web.UI.Control.LoadRecursive()
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
       at System.Web.UI.Page.HandleError(Exception e)
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
       at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
       at System.Web.UI.Page.ProcessRequest()
       at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context)
       at System.Web.UI.Page.ProcessRequest(HttpContext context)
       at ASP.umbraco_plugins_umbracocontour_webservices_records_aspx.ProcessRequest(HttpContext context) in c:\Users\oveand\AppData\Local\Temp\Temporary ASP.NET Files\root\c33227a4\1f52a2ce\App_Web_records.aspx.16e6d4a8.h9ddtzey.0.cs:line 0
       at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
       at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
    

    Also, it seems to not process the email workflow. I can't validate that this is true though, because I can't view entries :-)

  • Comment author was deleted

    Aug 26, 2013 @ 09:42

    Does this happen on all forms or on a specific form?

  • Comment author was deleted

    Aug 26, 2013 @ 09:43

    Looks like the xslt extensions file has invalid xml can you check the file?

  • Comment author was deleted

    Aug 26, 2013 @ 09:46

    Xslt will probably also fail so just check the /config/xsltExtensions.config file

  • Ove Andersen 435 posts 1541 karma points c-trib
    Aug 26, 2013 @ 09:56
    Ove Andersen
    1

    Yep. This was the culprit (missing closing '/'):

    <ext assembly="Umbraco.Forms.Core" type="Umbraco.Forms.Library" alias="umbraco.contour">
    

    Don't know how it was installed like this though. We have not touched this file as we don't use xslt on the site.

  • Comment author was deleted

    Aug 26, 2013 @ 09:59

    Ok glad it's solved :)

  • Bill 5 posts 25 karma points
    Jun 18, 2014 @ 19:36
    Bill
    0

    I hate to revive an old thread but I ran into this as well.  From what I can tell, the xsltExtensions.config had been missing the / for a while but didn't create problems until we upgraded to a newer version of Contour.  So, I have no idea when the config file got messed up.

    I did notice as I was validating the Contour update against the manual install instructions (http://our.umbraco.org/projects/umbraco-pro/contour/documentation/Installation/Manual), the instructions list the reference without the / as follows:

    <ext assembly="/bin/Umbraco.Forms.Core" type="Umbraco.Forms.Library" alias="umbraco.contour">

    Note: I didn't previously have /bin/ in the config file and it failed when I added it.

     

Please Sign in or register to post replies

Write your reply to:

Draft