Internal Server Error when trying to upload media in v7.4.2
Hey everyone,
I just started using Umbraco and have run into an error when attempting to upload media files in the Media tab. I get an "An error has occurred" message next to the filename of the file that failed to upload.
)]}', {Message: "An error has occurred.",…}
ExceptionMessage
:
"Object reference not set to an instance of an object."
ExceptionType
:
"System.NullReferenceException"
Message
:
"An error has occurred."
StackTrace
:
" at Umbraco.Web.WebApi.Filters.DisableBrowserCacheAttribute.OnActionExecuted(HttpActionExecutedContext actionExecutedContext)
↵ at System.Web.Http.Filters.ActionFilterAttribute.OnActionExecutedAsync(HttpActionExecutedContext actionExecutedContext, CancellationToken cancellationToken)
↵--- End of stack trace from previous location where exception was thrown ---
↵ at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
↵ at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
↵ at System.Web.Http.Filters.ActionFilterAttribute.
The logfile in AppData shows:
2016-03-31 18:39:26,325 [P9052/D3/T47] 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)
Tried a clean install with a new project and all was well, so I'm at a complete loss what the culprit is in the current project. Any pointers would be much appreciated!
Internal Server Error when trying to upload media in v7.4.2
Hey everyone,
I just started using Umbraco and have run into an error when attempting to upload media files in the Media tab. I get an "An error has occurred" message next to the filename of the file that failed to upload.
Console shows:
Network tab shows:
The logfile in AppData shows:
Tried a clean install with a new project and all was well, so I'm at a complete loss what the culprit is in the current project. Any pointers would be much appreciated!
Hello Marshmeryl, you may want to star/vote on this issue:
http://issues.umbraco.org/issue/U4-8239
(I'm having something similar with deploying via Courier)
is working on a reply...