Copied to clipboard

Flag this post as spam?

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


  • Árni Gunnar Ragnarsson 31 posts 51 karma points
    Jan 23, 2011 @ 21:51
    Árni Gunnar Ragnarsson
    0

    Error: No Document exists with Version

    Hi.

    I have tried to install this package twice in a brand spankin' fresh 4.6 install, but always get this error when I go to the editMedia.aspx page in the media-gallery.

    I have installed everything correctly I think, Data Type, and the Image media type.

    Any ideas ... ?

    Server Error in '/' Application.

    No Document exists with Version 'ff3c52ca-dd06-48cc-989a-7701c2270871'

    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.ArgumentException: No Document exists with
    Version 'ff3c52ca-dd06-48cc-989a-7701c2270871'

    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:
    [ArgumentException: No Document exists with Version 'ff3c52ca-dd06-48cc-989a-7701c2270871']
       umbraco.cms.businesslogic.web.Document.setupNode() +487
       umbraco.cms.businesslogic.CMSNode..ctor(Int32 Id) +36
       umbraco.cms.businesslogic.web.Document..ctor(Int32 id) +14
       Kenny.Umbraco.DataTypes.ImageCropper.DataEditor.OnInit(EventArgs e) +359
       System.Web.UI.Control.InitRecursive(Control namingContainer) +140
       System.Web.UI.Control.InitRecursive(Control namingContainer) +311
       System.Web.UI.Control.InitRecursive(Control namingContainer) +311
       System.Web.UI.Control.InitRecursive(Control namingContainer) +311
       System.Web.UI.Control.InitRecursive(Control namingContainer) +311
       System.Web.UI.Control.AddedControl(Control control, Int32 index) +197
       System.Web.UI.ControlCollection.Add(Control child) +79
       umbraco.controls.ContentControl.addControlNew(Property p, TabPage tp, String Caption) +3674
       umbraco.controls.ContentControl.CreateChildControls() +552
       System.Web.UI.Control.EnsureChildControls() +102
       umbraco.controls.ContentControl.OnInit(EventArgs e) +32
       System.Web.UI.Control.InitRecursive(Control namingContainer) +140
       System.Web.UI.Control.AddedControl(Control control, Int32 index) +197
       System.Web.UI.ControlCollection.Add(Control child) +79
       umbraco.cms.presentation.editMedia.OnInit(EventArgs e) +502
       System.Web.UI.Control.InitRecursive(Control namingContainer) +140
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +480

    Version Information: Microsoft .NET Framework Version:4.0.30319;
    ASP.NET Version:4.0.30319.1
  • Kim Andersen 1447 posts 2196 karma points MVP
    Jan 23, 2011 @ 21:54
    Kim Andersen
    1

    Hi Arni

    The Image Cropper is part of the core now in v4.6. So you shouldn't have to install this package, as the data type is already installed when you install Umbraco :)

    /Kim A

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Jan 23, 2011 @ 21:56
    Jan Skovgaard
    0

    Hi Arni

    Kim is right. This has been a part of the default installation since v 4.5 - however before the release of 4.6 one would need to create the datatype within Umbraco and select the image cropper for the datatype. In v 4.6 it's there out of the box in the developer section under datatypes.

    /Jan

  • Árni Gunnar Ragnarsson 31 posts 51 karma points
    Jan 23, 2011 @ 23:09
    Árni Gunnar Ragnarsson
    0

    Thanks for the replies guys, much appreciated. But I think I did some damage to the installation, because I uninstalled the package and now all the images in my folder are acting up ... any ideas on that ?

  • Kim Andersen 1447 posts 2196 karma points MVP
    Jan 23, 2011 @ 23:17
    Kim Andersen
    0

    Hmm... That doesn't sound very nice. When you say acting up, how do you mean? You get a YSOD when you click them, or they disappeared from the tree or what?

    /Kim A

  • Árni Gunnar Ragnarsson 31 posts 51 karma points
    Jan 23, 2011 @ 23:36
    Árni Gunnar Ragnarsson
    0

    YSOD in media > folder > image

    YSOD in developer > data types > image cropper

    I think this could be a data-issue in the database ... maby I should install a fresh install into another db, and check the tables for differences, but what tables should I be looking at ?

  • Kim Andersen 1447 posts 2196 karma points MVP
    Jan 24, 2011 @ 09:12
    Kim Andersen
    0

    The YSOD in the media section might occour because that you have added the image cropper to your media's, and if there are some problems with the cropper, then the images will probably fail. Could you first of all try to remove the image cropper property from your images in the settings section? If you've added it earlier of course :)

    /Kim A

  • Árni Gunnar Ragnarsson 31 posts 51 karma points
    Jan 24, 2011 @ 10:40
    Árni Gunnar Ragnarsson
    0

    I did remove it from the Image media type, and then the media gallery works, but I can't get the Image Cropper in again.

  • Árni Gunnar Ragnarsson 31 posts 51 karma points
    Jan 24, 2011 @ 15:35
    Árni Gunnar Ragnarsson
    0

    I clearly did some damage to the setup, so I spent the better part of the morning moving what I had done to a new and fresh install of umbraco. I have the multiple file upload package installed, and when I add the Image Crop data type to the image, I get a YSOD:

    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.editorControls.imagecropper.DataEditor.OnInit(EventArgs e) +551
       System.Web.UI.Control.InitRecursive(Control namingContainer) +140
       System.Web.UI.Control.InitRecursive(Control namingContainer) +311
       System.Web.UI.Control.InitRecursive(Control namingContainer) +311
       System.Web.UI.Control.InitRecursive(Control namingContainer) +311
       System.Web.UI.Control.InitRecursive(Control namingContainer) +311
       System.Web.UI.Control.AddedControl(Control control, Int32 index) +197
       System.Web.UI.ControlCollection.Add(Control child) +79
       umbraco.controls.ContentControl.addControlNew(Property p, TabPage tp, String Caption) +3675
       umbraco.controls.ContentControl.CreateChildControls() +552
       System.Web.UI.Control.EnsureChildControls() +102
       umbraco.controls.ContentControl.OnInit(EventArgs e) +32
       System.Web.UI.Control.InitRecursive(Control namingContainer) +140
       System.Web.UI.Control.AddedControl(Control control, Int32 index) +197
       System.Web.UI.ControlCollection.Add(Control child) +79
       umbraco.cms.presentation.editMedia.OnInit(EventArgs e) +502
       System.Web.UI.Control.InitRecursive(Control namingContainer) +140
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +480

    Version Information: Microsoft .NET Framework Version:4.0.30319;
    ASP.NET Version:4.0.30319.1
  • rich hamilton 117 posts 136 karma points
    Feb 23, 2012 @ 12:28
    rich hamilton
    0

    I am getting the same problem, installed and unistalled, now need to set it back up again.

    When I add a DataType for the cropper tool, which database datatype should it be?

    Date, Integer, NText, NVarChar?

    and a prevalue?

  • rich hamilton 117 posts 136 karma points
    Feb 23, 2012 @ 12:33
    rich hamilton
    0

    If you have deleted the ImageCropper datatype, you need to use the property alias umbracoFile for it to work.

Please Sign in or register to post replies

Write your reply to:

Draft