Copied to clipboard

Flag this post as spam?

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


  • PlkAdmin 7 posts 27 karma points
    Mar 06, 2014 @ 22:07
    PlkAdmin
    0

    Migrating Drive E:\ to M:\ Drive

    Here is the situation.

    We've installed Umbraco umbraco v 4.11.1 (Assembly version: 1.0.4730.32886) a while ago and successful in running the web sites until yesterday. We've installed Umbraco to the Drive E:\ and it became full. To resolve the space issue, We copied all this data to another New drive with more capacity and re-attached as E:\drive.

    By doing this, Umbraco folder has lost all its rights and using the following url we've given rights to "umbraco" group as per the link. (http://our.umbraco.org/wiki/install-and-setup/how-to-install-umbraco-on-windows-server-2008)

    icacls appcode /grant "IIS APPPOOL\umbraco":(OI)(CI)RX icacls appbrowsers /grant "IIS APPPOOL\umbraco":(OI)(CI)RX icacls app_data /grant "IIS APPPOOL\umbraco":(OI)(CI)M icacls bin /grant "IIS APPPOOL\umbraco":(OI)(CI)M icacls config /grant "IIS APPPOOL\umbraco":(OI)(CI)M icacls css /grant "IIS APPPOOL\umbraco":(OI)(CI)M icacls data /grant "IIS APPPOOL\umbraco":(OI)(CI)M icacls macroscripts /grant "IIS APPPOOL\umbraco":(OI)(CI)M icacls masterpages /grant "IIS APPPOOL\umbraco":(OI)(CI)M icacls media /grant "IIS APPPOOL\umbraco":(OI)(CI)M icacls python /grant "IIS APPPOOL\umbraco":(OI)(CI)M icacls scripts /grant "IIS APPPOOL\umbraco":(OI)(CI)M icacls umbraco /grant "IIS APPPOOL\umbraco":(OI)(CI)M icacls usercontrols /grant "IIS APPPOOL\umbraco":(OI)(CI)M icacls views /grant "IIS APPPOOL\umbraco":(OI)(CI)M icacls xslt /grant "IIS APPPOOL\umbraco":(OI)(CI)M icacls web.config /grant "IIS APPPOOL\umbraco":(OI)(CI)M icacls web.config /grant "NETWORK SERVICE":M icacls robots.txt /grant "IIS APPPOOL\umbraco":M

    When we try to visit the site, we got the following information on the server.

    **

    Looks like there's still work to do

    **

    After logging in to the umbraco admin site, When I try to visit or open any content page we got the following error.

    Server Error in '/' Application.

    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.Web.DefaultPublishedContentStore.GetDocumentById(UmbracoContext umbracoContext, Int32 nodeId) +228 Umbraco.Web.Routing.NiceUrlProvider.GetNiceUrl(Int32 nodeId, Uri current, Boolean absolute) +877 Umbraco.Web.Routing.NiceUrlProvider.GetNiceUrl(Int32 nodeId) +190 umbraco.cms.presentation.editContent.UpdateNiceUrls() +509 umbraco.cms.presentation.editContent.OnPreRender(EventArgs e) +61 System.Web.UI.Control.PreRenderRecursiveInternal() +112 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4296

    Has any one had this issue earlier and how to resolve this?

  • Jan Skovgaard 11257 posts 23497 karma points MVP 7x admin c-trib
    Mar 22, 2014 @ 20:10
    Jan Skovgaard
    0

    Hi PlkAdmin

    Did you get this issue resolved?

    Otherwise as you mention it's always crucial to make sure that permissions have been setup correctly and that the IIS site is setup correctly running the right app pool with the right configuration.

    You should be able to republish the entire site by right clicking the "Content" tab and select "Republish entire site". That rebuilds the XML cache.

    I suspect that the issue in the backoffice is probably related to permissions somehow. Could also be some examineindexes that needs to be rebuild. You can always delete the temp examine files from /app_data/temp/examine as well.

    /Jan

Please Sign in or register to post replies

Write your reply to:

Draft