I'm currently trying to upload a .pdf document via the Umbraco back office to the media section of Umbraco. I had some issue with this before and was able to modify the web.config and add these values to the httpruntime node:
However, when I try and upload a file to Umbraco I am now receiving the following error in Umbraco:
Request error: The URL returned a 404 (not found):
/umbraco/backoffice/UmbracoApi/Media/PostSave
with data:
{"key":"contentItem","value":{"id":0,"properties":[{"id":0,"alias":"umbracoFile","value":{"selectedFiles":"perukatalognytlogo_1.pdf"}},{"id":0,"alias":"umbracoExtension","value":""},{"id":0,"alias":"umbracoBytes","value":""}],"name":"Peru Brochure","contentTypeAlias":"File","parentId":5614,"action":"saveNew"}}
Contact your administrator for information.
as well as the following Javascript errors in Firebug:
Any ideas what may be causing this? I am able to upload images fine but cannot do so with files it seems.
It's a known issue when uploading files that includes underscore in the filename. I am not sure if the fix will be included in 7.1.5, but for now you can rename the file.
However, that issue says the problem is when the upload property alias contains an underscore, though you say the problem is when the filename contains an underscore. Not sure if the problem was misstated or if they're different issues.
Turns out this was to do with the file size upload restrictions within IIS. The file uploads correctly now that I have upped this to a size that can never be reached. There are no issues with uploading a file containing an underscore that I have found so far.
Cannot upload files to 7.1.4
Hi all,
I'm currently trying to upload a .pdf document via the Umbraco back office to the media section of Umbraco. I had some issue with this before and was able to modify the web.config and add these values to the httpruntime node:
maxRequestLength="300000" executionTimeout="99999"
However, when I try and upload a file to Umbraco I am now receiving the following error in Umbraco:
as well as the following Javascript errors in Firebug:
Any ideas what may be causing this? I am able to upload images fine but cannot do so with files it seems.
Hi Jason
It's a known issue when uploading files that includes underscore in the filename. I am not sure if the fix will be included in 7.1.5, but for now you can rename the file.
/ Bjarne
I think it also happens with other characters : http://issues.umbraco.org/issueMobile/U4-5139
There is an issue due to be fixed in 7.2 (not 7.1.5): http://issues.umbraco.org/issue/U4-4483
However, that issue says the problem is when the upload property alias contains an underscore, though you say the problem is when the filename contains an underscore. Not sure if the problem was misstated or if they're different issues.
Turns out this was to do with the file size upload restrictions within IIS. The file uploads correctly now that I have upped this to a size that can never be reached. There are no issues with uploading a file containing an underscore that I have found so far.
is working on a reply...