EPiServer: Problems importing data — POST fails

by Stephen Horsfield 18. January 2008 10:47

Overview

I've been importing a live EPiServer site into a development environment for further work.  Normally, this works without problem, but this time I've been getting a POST error, but nothing informative.  What's happening?

Solution

A quick look at the event logs on the IIS server quickly identifies the problem: the file exceeds the upload limit.  Of course this is less likely to happen in a normal development run, but once there is a fair amount of data it fails.  If I hadn't spotted the error in the event log, I might have been stuck for some time.

The default ASP.NET upload limit is 4 MB, so if you need more you will have to change the web.config settings.  The element you have to change is the maxRequestLength attribute on the <system.web><httpRuntime> element.  The size is specified in KB, so for a 32 MB limit, use the following:

<system.web>
  <httpruntime maxrequestlength="32768" />
</system.web>

References

Versions

Metadata

Tags:

ASP.NET | EPiServer | Software Development | Windows Server | Windows XP

Powered by BlogEngine.NET 1.5.0.7
Theme by Interakting

Interakting

A full service digital agency offering online strategy, design and usability, systems integration and online marketing services that deliver real business benefits and ensure your online objectives are met.

Calendar

<<  September 2010  >>
MoTuWeThFrSaSu
303112345
6789101112
13141516171819
20212223242526
27282930123
45678910

View posts in large calendar