I'm getting this stange error when trying to upload a file which ive just deployed to a staging server. This error appears using the upload data type.
Using umbraco 7.1.4 on IIS8
Also, I cant even upload directly to the media section, however no error appears there - the thumbnail appears briefly, then disappears.
Any ideas would be much appreciated.
The process cannot access the file 'C:\WWWROOT\ ... \App_Data\TEMP\FileUploads\BodyPart_1f60452e-54e5-450f-b141-ad067231d74b' because it is being used by another process.
Stack Trace:
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.File.InternalDelete(String path, Boolean checkHost)
at Umbraco.Web.WebApi.Filters.FileUploadCleanupFilterAttribute.OnActionExecuted(HttpActionExecutedContext actionExecutedContext)
at System.Web.Http.Filters.ActionFilterAttribute.CallOnActionExecuted(HttpActionContext actionContext, HttpResponseMessage response, Exception exception)
at System.Web.Http.Filters.ActionFilterAttribute.<>c__DisplayClass2.<System.Web.Http.Filters.IActionFilter.ExecuteActionFilterAsync>b__1(CatchInfo`1 info)
at System.Threading.Tasks.TaskHelpersExtensions.<>c__DisplayClass4`1.<Catch>b__3()
at System.Threading.Tasks.TaskHelpersExtensions.CatchImpl[TResult](Task task, Func`1 continuation, CancellationToken cancellationToken)
EDIT: I have just deployed a clean install of 7.1.4 on the staging server to test (dedicated VM) - and still have errors when uploading media to the media section.
it uploads the first file just fine, then errors on any subsequent loads:
What kind of file is it you're uploading? And is it being uploaded using the media section or in another fashion? How much does the file weigh? And what exact version of Umbraco 7 are you using?
In my case, the client was uploading images (jpegs & png). They were uploading them to an Umbraco.ImageCropper data type with a few different crop sizes (3-4). Each of the files were medium size, 2-3mb each, and this tended to happen when multiple images were added at once. Not sure if it happens for single images at a time. The version is 7.2.0.
Ok, I think that this issue might be related to this one http://issues.umbraco.org/issue/U4-4049 which is in progress and should be fixed in the upcoming 7.2.2 release.
So it's seems like it's a known bug. I suggest you try and upgrade once 7.2.2 is released in final :)
Error when uploading file on v 7.1.4
I'm getting this stange error when trying to upload a file which ive just deployed to a staging server. This error appears using the upload data type.
Using umbraco 7.1.4 on IIS8
Also, I cant even upload directly to the media section, however no error appears there - the thumbnail appears briefly, then disappears.
Any ideas would be much appreciated.
The process cannot access the file 'C:\WWWROOT\ ... \App_Data\TEMP\FileUploads\BodyPart_1f60452e-54e5-450f-b141-ad067231d74b' because it is being used by another process.
Stack Trace:
EDIT: I have just deployed a clean install of 7.1.4 on the staging server to test (dedicated VM) - and still have errors when uploading media to the media section.
it uploads the first file just fine, then errors on any subsequent loads:
POST http://fourpillars-1-full.v.herbertdigital.com/umbraco/backoffice/UmbracoApi/Media/PostAddFile 500 (Internal Server Error)
i added an upload datatype to check as well, and it throws the following error:
Server error: Contact administrator, see log for full details.
The process cannot access the file 'C:\WWWROOT\fourpillars-1-full\App_Data\TEMP\FileUploads\BodyPart_7ed06309-1db9-4563-b8f1-2c10a31404a5' because it is being used by another process.
btw - uploading works fine on my local machine - this error is only evident on the staging server.
---
in addition to the above, there is this error when viewing the media section in console - would be related to why no images are visible i assume
RangeError: Maximum call stack size exceeded at http://fourpillars-full.v.herbertdigital.com/umbraco/lib/underscore/underscore.js at Array.forEach (native) at _.each._.forEach (http://fourpillars-full.v.herbertdigital.com/umbraco/lib/underscore/underscore.js:78:11) at Function._.min (http://fourpillars-full.v.herbertdigital.com/umbraco/lib/underscore/underscore.js:267:5) at Object.getMaxScaleableHeight (http://fourpillars-full.v.herbertdigital.com/umbraco/js/umbraco.services.js:7162:36) at Object.getRowHeightForImages (http://fourpillars-full.v.herbertdigital.com/umbraco/js/umbraco.services.js:7016:43) at Object.getRowHeightForImages (http://fourpillars-full.v.herbertdigital.com/umbraco/js/umbraco.services.js:7078:29) at Object.getRowHeightForImages (http://fourpillars-full.v.herbertdigital.com/umbraco/js/umbraco.services.js:7031:37) at Object.getRowHeightForImages (http://fourpillars-full.v.herbertdigital.com/umbraco/js/umbraco.services.js:7078:29) at Object.getRowHeightForImages (http://fourpillars-full.v.herbertdigital.com/umbraco/js/umbraco.services.js:7031:37) at Object.getRowHeightForImages (http://fourpillars-full.v.herbertdigital.com/umbraco/js/umbraco.services.js:7078:29)
Anyone else experience this. I have it happening on a production instance...
Hi Karl
What kind of file is it you're uploading? And is it being uploaded using the media section or in another fashion? How much does the file weigh? And what exact version of Umbraco 7 are you using?
/Jan
In my case, the client was uploading images (jpegs & png). They were uploading them to an Umbraco.ImageCropper data type with a few different crop sizes (3-4). Each of the files were medium size, 2-3mb each, and this tended to happen when multiple images were added at once. Not sure if it happens for single images at a time. The version is 7.2.0.
Hi Karl
Ok, I think that this issue might be related to this one http://issues.umbraco.org/issue/U4-4049 which is in progress and should be fixed in the upcoming 7.2.2 release.
So it's seems like it's a known bug. I suggest you try and upgrade once 7.2.2 is released in final :)
/Jan
Excellent! I look fwd to the 7.2.2 release :)
is working on a reply...