Copied to clipboard

Flag this post as spam?

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


  • Jannick Læssøe 7 posts 27 karma points
    Sep 22, 2010 @ 11:17
    Jannick Læssøe
    0

    Error with "Publish at" and Distributed calls - bad match?

    We have a Umbraco website with 8 webservers, updated ny the distributed calls.
    We run Umbraco 4.5.2 and .Net 4.0

    I works fine when I manually publish a node - but when I use the "Publish at" method - the node is only published on 1 server and the following error comes in the umbracoLog:

    Error refreshing distributed list: 'System.NullReferenceException:
    Object reference not set to an instance of an object.    
    at umbraco.presentation.cache.CacheRefresher..ctor()    
    at umbraco.presentation.cache.dispatcher.InvokeDispatchMethod(DispatchType dispatchType, Guid factoryGuid, Int32 numericId, Guid guidId)'

    Does anybody else have this error?

  • Chris Evans 137 posts 353 karma points c-trib
    Oct 22, 2010 @ 03:03
    Chris Evans
    0

    We're also encountering this identical issue, distributed calls, manual publish fine, but Publish At results in this error message in the umbracoLog table.

    Has anyone found a resolution for this? I've posted a codeplex issue here: http://umbraco.codeplex.com/workitem/29237

  • Jannick Læssøe 7 posts 27 karma points
    Oct 22, 2010 @ 07:39
    Jannick Læssøe
    0

    Unfortunatly, we did not find a solution for this... :-(

    But it's good to know we are not alone with this...

  • Anthony Dang 1404 posts 2558 karma points MVP 3x c-trib
    Oct 25, 2010 @ 16:50
    Anthony Dang
    0

     

    File locking in windows. Gotta love it!

    I have this issue too! Elmah reports this....

     

    System.UnauthorizedAccessException: Access to the path 'D:\<THE SITE FOLDER>\App_Data\umbraco.config' is denied.

       at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)

       at System.IO.File.Delete(String path)

       at umbraco.content.DeleteXmlCache()

       at umbraco.content.PersistXmlToFile(XmlDocument xmlDoc)

       at umbraco.content.PersistXmlToFile()

       at umbraco.presentation.requestModule.context_PostRequestHandlerExecute(Object sender, EventArgs e)

       at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()

       at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

     

     

    Could it have something to do with the umbraco.config being in the App_Data folder now? Any special rules applied to that folder in .net that may cause this? I don't have direct access to the production servers so I can't poke around.

     

     

  • Wojciech Tengler 95 posts 198 karma points
    Dec 03, 2010 @ 09:57
    Wojciech Tengler
    0

    Hi!

    You can find the solution here http://umbraco.codeplex.com/workitem/29237

  • Ian Smedley 97 posts 192 karma points
    Jan 26, 2011 @ 15:34
    Ian Smedley
    0

    I'm experiencing the same error, same problem, is this going to be fixed in a future release? I imagine most large sites which may be using publishing features, will also be using distributed calls, voted for the issue on Codeplex, got 7 votes now.

  • Baldy 20 posts 40 karma points
    Oct 01, 2013 @ 12:18
    Baldy
    0

    The solution is now a dead link, as they moved to github.

    Can anyone here remember the solution?  i have this issue and im getting a 403 whenever we hit the CacheRefresher.asmx.

    I cant understand why, as the app pool user has full permissions to hit the URL, we even allow anonymous but it still gets a 403.

    this leads me to believe that umbraco is serving the 403 for some other reason, and its not IIS.

    Can anyone help...?

  • Wojciech Tengler 95 posts 198 karma points
    Oct 10, 2013 @ 11:20
    Wojciech Tengler
    0

    Lets see at: http://issues.umbraco.org/issue/U4-3088

    I'm going to prepare a pull request.

  • Zac 239 posts 541 karma points
    Mar 07, 2014 @ 23:52
    Zac
    0

    We're getting this same issue now.  Did anyone resolve it?

  • David Peck 687 posts 1863 karma points c-trib
    Aug 16, 2016 @ 10:17
    David Peck
    0

    You can see the old 'solution' page here, but not sure how much it helps: https://web.archive.org/web/20120625044628/http://umbraco.codeplex.com/workitem/29237

Please Sign in or register to post replies

Write your reply to:

Draft