Not sure if I'm posting in the right place.. but anyway..
I have installed Eksponent CropUp 0.9 on a 4.7.2 installation and can successfully create the data type, set up the config for CropUp and attach the data type to my media type. The problem is when I navigate to a media item, I get an object reference not set error (see below). Has anyone run into this problem or have a fix for it?
Thanks,
Braydie
------------------------------
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.]
Eksponent.CropUp.CropUpModule.get_ImageUrlPrefix() +111
Eksponent.CropUp.CropUpModule..cctor() +37
[TypeInitializationException: The type initializer for 'Eksponent.CropUp.CropUpModule' threw an exception.]
Eksponent.CropUp.CropUpModule.GetImageUrl(String imagePath, ImageSizeArguments args, String metaData, ImageCropData data) +0
Eksponent.CropUp.UmbracoIV.Cropper.OnPreRender(EventArgs e) +664
System.Web.UI.Control.PreRenderRecursiveInternal() +103
System.Web.UI.Control.PreRenderRecursiveInternal() +175
System.Web.UI.Control.PreRenderRecursiveInternal() +175
System.Web.UI.Control.PreRenderRecursiveInternal() +175
System.Web.UI.Control.PreRenderRecursiveInternal() +175
System.Web.UI.Control.PreRenderRecursiveInternal() +175
System.Web.UI.Control.PreRenderRecursiveInternal() +175
System.Web.UI.Control.PreRenderRecursiveInternal() +175
System.Web.UI.Control.PreRenderRecursiveInternal() +175
System.Web.UI.Control.PreRenderRecursiveInternal() +175
System.Web.UI.Control.PreRenderRecursiveInternal() +175
System.Web.UI.Control.PreRenderRecursiveInternal() +175
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2496
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272
Eksponent CropUp problems
Hi,
Not sure if I'm posting in the right place.. but anyway..
I have installed Eksponent CropUp 0.9 on a 4.7.2 installation and can successfully create the data type, set up the config for CropUp and attach the data type to my media type. The problem is when I navigate to a media item, I get an object reference not set error (see below). Has anyone run into this problem or have a fix for it?
Thanks,
Braydie
------------------------------
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:
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272
Turns out I hadn't updated my web.config as per the instructions on the codeplex site.
http://cropup.codeplex.com/
D'oh!
is working on a reply...