Thanks so much for the reply and the updated .dll.
The size of the mp4 file is 36MB, not too big.
I have tried again with the updated .dll but had no luck. It seems that once the upload commences that the website in question cannot be loaded in the browser (frontend). I can load the site in another browser no problem. I've tried this same procedure in different browsers with same results. It gets to 100% and hangs at that stage. The old .dll would have probably timed out and thrown the error at this stage.
Very strange, I'll have a dig further.
Currently tried it in Chrome 30.0.1599.69 m, and IE 10. Same results.
Cannot close stream until all bytes are written
Hi Ali,
Came across a problem when uploading a media item (.mp4) file to S3 from the media section.
Getting an error message:
"cannot close stream until all bytes are written"
It creates the correct folder/file in the media folder (locally) but not on S3.
I've tried to upload a .jpg file and that worked no problem, both are created locally and on S3.
Wondering if you came across this?
Running Umbraco 6.1.1.
Let me know if you need more information.
Vincent
Hi Vincent,
I've not had that problem before but can you tell me what's the size of mp4?
Cheers
Ali
Hi Vincent,
I've updated the timeout setting for S3.
Pleaes download the following zip file extract the content in the bin folder of your project.
Zip Content
Hope it helps.
Cheers
Ali
Hi Ali,
Thanks so much for the reply and the updated .dll.
The size of the mp4 file is 36MB, not too big.
I have tried again with the updated .dll but had no luck. It seems that once the upload commences that the website in question cannot be loaded in the browser (frontend). I can load the site in another browser no problem. I've tried this same procedure in different browsers with same results. It gets to 100% and hangs at that stage. The old .dll would have probably timed out and thrown the error at this stage.
Very strange, I'll have a dig further.
Currently tried it in Chrome 30.0.1599.69 m, and IE 10. Same results.
Vincent
Hi Vincent,
Can you try this?
first add
then try:
To solve this issue navigate to your inetsrv folder in your windows folder.
and run this code
sitename is the name you gave your site in IIS7, and size in bytes is well the maximum upload size in bytes.
and please let me know the result
Thanks
Ali
Hi Vincent,
Any update on this?
Cheers
Ali
Hi Ali,
I'm sorry but I didn't have a time to look at this yet.
I really appreciate the help so far and will get back to you as soon as I can within the next couple of days.
Thanks again,
Vincent
Hi Ali,
That worked a treat. Had to use IIS to change the settings instead of using command line.
Seems like the web.config wasn't having any effect and something was overwritting it.
Your updated .dll also helped greatly.
Thank you for all the help.
Vincent
Hi Vincent,
I am glad that helped. :)
It would be perfect if you could share how you managed to change the setting through IIS!
Cheers
Ali
is working on a reply...