There's nothing in the logs - in fact when I leave it open in notepad and perform upload image again through the Media section, it doesn't even attempt to reload the file so clearly isn't being written to.
Hi Rick,
do you have access to the event logs of your server?
And if so please check with event viewer warnings for ASP.NET... in section Windows Logs > Application. There should be some details about the 500 error.
Meanwhile I have checked Umbarco version 7.2.6 with this package version 1.0.10.5 (recent nuget version but download version 1.0.10.4 should be fine too) and it works.
It's strange because there are no errors/warnings that are outputted to the event logs.
However, when I open the developer tools in Chrome I see this error:
{"Message":"An error has occurred.","ExceptionMessage":"Object reference not set to an instance of an object.","ExceptionType":"System.NullReferenceException","StackTrace":" at Umbraco.Web.WebApi.Filters.FileUploadCleanupFilterAttribute.OnActionExecuted(HttpActionExecutedContext actionExecutedContext)\r\n at System.Web.Http.Filters.ActionFilterAttribute.CallOnActionExecuted(HttpActionContext actionContext, HttpResponseMessage response, Exception exception)\r\n at System.Web.Http.Filters.ActionFilterAttribute.<>cDisplayClass2.1(CatchInfo1 info)\r\n at System.Threading.Tasks.TaskHelpersExtensions.<>c__DisplayClass41.
I also have uCommerce running in this installation - could this be related?
Hi Rick,
sorry I have no experience with uCommerce and this package.
I suggest you try out your configuration / environment with a blank Umbraco installation only with this package. If it works another package is probably causing the error.
Or you ask uCommerce support for known issues.
i get that exact same Exception when i try to upload an image in the backoffice since i switched from the standard provider to AzureBlobStorageProvider.
I do have the targetFramework defined.
I also tried all this in a new clean Umbraco project and then everything works fine.
Using UmbracoAzureBlobStorage Version 1.0.10.4. The Standard FileSystemProvider works.
We have adapted the Media Types a bit (added Properties).
I have the same error than Rick, but httpRuntime is configured... Locally, "the upload" works but it's because the azure sdk does a redirect to 127.0.0.1:10000 (see image)
I have the same error 500. How can I get more info ?
Cannot create image in Umbraco
Hi,
I'm using Umbraco 7.2.6 and I have installed Azure Blob Storage Prodiver.
I've followed the documentation but I am unable to create images in the media section of Umbraco.
My FileSystemProviders.config looks like this (where "xxx" equals the AccountName and "yyy" is my primary access key:
I have created a container in my storage account called "media" and this is a public container.
I've also "touched" web.config for the changes to take effect.
Now when I try and create a new image in the Umbraco media section, I get the error message in my console - and nothing further happens:
I can confirm that if I revert back to the default FileSystemProviders.config that ships with Umbraco, it creates the image as normal.
Is there some configuration that I may have missed?
Thanks,
Rick
Do you see anything interesting in the Umbraco logs at
App_Data/Logs
? You might be able to get some details about that Internal Server Error.Thanks for the reply Mark...
There's nothing in the logs - in fact when I leave it open in notepad and perform upload image again through the Media section, it doesn't even attempt to reload the file so clearly isn't being written to.
Rick
Hi Rick, do you have access to the event logs of your server? And if so please check with event viewer warnings for ASP.NET... in section Windows Logs > Application. There should be some details about the 500 error.
KR Dirk
Meanwhile I have checked Umbarco version 7.2.6 with this package version 1.0.10.5 (recent nuget version but download version 1.0.10.4 should be fine too) and it works.
Hi Dirk,
It's strange because there are no errors/warnings that are outputted to the event logs.
However, when I open the developer tools in Chrome I see this error:
{"Message":"An error has occurred.","ExceptionMessage":"Object reference not set to an instance of an object.","ExceptionType":"System.NullReferenceException","StackTrace":" at Umbraco.Web.WebApi.Filters.FileUploadCleanupFilterAttribute.OnActionExecuted(HttpActionExecutedContext actionExecutedContext)\r\n at System.Web.Http.Filters.ActionFilterAttribute.CallOnActionExecuted(HttpActionContext actionContext, HttpResponseMessage response, Exception exception)\r\n at System.Web.Http.Filters.ActionFilterAttribute.<>cDisplayClass2.1(CatchInfo
1 info)\r\n at System.Threading.Tasks.TaskHelpersExtensions.<>c__DisplayClass4
1.I also have uCommerce running in this installation - could this be related?
Thanks for the support.
Rick
Hi Rick, sorry I have no experience with uCommerce and this package. I suggest you try out your configuration / environment with a blank Umbraco installation only with this package. If it works another package is probably causing the error. Or you ask uCommerce support for known issues.
Dirk
Hi,
Fresh day - fresh pair of eyes...
I installed a web matrix version of 7.2.6 and used Beyond Compare to compare my web.config and the web matrix 7.2.6 web config.
It appears I was missing targetFramework="4.5" on httpRuntime.
My web.config:
7.2.6 web.config:
I'm not sure how/why my installation was missing this but I can confirm it is now working with the targetFramework="4.5" attribute added.
Apologies to lead you down the wrong path!
Thanks,
Rick
Hi,
i get that exact same Exception when i try to upload an image in the backoffice since i switched from the standard provider to AzureBlobStorageProvider.
I do have the targetFramework defined.
I also tried all this in a new clean Umbraco project and then everything works fine.
Using UmbracoAzureBlobStorage Version 1.0.10.4. The Standard FileSystemProvider works.
We have adapted the Media Types a bit (added Properties).
Any hints maybe?
Thanks in advance, Markus
Hi,
I have the same error than Rick, but httpRuntime is configured... Locally, "the upload" works but it's because the azure sdk does a redirect to 127.0.0.1:10000 (see image)
I have the same error 500. How can I get more info ?
Here the config:
On web.config:
On Azure :
Containers:
Where should be idseefeld.de.UmbracoAzure.AzureBlobFileSystem, idseefeld.de.UmbracoAzure ?
I can't see it in my solution on Visual studio ....
Thx for your help !
I use umbraco 7.3
is working on a reply...