Don't miss out Virtual Happy Hour this Friday (April 26).

Try our conversational search powered by Generative AI!

413.1 Error (Request Entity Too Large) importing data

Vote:
 

I keep getting a 413.1 Error (Request Entity Too Large) when importing data in the Admin, Tools section.  I've increased the limit in applicationhost.config and set maxRequestEntityAllow and uploadReadAheadSize to 2147483647, the max value.  I've restarted the site multiple times.  I can't get dev and stage data synced with production w/o being able to do this step.  What else can I look at?

Thanks,

Tim

#216199
Jan 29, 2020 16:02
Vote:
 

You probably want to set

<system.web>

      <httpRuntime maxRequestLength="51200" executionTimeout="3600" />
</system.web>

and

<system.webServer>

       <security>
              <requestFiltering>
                     <requestLimits maxAllowedContentLength="334217728" />
              </requestFiltering>
       </security>
</system.webServer>

as well

#216225
Jan 30, 2020 7:40
Vote:
 

I was able to Import and Export 1658 Content items with export file size 536MB. Pls update web.config with above settings.

#216237
Edited, Jan 30, 2020 13:54
Vote:
 

maxRequestLength is my best guess as well as above with Quan

#216246
Jan 30, 2020 15:32
Vote:
 

That's usually what I had to change on other sites when this error would pop up, but it's not working here.  I've restarted the site multiple times, verifed settings in Configuration Manager in IIS.  

I can try a smaller data export.  I exported all data types, but can just try content items to see if a smaller file works.  The full export was 1.3GB.

#216247
Edited, Jan 30, 2020 15:37
Vote:
 

Doing small chunks (one node/page and dependent content) at a time works.  

#216254
Jan 30, 2020 20:17
Vote:
 

Spoke too soon.  700MB file failed, but less than 20MB worked.  Will have to see if I can narrow down closer to the size where things fail.

#216255
Jan 30, 2020 20:31
Vote:
 

How about a database export (bacpac) route instead of importing content? Is that an option?

#216327
Feb 03, 2020 23:55
Vote:
 

That's what I ended up having to do and that didn't bring everything over.  Had to export content items individually (as long as they remained small) to get images, etc.  Not sure why a database export/import didn't bring over everything.  Still learning Episerver...

#216347
Feb 04, 2020 13:35
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.