Copied to clipboard

Flag this post as spam?

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


  • Árni Gunnar Ragnarsson 31 posts 51 karma points
    Aug 07, 2012 @ 17:40
    Árni Gunnar Ragnarsson
    0

    XSLT Save error in fresh 4.8.0

    Hi all.

    I have a fresh install of 4.8.0 and am getting an error when I try to create/save a xslt file. These are two different sites, both having the same problem.

    The xsltExtensions.config looks like this:

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

    And I have flipped the switch on this in web.config numerous times:

    <add key="umbracoDisableXsltExtensions" value="true" />

    This is the error:

     

    System.NullReferenceException: Object reference not set to an instance of an object.
    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.presentation.webservices.codeEditorSave.SaveXslt(String fileName, String oldName, String fileContents, Boolean ignoreDebugging)

    Anyone having a similar issue or knows what I can do about this?

     

  • Bjarne Fyrstenborg 1285 posts 4039 karma points MVP 8x c-trib
    Aug 07, 2012 @ 18:05
    Bjarne Fyrstenborg
    0

    Hi ..

    I have installed a fresh Umbraco 4.8 installation today, but have no problems with saving xslt files. I'm running the site through Microsoft Webmatrix and use MSSQL database ...

    Have you checked the folders have write permissions?

    /Bjarne

  • Árni Gunnar Ragnarsson 31 posts 51 karma points
    Aug 07, 2012 @ 18:11
    Árni Gunnar Ragnarsson
    0

    The folders do indeed have write permissions.

  • Bjarne Fyrstenborg 1285 posts 4039 karma points MVP 8x c-trib
    Aug 07, 2012 @ 18:20
    Bjarne Fyrstenborg
    0

    Okay..

    Perhaps someone else knows why this issue happens.. I haven't experienced it yet..

  • Árni Gunnar Ragnarsson 31 posts 51 karma points
    Aug 07, 2012 @ 18:38
    Árni Gunnar Ragnarsson
    0

    There seemed to be some kind of DLL thing going on. I removed a couple of my own DLLs, and then i saw that there was a different number of files in the /bin directory compared to a fresh 4.8, so I deleted them all, and then all worked fine.

    So I dropped my own in one by one, and it's all good now. Maby some copy error or something ...

  • Bjarne Fyrstenborg 1285 posts 4039 karma points MVP 8x c-trib
    Aug 07, 2012 @ 18:50
    Bjarne Fyrstenborg
    0

    I'm glad you solved the problem..

    I think there have been some bug fixes since the first version of v. 4.8 on Codeplex.. I previously noticed that there was a logout problem with v. 4.8, when using mysql database.. a few hours ago I received the uNews newsletter, where it says v. 4.8.0 is released and there have been some bugfixes.. so perhaps that bug just have been fixed..

    /Bjarne

  • mithun 42 posts 63 karma points
    Aug 08, 2012 @ 08:35
    mithun
    0

    Thanks Arni , I have the same issue.By replacing the App_global.asax.dll  solve the issue.

Please Sign in or register to post replies

Write your reply to:

Draft