Copied to clipboard

Flag this post as spam?

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


  • Ryszard Seniuta 3 posts 74 karma points
    Oct 23, 2015 @ 12:57
    Ryszard Seniuta
    1

    Error when uploading a file into media

    I installed newest umbraco 7.3 from nuget and installed new database. When I try to add a file via media section in CMS I am getting an error:

    2015-10-23 14:46:59,906 [P11136/D4/T28] ERROR Umbraco.Web.WebApi.Filters.FileUploadCleanupFilterAttribute - Could not acquire actionExecutedContext.Response.Content System.NullReferenceException: Object reference not set to an instance of an object.

  • Richard Hauer 1 post 71 karma points
    Oct 30, 2015 @ 02:32
    Richard Hauer
    0

    This is happening to me as well. On Azure, as a Web App. Local development environment with the same code works fine.

    Investigations are ongoing.

  • Samira 113 posts 449 karma points
    Oct 30, 2015 @ 05:07
    Samira
    0

    Hi

    Yes, don't use 7.3.0, he'll fix it but he's gone on holiday. So, make sure you use:

    Upgrade-Pacakge UmbracoCms -Version 7.2.8

    Grazitti

  • Veronica Burd 76 posts 200 karma points
    Mar 18, 2016 @ 09:00
    Veronica Burd
    0

    I'm seeing the same error in 7.4.1. Will see if an issue has been raised.

    Regards

  • Chris 29 posts 104 karma points
    May 20, 2016 @ 10:01
    Chris
    0

    I am getting this error in Umbraco version 7.4.1 assembly: 1.0.5891.23238 also

        2016-05-20 10:53:12,725 [P8052/D15/T552] ERROR Umbraco.Web.WebApi.Filters.FileUploadCleanupFilterAttribute - Could not acquire actionExecutedContext.Response.Content
    System.NullReferenceException: Object reference not set to an instance of an object.
       at Umbraco.Web.WebApi.Filters.FileUploadCleanupFilterAttribute.OnActionExecuted(HttpActionExecutedContext actionExecutedContext)
    

    Any ideas? Only seems to happen with files over 34mb in size!? This is on our dev environment using IIS express. The process on the live server when published is fine.

  • Veronica Burd 76 posts 200 karma points
    May 20, 2016 @ 10:32
    Veronica Burd
    0

    Have you removed the Size property (alias umbracoBytes) from the media type?

    I got the same error when I removed that field when trying to solve OutOfMemory exceptions for large file uploads (see U4-6809)

    HTH

    Ver

  • Nigel 23 posts 77 karma points
    May 20, 2016 @ 15:44
    Nigel
    1
     <system.web>
    <httpRuntime requestValidationMode="2.0" enableVersionHeader="false" maxRequestLength="204800" executionTimeout="99999" />
    </system.web>
    

    I removed the following attribute to get this working from the httpRuntime node in web.config

    fcnMode="Single"

    and added the following based on other users suggestions

    maxRequestLength="204800" executionTimeout="99999" targetFramework="4.5"

  • Remko 76 posts 196 karma points
    Aug 30, 2016 @ 09:12
    Remko
    1

    Anyone got a solution for this one? It's really frustrating for our client..

  • Casper Thygesen 5 posts 85 karma points
    Dec 08, 2016 @ 15:48
    Casper Thygesen
    0

    "upvote"

  • athul 26 posts 117 karma points
    Feb 06, 2017 @ 03:57
    athul
    0

    Hi all, I am too stuck at same place. Can anyone please post a solution if there is one!!

  • Umair 13 posts 75 karma points
    Mar 15, 2017 @ 03:45
    Umair
    0

    I am getting the same error. Can someone please take a look?

  • mukund rayate 22 posts 172 karma points
    Apr 05, 2017 @ 13:09
    mukund rayate
    0

    I am using Umbraco version 7.4.3 assembly: 1.0.5948.18141 , get error

    Umbraco.Web.WebApi.Filters.FileUploadCleanupFilterAttribute.OnActionExecuted

    while uploading image

    Please Help me out.

  • M N 124 posts 209 karma points
    Jun 02, 2017 @ 17:09
    M N
    0

    Still an issue on 7.5.11 .. Same error as Mukund

    ERROR Umbraco.Web.WebApi.Filters.FileUploadCleanupFilterAttribute - Could not acquire actionExecutedContext.Response.Content System.NullReferenceException: Object reference not set to an instance of an object. at Umbraco.Web.WebApi.Filters.FileUploadCleanupFilterAttribute.OnActionExecuted(HttpActionExecutedContext actionExecutedContext)

    I tried this on another client's site that is still at 7.2.4 and it worked fine.

    Things I've tried -

    • fcnMode I have tried all enums
    • maxRequestLength, executionTimeout, maxAllowedContentLength
    • ImageProcessor configs maxwidth/maxheight on Resize plugin

    Has anyone solved this? Told the client to resize all their images manually before uploading to Umbraco. Sometimes that works lol

    Would it be worth trying to downgrade ImageProcessor back to the one that worked ?

  • Patrick 1 post 20 karma points
    Jun 07, 2017 @ 00:35
    Patrick
    0

    We were having the same issue with 7.5.11 and it turned out to be an issue with access restrictions on the media folder. Needed to give write permissions to the IUSR account.

  • iand123 23 posts 53 karma points
    Jun 29, 2017 @ 11:48
    iand123
    0

    I just had this same problem and found that the Media file had changed permissions and just had read for IIS_Users. Once it had write access i could upload again

  • Brett Spencer 82 posts 251 karma points
    Jul 27, 2017 @ 21:42
    Brett Spencer
    0

    Same issue here. Using v7.6.3

    Weird thing. Using this same property editor (MediaPicker2) with a different custom property editor only different size variations and no problems...

    EDIT:

    I went back and deleted the media type, copied the the other, changed the cropper to the specific one I needed and that worked.

    enter image description here

  • Simon steed 352 posts 640 karma points
    Jan 04, 2018 @ 10:17
    Simon steed
    0

    Has anyone found the source to this issue? I've got the same thing on a clients site running Umbraco 7.2.2, can't use the 'Click to Upload' option (same error message as posted here) but can right click, add a file then upload the media that way.

  • Kevin Thomas 14 posts 93 karma points
    Feb 19, 2018 @ 23:04
    Kevin Thomas
    0

    I was having this issue for an Azure installation, where I could not upload images (ERROR Umbraco.Web.WebApi.Filters.FileUploadCleanupFilterAttribute - Could not acquire actionExecutedContext.Response.Content) and images did not display properly. In my case I had forgotten to add the UmbracoFileSystemProviders.Azure NuGet package

  • Davide Balosetti 33 posts 214 karma points
    6 days ago
    Davide Balosetti
    0

    i got this error also on umbraco 8 and for me was a permssion issue on the media folder

    Davide

Please Sign in or register to post replies

Write your reply to:

Draft