Copied to clipboard

Flag this post as spam?

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


  • skiltz 501 posts 701 karma points
    Apr 20, 2015 @ 02:34
    skiltz
    0

    Umbraco.config file deleted

    For some reason our umbraco.config file was deleted while working on the site.  I need to get it restored ASAP for obvisous reasons.  I am running /Umbraco/dialogs/republish.aspx?xml=true but its just sitting there, I'm not sure if its working or timed out.  Any suesstions?  We are running version 6.0.6 and have something like 20,000 nodes I think the Umbraco.config file was around 20MB when it crashed..... Any alternatives??

    Thanks heaps.

     

     

  • Paul Blair 466 posts 731 karma points
    Apr 20, 2015 @ 02:49
    Paul Blair
    0

    I just deleted config file on a 6.1.1 site. Went back to sites homepage and the file was automatically regenerated i.e. I didn't have to republish.

    Also, perhaps it is timing out regenerating the file so you could increase the timeout in IIS?

  • skiltz 501 posts 701 karma points
    Apr 20, 2015 @ 02:55
    skiltz
    0

    Thanks for replying Paul.

    It could be timing out but the worker process w3p3.exe is still increasing memory usage so I am guessing its doing something.  I'm reluctant to stop it because its been going for ages so far.  We have a truck load of nodes so maybe it just takes this long.  If i goto the homepage it just goes to the nonodes.aspx page.

    Fun times.

    -Matthew

     

     

     

  • Douglas Robar 3570 posts 4711 karma points MVP ∞ admin c-trib
    Apr 20, 2015 @ 11:49
    Douglas Robar
    1

    Hi, Matthew,

    You shouldn't need to do a 'republish'. Delete the /config/umbraco.config file and then touch the web.config to force an application pool restart. Upon restart the database will be queried (a lot) and the umbraco.config data will be recreated on disk automatically. A republish will publish all pages which will take forever. You don't need a republish, just a refresh of the config with the existing data.

    cheers,
    doug.

  • skiltz 501 posts 701 karma points
    Apr 20, 2015 @ 13:16
    skiltz
    0

    Thanks Doug.

    think my issue is the following....

    Seems like there is an error in my XML somehwere :( From what I read it can be hard to track down.  With 11,000 nodes......Must be a way :)

    -Matthew

     

    ERROR umbraco.content - [Thread 115] Error Republishing

    System.Xml.XmlException: ' ', hexadecimal value 0x0C, is an invalid character. Line 24, position 541.

       at System.Xml.XmlTextReaderImpl.Throw(String res, String[] args)

       at System.Xml.XmlTextReaderImpl.ParseCDataOrComment(XmlNodeType type, Int32& outStartPos, Int32& outEndPos)

       at System.Xml.XmlTextReaderImpl.ParseCDataOrComment(XmlNodeType type)

       at System.Xml.XmlTextReaderImpl.ParseElementContent()

       at System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace)

       at System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc)

       at System.Xml.XmlDocument.Load(XmlReader reader)

       at System.Xml.XmlDocument.LoadXml(String xml)

       at umbraco.content.LoadContentFromDatabase()

     

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Apr 20, 2015 @ 13:27
  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Apr 20, 2015 @ 13:31
    Jan Skovgaard
    100

    Hmm, ok now I'm not sure it will help since from what I can tell 0x0c corresponds to a comma according to this table? http://web.cs.mun.ca/~michael/c/ascii-table.html

    EDIT: Sorry, read the table wrong...it corresponds to np, which is a formfeed...whatever that means?

    /Jan

  • skiltz 501 posts 701 karma points
    Apr 20, 2015 @ 14:05
    skiltz
    0

    THANKYOU!!! Fixed... I owe you a beer when you're in New Zealand next :)

    -Matthew'

     

     

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Apr 20, 2015 @ 14:28
    Jan Skovgaard
    0

    Hi Matthew

    Happy I could help - Hmm, I better start planning a trip then! :D

    Have a nice day mate.

    /Jan

Please Sign in or register to post replies

Write your reply to:

Draft