Portal Engine
Version 3.x > Portal Engine > content sync with large files View modes: 
User avatar
Member
Member
jonathanchauncey-fdle.state.fl - 12/1/2008 9:16:33 AM
   
content sync with large files
I have several 10 and 12 meg word docs that I need to publish to our production servers, however, I am receiving the following message when it fails.

Synchronization client error: Exception occured: The request failed with HTTP status 400: Bad Request.

I have upped the metabase.xml file on all servers to 1638400 (it is set to this value in both dev and production) which is about 16 megs. Now I can upload the files no problem in our dev system, however, when I try to upload the files directly into production I receive this error -

Maximum request length exceeded.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Web.HttpException: Maximum request length exceeded.

[HttpException (0x80004005): Maximum request length exceeded.]
System.Web.HttpRequest.GetEntireRawContent() +3315778
System.Web.HttpRequest.GetMultipartContent() +56
System.Web.HttpRequest.FillInFormCollection() +222
System.Web.HttpRequest.get_Form() +65
System.Web.HttpRequest.get_HasForm() +3309630
System.Web.UI.Page.GetCollectionBasedOnMethod(Boolean dontReturnNull) +45
System.Web.UI.Page.DeterminePostBackMode() +65
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +133


Which is really strange. Do you guys have any suggestions?

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 12/2/2008 5:08:38 AM
   
RE:content sync with large files
Hi,

Could you please increase the maximum request length in the web.config file:

<httpRuntime maxRequestLength="10000" />

You need to enter/change the integer number (in KB).

Best Regards,
Juraj Ondrus

User avatar
Member
Member
merete-grape - 11/18/2010 4:32:55 AM
   
RE:content sync with large files
What is the largest single file-upload without doing changes in web.config?

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 11/18/2010 5:12:00 AM
   
RE:content sync with large files
Hi,

This depends on the default settings in your web.config file. It could be different. In Kentico CMS is the default value right now set to 2GB I think.

Best regards,
Juraj Ondrus