Copied to clipboard

Flag this post as spam?

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


  • Fredrik Esseen 608 posts 904 karma points
    Feb 23, 2011 @ 12:56
    Fredrik Esseen
    0

    Opening xslt files in backend crasches

    When i try to open an xslt file I get the folloing error:

    [ArgumentOutOfRangeException: Width must be non negative.
    Parameter name: value]
       System.Web.UI.WebControls.Style.set_Width(Unit value) +8694644
       System.Web.UI.WebControls.WebControl.set_Width(Unit value) +30
       umbraco.uicontrols.UmbracoPanel.OnInit(EventArgs e) +219
       System.Web.UI.Control.InitRecursive(Control namingContainer) +140
       System.Web.UI.Control.InitRecursive(Control namingContainer) +311
       System.Web.UI.Control.InitRecursive(Control namingContainer) +311
       System.Web.UI.Control.InitRecursive(Control namingContainer) +311
       System.Web.UI.Control.InitRecursive(Control namingContainer) +311
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +480
    

    Someone recognize?

     

     

  • Jan Skovgaard 11280 posts 23678 karma points MVP 10x admin c-trib
    Feb 23, 2011 @ 18:59
    Jan Skovgaard
    0

    Hi Froad

    What version of Umbraco do you experience this on?

    /Jan

  • Fredrik Esseen 608 posts 904 karma points
    Feb 24, 2011 @ 14:39
    Fredrik Esseen
    0

    4.6.1.

    I hade some problems with my site before so i reuploaded the folders bin, umbraco and config. Could it have something to do with it?

  • Jan Skovgaard 11280 posts 23678 karma points MVP 10x admin c-trib
    Feb 24, 2011 @ 21:49
    Jan Skovgaard
    1

    Hi Froad

    Yes, I suppose it could.

    Do you have a backup from the files in those folders? Don't know if it can be because there is some setting in the xsltExtensions.config that are messed up perhaps?

    /Jan

  • Fredrik Esseen 608 posts 904 karma points
    Feb 25, 2011 @ 08:27
    Fredrik Esseen
    0

    You were spot on! I looked at the backuped xsltExtensions.config and it differed from the new one.

    Thx!

  • Jan Skovgaard 11280 posts 23678 karma points MVP 10x admin c-trib
    Feb 25, 2011 @ 08:37
    Jan Skovgaard
    0

    Hi Froad

    Happy you got it solved. Almost everytime XSLT files starts complaining in the developer section it has to do with the xsltExtensions.config not being properly setup in my experience.

    Have a nice day :-)

    /Jan

  • Christopher W. Brandsdal 72 posts 133 karma points
    Mar 07, 2011 @ 15:20
    Christopher W. Brandsdal
    0

    Hi!

    I have the same problem, but im my case the xslt section still throws yellow screen of death even when the xsltExtensions.config is untouched after the update. Is there any way to debug this? I even tried deleting all the xslt files, but when I try to create a new file it throws the error:


    Stack Trace:

    [ArgumentOutOfRangeException: Width must be non negative.
    Parameter name: value]
       System.Web.UI.WebControls.Style.set_Width(Unit value) +8694644
       System.Web.UI.WebControls.WebControl.set_Width(Unit value) +30
       umbraco.uicontrols.UmbracoPanel.OnInit(EventArgs e) +219
       System.Web.UI.Control.InitRecursive(Control namingContainer) +140
       System.Web.UI.Control.InitRecursive(Control namingContainer) +311
       System.Web.UI.Control.InitRecursive(Control namingContainer) +311
       System.Web.UI.Control.InitRecursive(Control namingContainer) +311
       System.Web.UI.Control.InitRecursive(Control namingContainer) +311
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +480
    



    Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1

  • Jan Skovgaard 11280 posts 23678 karma points MVP 10x admin c-trib
    Mar 07, 2011 @ 17:20
    Jan Skovgaard
    0

    What does the content of your xsltExtensions.config look like?

    Are you sure that all the dll files referenced in it still does exist in the bin folder?

    /Jan

  • Christopher W. Brandsdal 72 posts 133 karma points
    Mar 07, 2011 @ 20:18
    Christopher W. Brandsdal
    0

    The file is actually empty.

    <?xml version="1.0" encoding="utf-8" ?>
    <XsltExtensions>
    </XsltExtensions>

Please Sign in or register to post replies

Write your reply to:

Draft