Copied to clipboard

Flag this post as spam?

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


  • Stephane Mathis 9 posts 29 karma points
    Mar 13, 2013 @ 15:08
    Stephane Mathis
    0

    Deleting AppData folder

    Hi,

    We've deleted the content of the AppData folder from an Umbraco site running on version 4.11.2, but now the entire site is broken.

    Here is the error that is displayed when we click on a node inthe backoffice :

    Value cannot be null.
    Parameter name: Property metaDescription (138) on Content Type Langue could not be retrieved for Document 1061 on Tab Page Réferencement. To fix this problem, delete the property and recreate it.

     

    And this is the error we get when we click on a data type :


    Object reference not set to an instance of an object.

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

    Source Error:

     

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.


    Stack Trace:

    [NullReferenceException: Object reference not set to an instance of an object.]
       umbraco.cms.businesslogic.datatype.DataTypeDefinition.get_DataType() +433
       umbraco.cms.presentation.developer.editDatatype.Page_Load(Object sender, EventArgs e) +769
       umbraco.BasePages.BasePage.OnLoad(EventArgs e) +18
       System.Web.UI.Control.LoadRecursive() +70
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3177
    

     

    What is the cause of this problem ? How to resolve this problem ? We have tried to restore the database but it didn't work.

  • Neil Tootell 73 posts 118 karma points
    Mar 13, 2013 @ 17:47
    Neil Tootell
    0

    Hi Stephane,

    Most of the elements in the App_Data folder are temporary and can be managed without. Have you tried stopping and restarting the app-pool in IIS to see if this triggars the regeneration of the temp files? 

    Outside of that, I'd re-run the /install/ to get the system to do a diagnostics.

    If that fails, then manually copy over the /App_Data/packages/ folder from another clean install - it's the only folder in there you really need to restore.

    Let me know how you get on.

    Neil

Please Sign in or register to post replies

Write your reply to:

Draft