Image of size more than 3 MB not getting uploaded using webservices .asmx - silverlight-3.0

I am trying to upload images using a webservice from silverlight. I am first converting the images into stram of bytes and then trying to upload them. I am able to upload image of size 2.5 MB. But not more than that.It gives me "The remote server returned an error: NotFound" error.
What could be the reason.

In your web.config file, in your system.web section, try:
<httpRuntime executionTimeout="180" maxRequestLength="4096" requestLengthDiskThreshold="1" />
This will allow files up to 4Mb.

Related

How to upload file size > 2GB using fsharp.data

I followed this document for handling multipart form data
I can upload ok with file size below 2GB. With the size is greater than 2GB, the application sends nothing.
Does anyone have experience in uploading large files using fsharp.data?

Umbraco upload large files in media

I have a requirements that the admin panel of Umbraco needs to be able to upload large files of videos such as a 2gb, 4gb.. I heard that .Net has a limit of 4gb or 2gb of upload (correct me if I'm wrong). So basically I already changed the maxAllowedContentLength such as below
<!-- Max file size limitation -->
<security>
<requestFiltering>
<requestLimits maxAllowedContentLength="4257286400" />
</requestFiltering>
</security>
and because there are limits to the duration and upload size I also adjusted the execution time
<httpRuntime maxRequestLength="4257286400" executionTimeout="9999999" requestValidationMode="2.0" enableVersionHeader="false" targetFramework="4.5" />
Now the problem is when I try to upload a 1gb of file the page just keeps on loading and nothing happens when I try to turn on debug logs I can see that it's being canceled due to large files. Now I don't know how to solve this as I really need for the user to be able to upload large files.
The option of uploading the file to a different site like youtube or vimeo is not an option. I really need to upload it to the site directly. Is there a way to achieve this in Umbraco?
Note: I already used some package available but none work like
Import Media - Already installed this but I don't know how it works. Like there are no new feature on the admin panel so I don't know what to look for here
Would really appreaciate some help here. I just want to be able to upload large files in Umbraco
Just to summarize this:
How to upload Large file in Umbraco Backend-Office because my settings is not allowing me to do so. Minimum filesize is 2gb
How to use Import Media Package if anyone have a chance to use this
Looks like the issue is caused by different dimensions for values in attributes:
1) "maxAllowedContentLength" specifies the maximum length of content in a request, in bytes (uint): https://learn.microsoft.com/en-us/iis/configuration/system.webserver/security/requestfiltering/requestlimits/
2) "maxRequestLength" sets the maximum request size in kilobytes(Int32):
https://learn.microsoft.com/en-us/dotnet/api/system.web.configuration.httpruntimesection.maxrequestlength?view=netframework-4.8
What kind of error message are you getting about uploads "being canceled due to large files"?
AFAIK Umbraco doesn't have these kinds of limits by itself, it's all managed by IIS via the settings you've already found.
However I do seem to recall something about machine.config that might also set some of these properties and thus trump your local website settings. So that's something to check if you have access to that file (it'll be somewhere like C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config). Otherwise you might want to contact some hosting administrator/support and ask if there's a global limit set.

nopcommerce 3.60 slider image upload error

I am developing web application with nopcommerce 3.60.I am tried to upload image for slider image from : Plugins/7Spike-Plugins/ nop anywhere sliders / Manage Sliders. and i am getting error "Upload failed".Its working perfectly on local host.Any thing i missed to set up on server or may be there is setting in nop-nopcommerce admin.Here is a screen shot.
Have you checked your system logs? I means from System > Log ?
Check the maximum upload file size and also write access to the folder in which the image upload
I found a solution.I just upload Image on local side and then publish local code to sever with uploaded images and latest database.So for now its fixed.

Download is never complete when I'm downloading from internet

I'm developping a download application, for that I use Get method of IdHTTP Indy component, now the problem I'm facing is:
When I download a file that has a small size, the download is complete, but when I download a big file it is never complete! the download is always broken. for example for a file that has a size of 100 MB, I get only 50 MB, and this is always the case. And in many times I get an exception such as:"Access denied", "GMT is not a valid integer value" ...
Why does this happen? is it relevant to the component itself? or should I add something to my code?
PS: there is no issue when I download from the local server, the download is uncomplete only when I'm downloading from internet.
Thanks.

Sporadically images uploaded to S3 with aws-s3 & paperclip gems have a AccessDenied error when trying to view them. 99% work fine though?

I am using the aws-s3 & paperclip gems to upload images from my Rails app.
The images always get uploaded correctly, and 99% of the images can be viewed fine from my web-app.
But sometimes, an image won't load. If I paste the url into the brower, I get an error:
<Error>
<Code>AccessDenied</Code>
<Message>Access Denied</Message>
<RequestId>value_here</RequestId>
− <HostId>
value_here
</HostId>
</Error>
I don't know why this is happening, as the same code is being used to upload every image.
When I go to the AWS console I can open the image from there fine. I can't see anything different with the images that don't work. Here's a screenshot of the permissions of one of the images that doesn't work, from what I can tell they're the same as the other images:
What is causing this problem?
Edit:
Some more detail. You can upload an image 2 ways in my app, either by file upload or by providing an image URL. Both methods work fine 99% of the time.
I get the access denied error everytime I try to upload this file by providing the url:
http://www.quadrant.org.au/img/content/Jan%20Feb%202011/True%20Grit.jpg
If I save the image to my computer, and do a file upload, it works fine.

Resources