This is a migrated thread and some comments may be shown as answers.

The size of the uploaded file exceeds max size allowed

2 Answers 226 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Charles Faramarzi-rad
Top achievements
Rank 1
Charles Faramarzi-rad asked on 07 Jun 2010, 05:08 PM
Hello there;
We have installed the latest version of the mosseditor in our sharepoint environment. We have ran into the max size issue when trying to upload , for example, wmv files. This particular file is 29 mbs.
I have followed suggestions to modify the Config.xml file <property name="MaxDocumentSize">512000</property>

Also I have modified, or tried to modify the maxRequestLength in our sharepoint web application , however, it was already set to 512000.  After performing these changes, my expectation was to be able to upload the file, however, that is not the case.

please help.

thanks
Charles


2 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 10 Jun 2010, 08:19 AM
Hi Charles Faramarzi-rad,

The default value of the MaxDocumentSize property is 204800 bytes which is 200 kilobytes.
29 megabytes are equal to 30 408 704 bytes so you should set for example:

<property name="MaxDocumentSize">50408704</property>

50 408 704 bytes are 48.0734863 megabytes.

Best wishes,
Rumen
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Charles Faramarzi-rad
Top achievements
Rank 1
answered on 10 Jun 2010, 05:19 PM
Hi;
we've fixed the issue.  we simply needed to modify the

<

 

property name="MaxMediaSize">51200000</property>

 

<

 

property name="MaxFlashSize">51200000</property>

 



in the listconfigfile.xml and configfile.xml in the resource folder.
On a side note, I think it's silly that those properties are no preset or commented out in the confiles, so that we wouldn't have to go digging around the internet to find out the property names.

Also on another note, even though we were able to successfully increase the upload size , We still can't use the media manager and flash manager in SharePoint lists, because sharepoint erases anything with an "<object>" tag.  Very disappointing.  I hope Telerik is working with microsoft on a fix for this.  i've seen posts such as http://erte.codeplex.com/ that suggest this is a deffinite possibility.

thanks
Charles

Tags
Editor
Asked by
Charles Faramarzi-rad
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Charles Faramarzi-rad
Top achievements
Rank 1
Share this question
or