Copied to clipboard

Flag this post as spam?

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


  • aysha 16 posts 36 karma points
    Jul 18, 2012 @ 11:51
    aysha
    0

    Moving Ublogsy Blog throwing exceptions

    Hi Guys,

     

    I had Ublogsy Blog under news section of my site. I wanted to move it to another content node (new news node), Once I moved the blog, it has stopped showing posts in the umbraco admin and some of the posts do not appear in the site.

    Can someone please help me with this? I havent changed anything in the code as such.

    Within Umbraco editor i get following error :

    Server Error in '/' Application.

    Value cannot be null.
    Parameter name: virtualPath

    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.ArgumentNullException: Value cannot be null.
    Parameter name: virtualPath

    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:

    [ArgumentNullException: Value cannot be null.
    Parameter name: virtualPath]
    System.Web.VirtualPath.Create(String virtualPath, VirtualPathOptions options) +11614094
    umbraco.editorControls.userControlGrapper.usercontrolDataEditor.OnInit(EventArgs e) +133
    System.Web.UI.Control.InitRecursive(Control namingContainer) +133
    System.Web.UI.Control.InitRecursive(Control namingContainer) +421
    System.Web.UI.Control.InitRecursive(Control namingContainer) +421
    System.Web.UI.Control.InitRecursive(Control namingContainer) +421
    System.Web.UI.Control.InitRecursive(Control namingContainer) +421
    System.Web.UI.Control.AddedControl(Control control, Int32 index) +277
    umbraco.controls.ContentControl.addControlNew(Property p, TabPage tp, String Caption) +3676
    umbraco.controls.ContentControl.CreateChildControls() +858
    System.Web.UI.Control.EnsureChildControls() +182
    umbraco.controls.ContentControl.OnInit(EventArgs e) +123
    System.Web.UI.Control.InitRecursive(Control namingContainer) +133
    System.Web.UI.Control.AddedControl(Control control, Int32 index) +277
    umbraco.cms.presentation.editContent.OnInit(EventArgs e) +1005
    System.Web.UI.Control.InitRecursive(Control namingContainer) +133
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1970
  • Anthony Dang 1404 posts 2558 karma points MVP 3x c-trib
    Jul 18, 2012 @ 12:36
    Anthony Dang
    0

    Can you paste a screen grab of your content tree?

     

  • aysha 16 posts 36 karma points
    Jul 18, 2012 @ 12:39
    aysha
    0

  • Gus Deadman 45 posts 65 karma points
    Jul 18, 2012 @ 18:01
    Gus Deadman
    0

    When you moved the blog did you also make sure that you set up the relationships between the DocTypes so that the structure of the DocType of the new location allows the blog DocTypes as children? Also are the ContentPlaceHolderIds are all set up correctly in the Templates and are the Templates nested appropriately for your needs? These would be the places I would start to look.

    One workaround you could do is if the old and the new News sections are at the same level, copy the original news and blog into a position parallel to the original and then remove/add content from there until they are both how you want them. This may or may not be a possibility depending on the amount of content and time you have.

    Cheers

    Gus 

  • aysha 16 posts 36 karma points
    Jul 18, 2012 @ 18:02
    aysha
    0

    HI All,

     

    Thanks for your replies. This issue is fixed now.

    The problem was in the utagsy Data type, render control was not selected correctly.

    Cheers

     

Please Sign in or register to post replies

Write your reply to:

Draft